/* ==========================================================================
   Asociația „Phoenix Renaștem Vise” – „Cenușă și jar”
   Stiluri comune. Fără framework. Fără stiluri inline (CSP strict).
   ========================================================================== */

/* ---------- Fonturi (self-hosted, OFL) ---------- */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/bricolage-grotesque-latin-opsz-normal.woff2") format("woff2-variations"),
       url("../fonts/bricolage-grotesque-latin-opsz-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/bricolage-grotesque-latin-ext-opsz-normal.woff2") format("woff2-variations"),
       url("../fonts/bricolage-grotesque-latin-ext-opsz-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/figtree-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url("../fonts/figtree-latin-ext-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/figtree-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url("../fonts/instrument-serif-latin-ext-400-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  /* hârtie (luminos) */
  --paper: #fbf7f2;
  --paper-2: #f3ebe1;
  --card: #fffdfa;
  --line: #e7dbcd;
  --line-2: #d8c8b6;
  --ink: #1e1814;
  --ink-2: #463b34;
  --muted: #6a5c52;
  --link: #9f1d1d;
  --link-hover: #7a1414;
  --accent: #b93e0c;
  --accent-hover: #9c3309;
  --accent-soft: #fbe6d7;
  --title-em: #9f1d1d;

  /* jar */
  --crimson: #9f1d1d;
  --ember: #e4570f;
  --ember-deep: #b93e0c;
  --gold: #f4b63f;
  --gold-soft: #ffd99a;

  /* cenușă (secțiuni închise – identice în ambele moduri) */
  --ash-950: #16110e;
  --ash-900: #1f1814;
  --ash-800: #2b221d;
  --ash-700: #3a2e27;
  --on-dark: #f6eee6;
  --on-dark-2: #ddd1c5;
  --on-dark-muted: #b5a596;
  --on-dark-line: rgb(246 238 230 / .14);

  --focus: #e4570f;
  --radius-s: 10px;
  --radius: 18px;
  --radius-l: 28px;
  --shadow-1: 0 1px 2px rgb(30 24 20 / .06), 0 6px 18px rgb(30 24 20 / .06);
  --shadow-2: 0 2px 6px rgb(30 24 20 / .08), 0 22px 50px rgb(30 24 20 / .14);
  --header-h: 72px;
  --bar-h: 64px;
  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section-y: clamp(3.75rem, 7.5vw, 7.5rem);
  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  --font-body: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-accent: "Instrument Serif", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #15100d;
    --paper-2: #1d1612;
    --card: #231b16;
    --line: #3a2e27;
    --line-2: #4b3d34;
    --ink: #f4ece4;
    --ink-2: #dccfc3;
    --muted: #b8a99b;
    --link: #f4b63f;
    --link-hover: #ffd27a;
    --accent-soft: #3a2116;
    --title-em: #f4b63f;
    --shadow-1: 0 1px 2px rgb(0 0 0 / .3), 0 6px 18px rgb(0 0 0 / .25);
    --shadow-2: 0 2px 6px rgb(0 0 0 / .35), 0 22px 50px rgb(0 0 0 / .45);
    color-scheme: dark;
  }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  hanging-punctuation: first last;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .22vw, 1.125rem);
  line-height: 1.65;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.018em;
  text-wrap: balance;
}
p, ul, ol, dl, figure, blockquote { margin: 0; }
p { text-wrap: pretty; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--link-hover); text-decoration-thickness: 2px; }
strong, b { font-weight: 700; }
em { font-style: italic; }
time { font-variant-numeric: tabular-nums; }
::selection { background: var(--gold); color: var(--ash-950); }

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

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 100;
  padding: .75rem 1.1rem;
  border-radius: var(--radius-s);
  background: var(--gold);
  color: var(--ash-950);
  font-weight: 700;
  text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; color: var(--ash-950); }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
}
.container--narrow { max-width: calc(760px + 2 * var(--gutter)); }
.container--wide { max-width: calc(1360px + 2 * var(--gutter)); }

.section { position: relative; padding-block: var(--section-y); }
.section--paper { background: var(--paper); }
.section--sand { background: var(--paper-2); }
.section--card { background: var(--card); }
.section--dark {
  background: var(--ash-950);
  color: var(--on-dark-2);
  --link: var(--gold);
  --link-hover: var(--gold-soft);
  --title-em: var(--gold);
  --muted: var(--on-dark-muted);
  --ink: var(--on-dark);
  --ink-2: var(--on-dark-2);
  --line: var(--on-dark-line);
  --card: var(--ash-900);
}
.section--dark .section-title, .section--dark h3 { color: var(--on-dark); }
.section--tight { padding-block: calc(var(--section-y) * .6); }
.section + .section--paper, .section--paper + .section--paper { border-top: 1px solid var(--line); }
.section--dark + .section, .section + .section--dark { border-top: 0; }

