/* Centrul Respiro Giarmata — stil cald, primitor, accesibil */
:root {
  --bg: #FFF9F1;
  --surface: #FFFFFF;
  --alt: #FBF1E3;
  --ink: #2A2622;
  --muted: #62574C;
  --primary: #2E6B57;
  --primary-dark: #1F4E3F;
  --primary-soft: #E3F0E8;
  --accent: #D97F3A;
  --accent-soft: #FBE7D0;
  --line: #EADFCE;
  --focus: #1A56DB;
  --radius: 18px;
  --shadow: 0 6px 24px rgba(74, 52, 24, .08);
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-head: Georgia, "Times New Roman", serif;
  --c1: #2E6B57;
  --c2: #E9994F;
}
html { font-size: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
html.fs--1 { font-size: 90%; }
html.fs-1 { font-size: 112.5%; }
html.fs-2 { font-size: 125%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.7; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-dark); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .6em; color: var(--primary-dark); }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.container { width: min(1140px, 100% - 2rem); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--primary-dark); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }
.ico { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.2em; }

/* ---- Header ---- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 249, 241, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: .5rem 1rem; min-height: 68px; flex-wrap: wrap; }
.brand { white-space: nowrap; display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--primary-dark); }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--primary); color: #fff; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; font-family: var(--font-head); }
.brand-text strong { font-size: 1.15rem; }
.brand-text small { font-size: .9rem; color: var(--accent); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-family: var(--font); }
.nav { display: flex; align-items: center; gap: .25rem; flex-wrap: wrap; justify-content: flex-end; }
.nav a { white-space: nowrap; text-decoration: none; padding: .5rem .65rem; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: .98rem; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--primary-soft); color: var(--primary-dark); }
.nav a.btn { color: #fff; margin-left: .4rem; }
.nav a.btn:hover { background: var(--primary-dark); color: #fff; }
.nav-toggle { display: none; background: none; border: 2px solid var(--primary); color: var(--primary-dark); border-radius: 12px; padding: .45rem; cursor: pointer; }
.nav-toggle .shut { display: none; }
.nav-toggle[aria-expanded="true"] .open { display: none; }
.nav-toggle[aria-expanded="true"] .shut { display: inline; }
@media (max-width: 1120px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--bg); border-bottom: 1px solid var(--line); padding: .75rem 1rem 1rem; display: none; box-shadow: var(--shadow); }
  .js .nav.is-open { display: flex; }
  html:not(.js) .nav { position: static; display: flex; flex-wrap: wrap; }
  .nav a { padding: .8rem 1rem; }
  .nav a.btn { margin: .4rem 0 0; text-align: center; justify-content: center; }
}

/* ---- Butoane ---- */
.btn { display: inline-flex; align-items: center; gap: .55rem; padding: .85rem 1.5rem; border-radius: 999px; background: var(--primary); color: #fff; text-decoration: none; font-weight: 700; border: 2px solid var(--primary); cursor: pointer; font: inherit; font-weight: 700; line-height: 1.2; transition: background .2s, transform .2s; }
.btn:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--primary-dark); }
.btn-ghost:hover { background: var(--primary); color: #fff; }
.btn-small { padding: .55rem 1.1rem; font-size: .95rem; }

/* ---- Hero ---- */
.hero { padding: 3rem 0 2rem; background: radial-gradient(1200px 500px at 85% -10%, var(--accent-soft), transparent 60%), var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; font-weight: 700; color: var(--accent); margin: 0 0 .6rem; }
.lead { font-size: 1.3rem; color: var(--muted); max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }
.hero-visual img, .hero-art { width: 100%; border-radius: 28px; box-shadow: var(--shadow); }
.hero-visual img { aspect-ratio: 9/7; object-fit: cover; }
.quick-stats { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.quick-stats li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem; box-shadow: var(--shadow); }
.quick-stats strong { display: block; font-family: var(--font-head); font-size: 2.2rem; color: var(--primary); line-height: 1.1; }
.quick-stats span { color: var(--muted); font-size: .95rem; line-height: 1.4; display: block; margin-top: .3rem; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 520px; }
  .quick-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Secțiuni ---- */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--alt); }
.section-head { max-width: 760px; margin-bottom: 2.2rem; }
.section-head h2 { margin-bottom: .35em; }
.section-lead { font-size: 1.15rem; color: var(--muted); }
.row-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; max-width: none; flex-wrap: wrap; }
.sub-h { margin-top: 2.6rem; }
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.prose p { max-width: 68ch; }
.callout { background: var(--primary-soft); border-radius: var(--radius); padding: 1.5rem 1.6rem; border: 1px solid #CFE3D6; }
.callout h3 { margin-bottom: .6rem; }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding-left: 1.8rem; margin-bottom: .55rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 1rem; height: 1rem; border-radius: 50%; background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/70% no-repeat; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.card-ico { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--accent-soft); color: var(--accent); margin-bottom: 1rem; }
.card-ico .ico { width: 26px; height: 26px; }
.pillars, .two-cards, .feature-row { display: grid; gap: 1.25rem; }
.pillars { grid-template-columns: repeat(3, 1fr); }
.two-cards { grid-template-columns: repeat(2, 1fr); }
.feature-row { grid-template-columns: repeat(3, 1fr); margin-top: 2.2rem; }
@media (max-width: 900px) { .pillars, .two-cards, .feature-row { grid-template-columns: 1fr; } }
.feature { padding: .5rem 0; }
.note { margin-top: 1.5rem; color: var(--muted); }
.source { color: var(--muted); font-size: .92rem; margin-top: 1.5rem; }
.empty { padding: 2rem; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); text-align: center; }