.section-head { max-width: 52rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-title {
  font-size: clamp(2rem, 1.35rem + 2.5vw, 3.35rem);
  color: var(--ink);
}
.section-title em, .page-title em, .hero-title em, .card-title em, .cta-band-title em {
  font-family: var(--font-accent);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0;
  color: var(--title-em);
}
.section-intro {
  margin-top: 1rem;
  font-size: clamp(1.06rem, 1rem + .35vw, 1.25rem);
  color: var(--ink-2);
  max-width: 44rem;
}
.section-head--center .section-intro { margin-inline: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .9rem;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--crimson), var(--ember), var(--gold));
}
.section--dark .eyebrow, .eyebrow--light { color: var(--gold); }
@media (prefers-color-scheme: dark) { .eyebrow { color: var(--gold); } }

.lead {
  font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 46rem;
}
.lead + * { margin-top: 1.5rem; }

.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid--2 { grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.grid + .grid, .grid + .prose, .prose + .grid, .section-block + .section-block { margin-top: clamp(2rem, 4vw, 3rem); }

.two-col {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
@media (min-width: 960px) {
  .two-col { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .two-col--even { grid-template-columns: 1fr 1fr; }
}
.stack > * + * { margin-top: 1.25rem; }
.stack-lg > * + * { margin-top: clamp(2rem, 4vw, 3rem); }
.center { text-align: center; }
.mt-l { margin-top: clamp(2rem, 4vw, 3rem); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: var(--on-dark);
  border-bottom: 1px solid var(--on-dark-line);
}
/* Fundalul cu blur stă pe un pseudo-element: backdrop-filter pe header ar face din el
   „containing block” pentru meniul mobil (position: fixed) și l-ar tăia la înălțimea header-ului. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgb(22 17 14 / .92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--on-dark);
  text-decoration: none;
  flex: none;
}
.brand:hover { color: var(--on-dark); }
.brand-mark { display: block; width: 44px; height: 44px; flex: none; }
.brand-mark .logo-mark { width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 750;
  font-size: 1.35rem;
  letter-spacing: -.01em;
}
.brand-tag {
  margin-top: .2rem;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.02rem;
  color: var(--gold);
}
.brand:hover .brand-mark { animation: rise .7s var(--ease); }
@keyframes rise { 40% { transform: translateY(-3px) scale(1.04); } }

.nav-list { display: flex; flex-wrap: wrap; gap: .15rem; margin: 0; }
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .4rem .75rem;
  border-radius: 999px;
  color: var(--on-dark-2);
  font-weight: 600;
  font-size: .98rem;
  text-decoration: none;
  transition: color .2s, background-color .2s;
}
.nav-link:hover { color: var(--on-dark); background: rgb(246 238 230 / .08); }
.nav-link[aria-current] { color: var(--on-dark); }
.nav-link[aria-current]::after {
  content: "";
  position: absolute;
  left: .75rem; right: .75rem; bottom: .35rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--ember), var(--gold));
}
.nav-extra { display: flex; align-items: center; gap: .6rem; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: .3rem .7rem;
  border: 1px solid var(--on-dark-line);
  border-radius: 999px;
  color: var(--on-dark);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .08em;
  text-decoration: none;
}
.lang-switch:hover { color: var(--gold); border-color: var(--gold); }
.lang-switch-long { display: none; }

.nav-toggle {
  display: none;
  position: relative;
  width: 48px; height: 48px;
  padding: 0;
  border: 1px solid var(--on-dark-line);
  border-radius: 14px;
  background: transparent;
  color: var(--on-dark);
}
.nav-toggle-lines { position: absolute; inset: 0; display: grid; place-items: center; }
.nav-toggle-lines span {
  position: absolute;
  width: 20px; height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle-lines span:nth-child(1) { transform: translateY(-6px); }
.nav-toggle-lines span:nth-child(3) { transform: translateY(6px); }
.nav-open .nav-toggle-lines span:nth-child(1) { transform: rotate(45deg); }
.nav-open .nav-toggle-lines span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle-lines span:nth-child(3) { transform: rotate(-45deg); }
@media (forced-colors: active) {
  .nav-toggle-lines span { forced-color-adjust: none; background: ButtonText; }
}

@media (min-width: 1180px) {
  .site-nav { display: flex; align-items: center; gap: 1rem; }
}
@media (max-width: 1179.98px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    z-index: 49;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem max(var(--gutter), env(safe-area-inset-left)) calc(2rem + env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    background:
      radial-gradient(120% 60% at 50% 110%, rgb(228 87 15 / .28), transparent 60%),
      var(--ash-950);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
  }
  .nav-open .site-nav {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
  }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-link {
    width: 100%;
    padding: .85rem .25rem;
    border-radius: 0;
    border-bottom: 1px solid var(--on-dark-line);
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 1.2rem + 1.5vw, 2rem);
    font-weight: 650;
    color: var(--on-dark);
  }
  .nav-link:hover { background: transparent; color: var(--gold); }
  .nav-link[aria-current]::after { left: .25rem; right: auto; width: 2.5rem; bottom: .45rem; }
  .nav-extra { flex-wrap: wrap; gap: .8rem; }
  .nav-extra .btn { flex: 1 1 12rem; }
  .lang-switch { padding-inline: 1.1rem; }
  .lang-switch-short { display: none; }
  .lang-switch-long { display: inline; letter-spacing: 0; font-size: .95rem; }
  .nav-open body { overflow: hidden; }
}
@media (max-width: 520px) {
  :root { --header-h: 64px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-name { font-size: 1.18rem; }
  .brand-tag { font-size: .92rem; }
}

/* ---------- Butoane și linkuri ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  padding: .75rem 1.35rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: none; }
.btn--sm { min-height: 44px; padding: .5rem 1rem; font-size: .92rem; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 6px 20px rgb(185 62 12 / .28); }
.btn--primary:hover { background: var(--accent-hover); color: #fff; }
.btn--ghost { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
@media (prefers-color-scheme: dark) { .btn--ghost:hover { border-color: var(--gold); color: var(--gold); } }
.btn--light { background: var(--on-dark); color: var(--ash-950); }
.btn--light:hover { background: #fff; color: var(--ash-950); }
.btn--outline-light { border-color: rgb(246 238 230 / .45); color: var(--on-dark); }
.btn--outline-light:hover { border-color: var(--gold); color: var(--gold); }
.btn .icon { width: 1.15em; height: 1.15em; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-row--center { justify-content: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 44px;
  font-weight: 700;
  text-decoration: none;
}
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-ext { font-weight: 600; }
.link-ext .icon { display: inline-block; width: 1em; height: 1em; margin-left: .3rem; vertical-align: -.125em; }
.nowrap { white-space: nowrap; }
a[href^="tel:"], [data-wa-number] { white-space: nowrap; }

/* ---------- Hero (acasă) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--ash-950);
  color: var(--on-dark);
  padding-block: clamp(3.5rem, 9vw, 8.5rem) clamp(4rem, 10vw, 9rem);
}
.hero-glow, .page-hero-glow, .footer-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero-glow {
  background:
    radial-gradient(60% 55% at 72% 88%, rgb(228 87 15 / .42), transparent 70%),
    radial-gradient(45% 45% at 80% 60%, rgb(244 182 63 / .16), transparent 70%),
    radial-gradient(70% 60% at 10% 110%, rgb(159 29 29 / .45), transparent 70%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--crimson) 20%, var(--ember) 50%, var(--gold) 80%, transparent);
  opacity: .8;
}
.hero-sparks {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, rgb(0 0 0 / .25) 0%, rgb(0 0 0 / .45) 35%, #000 60%);
  mask-image: linear-gradient(90deg, rgb(0 0 0 / .25) 0%, rgb(0 0 0 / .45) 35%, #000 60%);
}
.hero-inner {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
}
.hero-title {
  font-size: clamp(3.1rem, 1.4rem + 7.4vw, 7.6rem);
  line-height: .95;
  letter-spacing: -.035em;
  font-weight: 750;
  color: var(--on-dark);
}
.hero-title em {
  display: inline-block;
  padding-right: .06em;
  background: linear-gradient(100deg, var(--gold) 5%, var(--ember) 55%, #ff8a4c 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  margin-top: clamp(1.25rem, 2.5vw, 2rem);
  max-width: 36rem;
  font-size: clamp(1.1rem, 1rem + .6vw, 1.45rem);
  line-height: 1.5;
  color: var(--on-dark-2);
}
.hero-lead span { display: block; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: clamp(1.75rem, 3vw, 2.5rem); }
.hero-emblem {
  position: relative;
  justify-self: center;
  width: min(78vw, 25rem);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.hero-emblem::before, .hero-emblem::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}
.hero-emblem::before {
  inset: 4%;
  background: radial-gradient(circle at 50% 60%, rgb(244 182 63 / .35), rgb(228 87 15 / .18) 40%, transparent 68%);
}
.hero-emblem::after {
  inset: 0;
  border: 1px solid rgb(244 182 63 / .3);
  outline: 1px dashed rgb(244 182 63 / .16);
  outline-offset: -26px;
}
.hero-emblem .logo-mark {
  position: relative;
  z-index: 1;
  width: 62%;
  height: auto;
  filter: drop-shadow(0 18px 40px rgb(228 87 15 / .35));
}
@media (max-width: 899.98px) {
  .hero-emblem { order: -1; width: min(52vw, 13rem); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-emblem .logo-mark { animation: float 7s ease-in-out infinite; }
  .hero-copy > * { animation: fade-up .8s var(--ease) both; }
  .hero-copy > *:nth-child(2) { animation-delay: .08s; }
  .hero-copy > *:nth-child(3) { animation-delay: .16s; }
  .hero-copy > *:nth-child(4) { animation-delay: .24s; }
}
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } }

.sparks-toggle {
  position: absolute;
  right: max(var(--gutter), env(safe-area-inset-right));
  bottom: 1.25rem;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--on-dark-line);
  border-radius: 50%;
  background: rgb(22 17 14 / .6);
  color: var(--on-dark-2);
}
.sparks-toggle:hover { color: var(--gold); border-color: var(--gold); }
.sparks-toggle .icon { width: 18px; height: 18px; }
.sparks-toggle .is-hidden { display: none; }
.sparks-toggle[hidden] { display: none; }
.hero.is-paused .hero-emblem .logo-mark { animation-play-state: paused; }

/* ---------- Hero pagini interioare ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--ash-950);
  color: var(--on-dark);
  padding-block: clamp(2.25rem, 5vw, 4rem) clamp(3rem, 7vw, 5.5rem);
}
.page-hero-glow {
  background:
    radial-gradient(55% 80% at 95% 110%, rgb(228 87 15 / .38), transparent 70%),
    radial-gradient(40% 70% at 0% 120%, rgb(159 29 29 / .5), transparent 70%);
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--crimson) 20%, var(--ember) 50%, var(--gold) 80%, transparent);
  opacity: .8;
}
.page-hero-media { position: absolute; inset: 0; z-index: -2; }
.page-hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; opacity: .5; }
.page-hero--img .page-hero-glow {
  background:
    linear-gradient(90deg, rgb(22 17 14 / .96) 0%, rgb(22 17 14 / .82) 45%, rgb(22 17 14 / .45) 100%),
    radial-gradient(55% 80% at 95% 110%, rgb(228 87 15 / .35), transparent 70%);
}
.page-hero-inner { position: relative; max-width: calc(980px + 2 * var(--gutter)); margin-inline: 0; }
@media (min-width: 1240px) { .page-hero-inner { margin-inline: auto; max-width: calc(var(--container) + 2 * var(--gutter)); } }
.page-title {
  max-width: 18ch;
  font-size: clamp(2.35rem, 1.45rem + 4vw, 4.75rem);
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--on-dark);
}
.page-title em { color: var(--gold); }
.page-lead {
  margin-top: 1.25rem;
  max-width: 44rem;
  font-size: clamp(1.08rem, 1rem + .45vw, 1.3rem);
  line-height: 1.55;
  color: var(--on-dark-2);
}
.page-lead a { color: var(--gold); }
.page-lead--en { font-size: 1rem; color: var(--on-dark-muted); }
.page-hero--404 { min-height: 60vh; display: grid; align-items: center; }
.page-hero .hero-actions { margin-top: 2rem; }

.breadcrumbs { margin-bottom: 1.5rem; font-size: .92rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin: 0; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: .35rem; }
.breadcrumbs li + li::before { content: "/"; color: var(--on-dark-muted); opacity: .7; }
.breadcrumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--on-dark-muted);
  text-decoration: none;
}
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs a[aria-current] { color: var(--on-dark-2); }

/* ---------- Text lung ---------- */
.prose { max-width: 44rem; color: var(--ink-2); }
.prose > * + * { margin-top: 1.15em; }
.prose h2 {
  margin-top: 2.2em;
  font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem);
  color: var(--ink);
}
.prose h3 {
  margin-top: 1.9em;
  font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem);
  color: var(--ink);
}
.prose h2 + *, .prose h3 + * { margin-top: .7em; }
.prose > :first-child { margin-top: 0; }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose ul li::marker { color: var(--ember); }
.prose ol li::marker { color: var(--accent); font-weight: 700; }
.prose blockquote {
  padding: .2em 0 .2em 1.2em;
  border-left: 3px solid var(--ember);
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.3em;
  line-height: 1.4;
  color: var(--ink);
}
.prose .note { font-size: .92rem; color: var(--muted); }
.prose--wide { max-width: 52rem; }
.dropcap::first-letter {
  float: left;
  margin: .08em .12em 0 0;
  font-family: var(--font-display);
  font-weight: 750;
  font-size: 3.6em;
  line-height: .8;
  color: var(--accent);
}
@media (prefers-color-scheme: dark) { .dropcap::first-letter { color: var(--gold); } }

/* ---------- Carduri ---------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-1);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.card-body { display: flex; flex-direction: column; gap: .6rem; flex: 1; padding: clamp(1.25rem, 2.5vw, 1.75rem); }
.card-icon {
  display: inline-grid;
  place-items: center;
  width: 3rem; height: 3rem;
  margin-bottom: .35rem;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
}
@media (prefers-color-scheme: dark) { .card-icon { color: var(--gold); } }
.section--dark .card-icon { background: rgb(244 182 63 / .12); color: var(--gold); }
.card-icon .icon { width: 1.5rem; height: 1.5rem; }
.card-meta { font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.card-title { font-size: clamp(1.2rem, 1.08rem + .5vw, 1.45rem); color: var(--ink); }
.card-text { color: var(--ink-2); }
.card-body > ul { padding-left: 1.2em; color: var(--ink-2); }
.card-body > ul li::marker { color: var(--ember); }
.card-body > ul a { display: inline-block; padding-block: .5rem; }
.card-body > p:last-child:has(> .link-arrow) { margin-top: auto; }
.card-link { color: inherit; text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.card-link:hover { color: inherit; }
.card-more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: auto;
  padding-top: .5rem;
  font-weight: 700;
  color: var(--link);
}
.card-more .icon { width: 1.1em; height: 1.1em; transition: transform .2s var(--ease); }
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--line-2); }
.card--link:hover .card-more .icon { transform: translateX(4px); }
.card--link:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.card--link .card-link:focus-visible { outline: none; }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ash-900); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card--link:hover .card-media img { transform: scale(1.04); }
.card--plain { box-shadow: none; background: transparent; border-style: dashed; }
.card--ember { background: linear-gradient(160deg, var(--ember-deep), var(--crimson)); border-color: transparent; color: #fff; }
.card--ember .card-title, .card--ember .card-text, .card--ember .card-more { color: #fff; }
.card--ember .card-icon { background: rgb(255 255 255 / .15); color: #fff; }

/* ---------- Piloni / verbe ---------- */
.pillars {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  counter-reset: pillar;
}
@media (min-width: 900px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar {
  position: relative;
  padding-top: 1.5rem;
  border-top: 2px solid var(--line);
}
.pillar::before {
  content: "";
  position: absolute;
  top: -2px; left: 0;
  width: 4.5rem; height: 2px;
  background: linear-gradient(90deg, var(--crimson), var(--ember), var(--gold));
}
.pillar-num {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--muted);
}
.pillar-title { margin-top: .6rem; font-size: clamp(1.9rem, 1.4rem + 1.9vw, 3rem); line-height: 1; color: var(--ink); }
.pillar-verb { display: block; }
.pillar-obj {
  display: block;
  margin-top: .15em;
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  font-size: .78em;
  letter-spacing: 0;
  color: var(--title-em);
}
.pillar-text { margin-top: 1rem; color: var(--ink-2); max-width: 30rem; }
.pillar .link-arrow { margin-top: .75rem; }
.section--dark .pillar { border-top-color: var(--on-dark-line); }

/* ---------- Imagini ---------- */
.figure-media { overflow: hidden; border-radius: var(--radius); background: var(--ash-900); }
.figure-media img { width: 100%; }
.figure-caption { margin-top: .7rem; font-size: .9rem; color: var(--muted); }
.split-media .figure-caption { margin-top: 2rem; }
@media (max-width: 899.98px) { .split-media .figure-caption { margin-top: 1.5rem; } }
.credit { font-style: italic; }
.figure--wide { max-width: 100%; }
.figure--portrait .figure-media { max-width: 30rem; }

.split { display: grid; gap: clamp(1.75rem, 4vw, 4rem); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse .split-media { order: 2; }
}
.split-frame {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  background: var(--ash-900);
}
.split-frame img { width: 100%; }
.split-media { position: relative; }
.split-deco { position: relative; isolation: isolate; }
.split-deco::before {
  content: "";
  position: absolute;
  inset: 1.25rem -1.25rem -1.25rem 1.25rem;
  z-index: -1;
  border-radius: var(--radius-l);
  background: linear-gradient(135deg, var(--gold), var(--ember) 45%, var(--crimson));
  opacity: .85;
}
.split--reverse .split-deco::before { inset: 1.25rem 1.25rem -1.25rem -1.25rem; }
.split-body > * + * { margin-top: 1.1rem; }
@media (max-width: 899.98px) { .stack-lg > .split + .split { margin-top: 3rem; padding-top: 3rem; border-top: 1px solid var(--line); } }
.split-body .section-title { font-size: clamp(1.9rem, 1.35rem + 2vw, 3rem); }
.split-body .btn-row { margin-top: 1.75rem; }
@media (max-width: 899.98px) { .split-deco::before { inset: .9rem -.6rem -.9rem .9rem; } .split--reverse .split-deco::before { inset: .9rem .9rem -.9rem -.6rem; } }

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(.5rem, 1.2vw, 1rem);
  margin: 0;
}
@media (min-width: 600px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery-link {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: var(--radius-s);
  background: var(--ash-900);
}
.gallery-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), filter .5s; }
.gallery-link:hover img { transform: scale(1.05); filter: saturate(1.15); }
.gallery-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08);
}
.gallery-credit { margin-top: .8rem; font-size: .9rem; color: var(--muted); }