/* ---- Nevoia ---- */
.need-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 1rem; }
.need-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; display: flex; flex-direction: column; gap: .3rem; }
.need-card .big { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3rem); color: var(--primary); line-height: 1; }
.need-big { background: var(--primary); border-color: var(--primary); }
.need-big .big, .need-big span { color: #fff; }
.need-zero { background: var(--accent-soft); border-color: #F1CFA9; }
.need-zero .big { color: #A5541C; }
@media (max-width: 900px) { .need-grid { grid-template-columns: 1fr 1fr; } .need-big { grid-column: 1 / -1; } }
.coverage { margin-top: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.coverage-bar { height: 18px; border-radius: 999px; background: #EFE3D0; overflow: hidden; margin-bottom: 1rem; }
.coverage-bar span { display: block; height: 100%; width: var(--w); background: var(--accent); border-radius: 999px; min-width: 10px; }
.coverage p { margin: 0; }

/* ---- Tab-uri ---- */
.tablist { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.2rem; }
.tablist button { display: inline-flex; align-items: center; gap: .55rem; padding: .7rem 1.1rem; border-radius: 999px; border: 2px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; transition: all .2s; }
.tablist button:hover { border-color: var(--primary); }
.tablist button[aria-selected="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }
.tablist .ico { width: 1.15em; height: 1.15em; }
.js .panel[hidden] { display: none; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); animation: fade .35s ease; }
html:not(.js) .panel { margin-bottom: 1rem; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.panel h3 { margin-bottom: .5rem; }
.panel p:last-child, .panel ul:last-child { margin-bottom: 0; }
.steps .tablist button b { display: inline-grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--accent-soft); color: #A5541C; font-size: .95rem; }
.steps .tablist button[aria-selected="true"] b { background: #fff; color: var(--primary-dark); }
.steps-list { padding-left: 1.3rem; }
.steps-list li { margin-bottom: .5rem; padding-left: .3rem; }
.space-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; }
.space-list li { display: flex; gap: 1rem; align-items: flex-start; }
.space-list .ico { width: 2.6rem; height: 2.6rem; padding: .6rem; border-radius: 14px; background: var(--primary-soft); color: var(--primary); }
.space-list strong { display: block; }
.space-list span { color: var(--muted); font-size: .97rem; line-height: 1.5; display: block; }

/* ---- Galerie ---- */
.gallery { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.gallery a { display: block; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(20, 16, 12, .92); display: grid; place-items: center; padding: 1rem; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 96vw; }
.lightbox img { max-height: 82vh; width: auto; margin-inline: auto; border-radius: 10px; }
.lightbox figcaption { color: #fff; text-align: center; margin-top: .8rem; }
.lightbox button { position: absolute; background: rgba(255,255,255,.14); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 1.6rem; line-height: 1; }
.lightbox button:hover { background: rgba(255,255,255,.28); }
.lb-close { top: 1rem; right: 1rem; } .lb-prev { left: 1rem; } .lb-next { right: 1rem; }

/* ---- Cronologie ---- */
.timeline { list-style: none; margin: 0; padding: 0; max-width: 860px; }
.timeline li { position: relative; padding-left: 2.6rem; }
.timeline li::before { content: ""; position: absolute; left: 11px; top: 30px; bottom: -6px; width: 3px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 1rem; box-shadow: var(--shadow); }
.timeline summary { list-style: none; cursor: pointer; display: block; padding: 1.1rem 1.3rem; font-weight: 700; font-size: 1.1rem; color: var(--primary-dark); position: relative; }
.timeline summary::-webkit-details-marker { display: none; }
.timeline summary small { display: block; color: var(--accent); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
.timeline summary .tl-dot { position: absolute; left: -2.6rem; top: 1.25rem; width: 26px; height: 26px; border-radius: 50%; background: var(--primary); border: 5px solid var(--bg); box-shadow: 0 0 0 2px var(--primary); }
.timeline summary .tl-last { background: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.section-alt .timeline summary .tl-dot { border-color: var(--alt); }
.timeline summary .chev { position: absolute; right: 1.2rem; top: 1.5rem; transition: transform .2s; color: var(--muted); }
.timeline details[open] .chev { transform: rotate(180deg); }
.timeline details p { padding: 0 1.3rem 1.2rem; margin: 0; color: var(--muted); }

/* ---- Rezultate / tabele / buget ---- */
.result-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.result { background: var(--surface); border-radius: var(--radius); padding: 1.2rem 1.3rem; border: 1px solid var(--line); }
.result strong { display: block; font-family: var(--font-head); font-size: 2rem; color: var(--primary); line-height: 1.1; }
.result span { color: var(--muted); font-size: .97rem; line-height: 1.4; display: block; margin-top: .3rem; }
@media (max-width: 900px) { .result-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .result-grid { grid-template-columns: 1fr; } }
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-top: 1.2rem; }
table.data { width: 100%; border-collapse: collapse; font-size: .98rem; min-width: 640px; }
table.data th, table.data td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data thead th { background: var(--primary); color: #fff; font-weight: 700; white-space: nowrap; }
table.data tr:last-child > * { border-bottom: 0; }
table.data .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.data tbody th[scope="row"] { font-weight: 600; }
table.data tr.grp th { background: var(--accent-soft); color: #7A3F10; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
table.data tr.tot > * { background: var(--primary-soft); font-weight: 800; }
.budget-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.4rem; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.kpi small { color: var(--muted); display: block; }
.kpi strong { font-family: var(--font-head); font-size: 1.45rem; color: var(--primary-dark); display: block; font-variant-numeric: tabular-nums; }
.kpi-hi { background: var(--primary); border-color: var(--primary); }
.kpi-hi small, .kpi-hi strong { color: #fff; }
@media (max-width: 900px) { .budget-kpis { grid-template-columns: 1fr 1fr; } }
.budget { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.budget-controls { display: flex; gap: .6rem; margin-bottom: 1rem; flex-wrap: wrap; }
.chip { padding: .5rem 1.1rem; border-radius: 999px; border: 2px solid var(--line); background: var(--bg); font: inherit; font-weight: 600; cursor: pointer; color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--primary); color: #fff; border-color: var(--primary); }
.budget-body { display: grid; grid-template-columns: 300px 1fr; gap: 2rem; align-items: center; }
@media (max-width: 760px) { .budget-body { grid-template-columns: 1fr; justify-items: center; } }
.donut-wrap { position: relative; width: 280px; max-width: 100%; }
.donut { width: 100%; transform: rotate(-90deg); }
.donut-bg { fill: none; stroke: #F1E7D6; stroke-width: 6; }
.donut-segs circle { fill: none; stroke-width: 6; transition: stroke-width .2s, opacity .2s; cursor: pointer; }
.donut-segs circle.dim { opacity: .35; }
.donut-segs circle.on { stroke-width: 7.4; }
.donut-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; pointer-events: none; }
.donut-center strong { font-family: var(--font-head); font-size: 1.2rem; color: var(--primary-dark); }
.donut-center small { color: var(--muted); font-size: .85rem; }
.legend { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; gap: .8rem; }
.legend li { display: grid; grid-template-columns: 18px 1fr auto; gap: .8rem; align-items: center; padding: .8rem 1rem; border: 2px solid var(--line); border-radius: 14px; cursor: pointer; }
.legend li:hover, .legend li.on, .legend li:focus-visible { border-color: var(--primary); background: var(--primary-soft); }
.legend .sw { width: 18px; height: 18px; border-radius: 6px; }
.legend .sw.c1 { background: var(--c1); } .legend .sw.c2 { background: var(--c2); }
.legend .lab { font-weight: 600; line-height: 1.3; }
.legend .amt { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; }
.legend .amt small { display: block; color: var(--muted); font-weight: 500; }
@media (max-width: 560px) { .legend li { grid-template-columns: 18px 1fr; } .legend .amt { grid-column: 2; text-align: left; } }

/* ---- Parteneri ---- */
.partner-logo { display: grid; place-items: center; height: 130px; border-radius: 14px; background: #fff; border: 1px solid var(--line); margin-bottom: 1.1rem; padding: .6rem; }
.partner-logo img { height: 100px; width: auto; max-width: 100%; object-fit: contain; }
.plate-dark { background: var(--primary-dark); border-color: var(--primary-dark); }
.tag { display: inline-block; font-family: var(--font); font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; background: var(--accent-soft); color: #7A3F10; padding: .2rem .6rem; border-radius: 999px; vertical-align: middle; margin-left: .4rem; }

/* ---- Noutăți / documente ---- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 900px) { .news-grid { grid-template-columns: 1fr; } }
@media (min-width: 640px) and (max-width: 900px) { .news-grid { grid-template-columns: 1fr 1fr; } }
.news-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.news-img img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.news-body { padding: 1.2rem 1.3rem 1.4rem; }
.news-body time { color: var(--accent); font-weight: 700; font-size: .9rem; }
.news-body h3 { font-size: 1.2rem; margin: .3rem 0 .5rem; }
.news-body h3 a { text-decoration: none; color: var(--primary-dark); }
.news-body h3 a:hover { text-decoration: underline; }
.news-body p { margin: 0; color: var(--muted); }
.doc-teaser { margin-top: 2.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.8rem; }
.doc-teaser h3 { margin-bottom: .2rem; } .doc-teaser p { margin: 0; color: var(--muted); }
.page-hero { padding: 3rem 0 1.5rem; background: radial-gradient(900px 300px at 90% -20%, var(--accent-soft), transparent 60%), var(--bg); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: .3em; }
.crumbs { font-size: .95rem; color: var(--muted); margin-bottom: 1rem; }
.article { max-width: 760px; margin-inline: auto; }
.article .meta { color: var(--accent); font-weight: 700; }
.article .cover { border-radius: var(--radius); margin: 1.2rem 0 1.6rem; box-shadow: var(--shadow); width: 100%; }
.article .body h3 { margin-top: 1.6em; }
.article .body ul { padding-left: 1.3rem; }
.pager { display: flex; gap: .5rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; }
.pager a, .pager span { padding: .5rem .95rem; border: 2px solid var(--line); border-radius: 12px; text-decoration: none; font-weight: 600; background: var(--surface); }
.pager .cur { background: var(--primary); color: #fff; border-color: var(--primary); }
.doc-cat { margin-top: 2.2rem; }
.doc-list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .8rem; }
.doc-item { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; }
.doc-ext { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--primary-soft); color: var(--primary-dark); font-weight: 800; font-size: .8rem; text-transform: uppercase; }
.doc-item h3 { font-size: 1.08rem; margin: 0; font-family: var(--font); }
.doc-item p { margin: .1rem 0 0; color: var(--muted); font-size: .95rem; line-height: 1.45; }
.doc-item small { color: var(--muted); }
@media (max-width: 640px) { .doc-item { grid-template-columns: auto 1fr; } .doc-item .btn { grid-column: 1 / -1; justify-content: center; } }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
@media (max-width: 600px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { display: flex; flex-direction: column; gap: .25rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); }
a.contact-card:hover { border-color: var(--primary); transform: translateY(-2px); color: var(--ink); }
.contact-card small { color: var(--muted); }
.contact-card strong { font-size: 1.05rem; line-height: 1.4; overflow-wrap: anywhere; }

/* ---- Footer ---- */
.site-footer { background: var(--primary-dark); color: #E9F2ED; padding: 2.5rem 0 1.5rem; margin-top: 0; }
.site-footer a { color: #fff; }
.logo-band { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; align-items: center; justify-content: center; background: #fff; border-radius: var(--radius); padding: 1.2rem 1.6rem; margin-bottom: 2rem; }
.logo-eu { height: 56px; width: auto; }
.logo-gov { height: 66px; width: auto; }
.logo-prim { height: 62px; width: auto; }
.logo-plate { background: var(--primary-dark); border-radius: 12px; padding: .3rem .6rem; }
.logo-gal img { height: 62px; width: auto; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2rem; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-h { font-family: var(--font); font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: #F6BE7C; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .4rem; }
.legal { border-top: 1px solid rgba(255,255,255,.2); margin: 2rem 0 0; padding-top: 1rem; font-size: .9rem; color: #C6DACF; }

/* ---- Accesibilitate ---- */
.a11y { position: fixed; right: 14px; bottom: 14px; z-index: 150; }
.a11y-toggle { width: 54px; height: 54px; border-radius: 50%; border: 3px solid #fff; background: var(--primary); color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.28); }
.a11y-toggle .ico { width: 28px; height: 28px; }
.a11y-panel { position: absolute; right: 0; bottom: 66px; width: 240px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 1rem; box-shadow: var(--shadow); }
.a11y-panel[hidden] { display: none; }
.a11y-title { font-weight: 800; margin: 0 0 .6rem; color: var(--primary-dark); }
.a11y-row { display: flex; gap: .5rem; margin-bottom: .6rem; }
.a11y-row button, .a11y-contrast { flex: 1; padding: .55rem; border-radius: 10px; border: 2px solid var(--line); background: var(--bg); font: inherit; font-weight: 700; cursor: pointer; color: var(--ink); }
.a11y-contrast { width: 100%; display: flex; gap: .5rem; justify-content: center; align-items: center; }
.a11y-contrast[aria-pressed="true"] { background: var(--ink); color: #fff; }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }
html:not(.js) .reveal { opacity: 1; transform: none; }

/* ---- Contrast ridicat ---- */
html.hc { --bg: #000; --surface: #000; --alt: #0A0A0A; --ink: #fff; --muted: #F2F2F2; --primary: #FFE600; --primary-dark: #FFE600; --primary-soft: #1A1A1A; --accent: #FFE600; --accent-soft: #1A1A1A; --line: #fff; --focus: #00E5FF; --c1: #FFE600; --c2: #00E5FF; --shadow: none; }
html.hc body { background: #000; }
html.hc .btn, html.hc .nav a.btn, html.hc .tablist button[aria-selected="true"], html.hc .chip[aria-pressed="true"], html.hc .pager .cur { background: #FFE600; color: #000; border-color: #FFE600; }
html.hc .btn-ghost { background: transparent; color: #FFE600; }
html.hc .btn-ghost:hover { background: #FFE600; color: #000; }
html.hc .brand-mark, html.hc .a11y-toggle { background: #FFE600; color: #000; }
html.hc .site-header { background: #000; }
html.hc .nav a { color: #fff; } html.hc .nav a:hover { background: #222; color: #FFE600; }
html.hc .need-big, html.hc .kpi-hi { background: #FFE600; } html.hc .need-big *, html.hc .kpi-hi * { color: #000 !important; }
html.hc table.data thead th { background: #FFE600; color: #000; }
html.hc table.data tr.tot > * { background: #1A1A1A; }
html.hc .site-footer { background: #000; border-top: 2px solid #FFE600; color: #fff; }
html.hc .logo-band { background: #fff; }
html.hc .plate-dark, html.hc .logo-plate { background: #000; border-color: #fff; }
html.hc .ticks li::before { background-color: #FFE600; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
html.hc .timeline summary .tl-dot { border-color: #000; }
html.hc .legend li:hover, html.hc .legend li.on { background: #1A1A1A; }
html.hc .a11y-contrast[aria-pressed="true"] { background: #FFE600; color: #000; border-color: #FFE600; }
html.hc .a11y-panel { background: #000; }
html.hc .hero { background: #000; }
html.hc .hero-art, html.hc .coverage-bar span { filter: contrast(1.2); }

@media print {
  .reveal { opacity: 1 !important; transform: none !important; }
  .site-header, .a11y, .nav-toggle, .hero-actions { display: none !important; }
  .section { padding: 1.5rem 0; }
  body { background: #fff; }
}