.lightbox {
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgb(10 7 6 / .95);
  color: var(--on-dark);
}
.lightbox::backdrop { background: rgb(10 7 6 / .85); }
.lightbox-inner {
  display: grid;
  grid-template-rows: 1fr auto;
  height: 100%;
  padding: max(3.75rem, env(safe-area-inset-top)) 1rem max(1rem, env(safe-area-inset-bottom));
}
.lightbox-figure { display: grid; place-items: center; min-height: 0; margin: 0; }
.lightbox-img { max-width: 100%; max-height: calc(100dvh - 9rem); width: auto; height: auto; object-fit: contain; border-radius: 8px; }
.lightbox-caption { margin-top: .75rem; text-align: center; color: var(--on-dark-2); font-size: .95rem; }
.lightbox-btn {
  position: absolute;
  display: inline-grid;
  place-items: center;
  width: 48px; height: 48px;
  border: 1px solid var(--on-dark-line);
  border-radius: 50%;
  background: rgb(22 17 14 / .7);
  color: var(--on-dark);
}
.lightbox-btn:hover { color: var(--gold); border-color: var(--gold); }
.lightbox-close { top: max(.75rem, env(safe-area-inset-top)); right: .75rem; }
.lightbox-prev { left: .75rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: .75rem; top: 50%; transform: translateY(-50%); }
.lightbox-count { position: absolute; top: max(1.4rem, env(safe-area-inset-top)); left: 1.25rem; font-size: .9rem; color: var(--on-dark-muted); }

/* ---------- Citate ---------- */
.quote { position: relative; max-width: 58rem; margin-inline: auto; text-align: center; }
.quote-mark {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--ember);
}
.quote-mark .icon { width: clamp(2.5rem, 2rem + 2vw, 3.5rem); height: auto; }
.quote--left .quote-mark { justify-content: flex-start; }
.quote-text p {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(1.65rem, 1.2rem + 2.1vw, 3rem);
  line-height: 1.22;
  color: var(--ink);
  text-wrap: balance;
}
.quote-cite { margin-top: 1.4rem; font-size: .95rem; color: var(--muted); }
.quote--left { text-align: left; margin-inline: 0; }
.container > .quote + .prose, .container > .prose + .quote, .container > .quote + .grid { margin-top: clamp(2rem, 4vw, 3rem); }
.quote--small .quote-text p { font-size: clamp(1.35rem, 1.1rem + 1.2vw, 2rem); }

/* ---------- Cronologie ---------- */
.timeline, .timeline[role="list"] { position: relative; margin: 0; padding-left: 2rem; max-width: 50rem; }
.timeline::before {
  content: "";
  position: absolute;
  left: .45rem; top: .5rem; bottom: .5rem;
  width: 2px;
  background: linear-gradient(var(--gold), var(--ember) 45%, var(--crimson));
  border-radius: 2px;
}
.timeline-item { position: relative; padding-bottom: 2.25rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -2rem; top: .4rem;
  width: 1.05rem; height: 1.05rem;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--ember);
  box-shadow: 0 0 0 4px rgb(228 87 15 / .15);
}
.section--sand .timeline-item::before { background: var(--paper-2); }
.section--dark .timeline-item::before { background: var(--ash-950); }
.timeline-date { font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
@media (prefers-color-scheme: dark) { .timeline-date { color: var(--gold); } }
.section--dark .timeline-date { color: var(--gold); }
.timeline-title { margin-top: .25rem; font-size: clamp(1.2rem, 1.08rem + .5vw, 1.45rem); color: var(--ink); }
.timeline-title a { color: inherit; text-decoration-color: var(--ember); }
.timeline-text { margin-top: .4rem; color: var(--ink-2); }

/* ---------- Cifre ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin: 0;
}
.stat { display: flex; flex-direction: column; gap: .5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 1.9rem + 2.8vw, 4.2rem);
  font-weight: 750;
  line-height: 1;
  letter-spacing: -.03em;
  background: linear-gradient(100deg, var(--gold), var(--ember));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section--paper .stat-value, .section--sand .stat-value { background: none; color: var(--accent); }
@media (prefers-color-scheme: dark) { .section--paper .stat-value, .section--sand .stat-value { color: var(--gold); } }
.stat-label { color: var(--ink-2); max-width: 18rem; }

/* ---------- Bandă CTA ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: var(--radius-l);
  color: #fff;
}
.cta-band--ember { background: linear-gradient(125deg, var(--crimson) 0%, var(--ember-deep) 100%); }
.cta-band--ember, .card--ember { --focus: #fff; }
.cta-band--ash { background: var(--ash-900); border: 1px solid var(--on-dark-line); }
.cta-band::after {
  content: "";
  position: absolute;
  right: -10%; bottom: -60%;
  z-index: -1;
  width: 60%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(244 182 63 / .45), transparent 65%);
}
.cta-band--ember::after { background: radial-gradient(circle, rgb(244 182 63 / .14), transparent 65%); }
@media (min-width: 900px) { .cta-band { grid-template-columns: auto 1fr auto; } }
.cta-band-icon {
  display: inline-grid;
  place-items: center;
  width: 3.5rem; height: 3.5rem;
  border-radius: 50%;
  background: rgb(255 255 255 / .14);
  color: var(--gold-soft);
}
.cta-band-icon .icon { width: 1.75rem; height: 1.75rem; }
.cta-band-title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); color: #fff; }
.cta-band-title em { color: var(--gold-soft); }
.cta-band-text { margin-top: .5rem; color: #fff; max-width: 40rem; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cta-band .btn--outline-light { border-color: rgb(255 255 255 / .55); color: #fff; }
.cta-band .btn--outline-light:hover { border-color: var(--gold-soft); color: var(--gold-soft); }
.cta-pair { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
@media (min-width: 900px) { .cta-pair { grid-template-columns: 1fr 1fr; } .cta-pair .cta-band { grid-template-columns: 1fr; align-content: start; } }

/* ---------- Notă ---------- */
.notice {
  display: flex;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  border: 1px solid var(--line-2);
  border-left: 4px solid var(--ember);
  border-radius: var(--radius-s);
  background: var(--accent-soft);
  color: var(--ink-2);
}
.notice-icon { flex: none; color: var(--accent); padding-top: .15rem; }
@media (prefers-color-scheme: dark) { .notice-icon { color: var(--gold); } }
.notice-title { font-weight: 700; color: var(--ink); margin-bottom: .25rem; }
.notice-body > * + * { margin-top: .5rem; }
.notice--warn { border-left-color: var(--crimson); }

/* ---------- Contact ---------- */
.contact-actions {
  display: grid;
  gap: .75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) { .contact-actions { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .contact-actions { grid-template-columns: 1fr 1fr 1fr 1.4fr; } }
.section--narrow-actions .contact-actions { grid-template-columns: 1fr; }
.action {
  display: flex;
  align-items: center;
  gap: .9rem;
  min-height: 72px;
  padding: .9rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow-1);
  transition: transform .2s var(--ease), border-color .2s, box-shadow .2s;
}
.action:hover { color: var(--ink); transform: translateY(-2px); border-color: var(--ember); box-shadow: var(--shadow-2); }
.action-icon {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 2.75rem; height: 2.75rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
}
.action--wa .action-icon { background: #1f7a4d; }
.action--mail .action-icon { background: var(--crimson); }
.action-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.action-label { font-size: .85rem; color: var(--muted); }
.action-value { font-weight: 700; font-size: 1.05rem; overflow-wrap: anywhere; }
.action--mail .action-value { font-size: 1rem; overflow-wrap: normal; word-break: normal; }
@media (max-width: 380px) { .action--mail .action-value { font-size: .92rem; } }
.section--dark .action { background: var(--ash-900); border-color: var(--on-dark-line); color: var(--on-dark); }
.section--dark .action:hover { color: var(--on-dark); }
.contact-copy { margin-top: .75rem; }
@media (min-width: 560px) { .contact-copy { text-align: right; } }

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 44px;
  padding: .3rem .9rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font-size: .88rem;
  font-weight: 600;
  vertical-align: middle;
}
.copy-btn[hidden] { display: none; }
.copy-btn:hover { border-color: var(--accent); color: var(--accent); }
@media (prefers-color-scheme: dark) { .copy-btn:hover { border-color: var(--gold); color: var(--gold); } }
.copy-btn .icon { width: 1rem; height: 1rem; }
.copy-btn.is-copied { border-color: #1f7a4d; color: #1f7a4d; }
@media (prefers-color-scheme: dark) { .copy-btn.is-copied { border-color: #6fcf97; color: #6fcf97; } }

/* ---------- Date de identificare ---------- */
.id-list { margin: 0; border-top: 1px solid var(--line); }
.id-row {
  display: grid;
  gap: .15rem 1.5rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 640px) { .id-row { grid-template-columns: minmax(10rem, 15rem) 1fr; align-items: baseline; } }
.id-row dt { font-size: .9rem; font-weight: 600; color: var(--muted); }
.id-row dd { margin: 0; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.id-row dd .copy-btn { margin-left: .5rem; }
.id-value { font-variant-numeric: tabular-nums; }
.id-value--iban { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .04em; }
.id-pending { font-weight: 500; color: var(--ink-2); font-style: italic; }
.id-card {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-1);
}
.id-card-title { margin-bottom: 1rem; font-size: 1.3rem; }

/* ---------- Pași ---------- */
.steps { display: grid; gap: 1rem; counter-reset: step; }
@media (min-width: 900px) { .steps--row { grid-template-columns: repeat(3, 1fr); } }
.step {
  position: relative;
  padding: 1.35rem 1.35rem 1.35rem 4.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  counter-increment: step;
}
.step::before {
  content: counter(step);
  position: absolute;
  left: 1.2rem; top: 1.2rem;
  display: grid;
  place-items: center;
  width: 2.2rem; height: 2.2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ember), var(--crimson));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 750;
}
.step-title { font-size: 1.15rem; color: var(--ink); }
.step-body { margin-top: .4rem; color: var(--ink-2); }
.step-body > * + * { margin-top: .5rem; }
.step-body ul { padding-left: 1.2em; }

/* ---------- Listă cu bife ---------- */
.checklist { display: grid; gap: .7rem; }
ul.checklist { padding-left: 0; }
.checklist li { position: relative; padding-left: 2rem; color: var(--ink-2); }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: .2em;
  width: 1.3rem; height: 1.3rem;
  border-radius: 50%;
  background: var(--accent-soft) no-repeat center / .8rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b93e0c' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) {
  .checklist li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4b63f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
}
.checklist--cols { grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: .8rem 2rem; }

/* ---------- Insigne ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: .2rem .65rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.5;
}
.badge--ember { background: var(--accent-soft); color: var(--accent); }
@media (prefers-color-scheme: dark) { .badge--ember { color: var(--gold); } }
.badge--ash { background: var(--paper-2); color: var(--ink-2); border: 1px solid var(--line); }
.badge--live { background: #e3f4ea; color: #155c38; }
@media (prefers-color-scheme: dark) { .badge--live { background: #173826; color: #9be0b8; } }

/* ---------- Studii ---------- */
.studies { display: grid; gap: 1rem; }
@media (min-width: 900px) { .studies { grid-template-columns: 1fr 1fr; } }
.study {
  display: flex;
  gap: 1rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}
.study:target { border-color: var(--ember); box-shadow: 0 0 0 4px rgb(228 87 15 / .18); }
.study-icon {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 3rem; height: 3rem;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
}
@media (prefers-color-scheme: dark) { .study-icon { color: var(--gold); } }
.study-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .85rem; color: var(--muted); }
.study-title { margin-top: .5rem; font-size: 1.2rem; color: var(--ink); }
.study-text { margin-top: .35rem; color: var(--ink-2); }
.study-original { margin-top: .35rem; font-size: .88rem; font-style: italic; color: var(--muted); }
.study-body { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.study-link { display: inline-flex; align-items: center; margin-top: auto; padding-top: .6rem; min-height: 44px; align-self: flex-start; }

/* ---------- Separator ---------- */
.divider { display: flex; justify-content: center; color: var(--ember); margin-block: clamp(2rem, 4vw, 3rem); }
.divider svg { width: min(240px, 60%); height: auto; }

/* ---------- Proiect principal (Baro Drom) ---------- */
.feature-meta { display: flex; flex-wrap: wrap; gap: .5rem; }
.baro-mark { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.baro-mark img { width: 2.25rem; height: 2.25rem; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--ash-950);
  color: var(--on-dark-2);
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  --link: var(--on-dark-2);
  --link-hover: var(--gold);
}
.footer-glow { background: radial-gradient(50% 70% at 100% 0%, rgb(228 87 15 / .18), transparent 70%), radial-gradient(40% 60% at 0% 100%, rgb(159 29 29 / .25), transparent 70%); }
.footer-grid {
  display: grid;
  gap: 2.5rem 1.5rem;
  grid-template-columns: 1fr 1fr;
}
.footer-brand, .footer-col--wide { grid-column: 1 / -1; }
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col--wide { grid-column: auto; }
}
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.5fr .85fr .95fr 1.45fr 1.25fr; } .footer-brand { grid-column: auto; } }
.footer-brand .brand { margin-bottom: 1.1rem; }
.brand--footer .brand-mark { width: 52px; height: 52px; }
.footer-about { max-width: 22rem; font-size: .95rem; }
.footer-project { margin-top: 1rem; font-size: .95rem; }
.footer-project a { color: var(--gold); }
.footer-title {
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}
.footer-links { display: grid; gap: .15rem; margin: 0; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  color: var(--on-dark-2);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.footer-links a:hover { color: var(--gold); }
.footer-contact .icon { width: 1.1rem; height: 1.1rem; color: var(--ember); }
.footer-dl { display: grid; gap: .6rem; margin: 0; font-size: .92rem; }
.footer-dl dt { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-muted); }
.footer-dl dd { margin: 0; color: var(--on-dark-2); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 2rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-block: 1.5rem calc(1.5rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--on-dark-line);
  font-size: .88rem;
  color: var(--on-dark-muted);
}
.footer-bottom a { color: var(--on-dark-2); }
.footer-bottom a:hover { color: var(--gold); }

@media (prefers-color-scheme: dark) {
  .section--dark, .site-footer { background-color: #0d0a08; }
  .section--dark .timeline-item::before { background: #0d0a08; }
  .section--dark + .section, .section + .section--dark { border-top: 1px solid var(--line); }
  .site-footer { border-top: 1px solid var(--line); }
}

/* ---------- Bara mobilă ---------- */
.mobile-bar { display: none; }
@media (max-width: 767.98px) {
  body { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); }
  html { scroll-padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom) + 1rem); }
  .mobile-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .5rem;
    padding: .5rem max(.75rem, env(safe-area-inset-left)) calc(.5rem + env(safe-area-inset-bottom)) max(.75rem, env(safe-area-inset-right));
    background: rgb(22 17 14 / .94);
    border-top: 1px solid var(--on-dark-line);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  .nav-open .mobile-bar, .lightbox-open .mobile-bar { display: none; }
  .nav-open body, .lightbox-open body { padding-bottom: 0; }
}
.mobile-bar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.mobile-bar-btn:hover { color: #fff; }
.mobile-bar-btn--wa { background: #1f7a4d; }

/* ---------- Apariție la scroll (CSS pur, fără JS) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal, .card, .pillar, .step, .study, .timeline-item, .stat {
      animation: reveal both ease-out;
      animation-timeline: view();
      animation-range: entry 0% entry 35%;
    }
  }
}
@keyframes reveal { from { opacity: 0; transform: translateY(24px); } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .mobile-bar, .site-nav, .nav-toggle, .hero-sparks, .sparks-toggle, .copy-btn, .skip-link, .hero-emblem { display: none !important; }
  body { background: #fff; color: #000; padding: 0; font-size: 11pt; }
  .hero, .page-hero, .section--dark, .site-footer, .cta-band { background: #fff !important; color: #000 !important; }
  .hero-title, .page-title, .section-title, .hero-title em { color: #000 !important; -webkit-text-fill-color: #000; background: none !important; }
  a { color: #000; }
  .prose a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; }
  .card, .action, .step, .study { box-shadow: none; break-inside: avoid; }
}
