/* ============================================================
   CUB — Coaliția pentru Unitate și Bunăstare
   Design tokens & base styles
   ============================================================ */

:root {
  /* --- Brand color tokens (from Manual de Brand 2025) --- */
  --cub-purple:        #7F49A9;   /* primary brand color */
  --cub-purple-dark:   #4D2D72;   /* gradient end / deep sections */
  --cub-purple-deep:   #2B1840;   /* near-black ink for max-contrast dark sections */
  --cub-teal:          #94BECF;   /* secondary brand color, gradient end */
  --cub-teal-light:    #C7E0E8;   /* tint for soft backgrounds */

  /* --- Functional surface / text tokens --- */
  --bg-page:           #FBFAFD;   /* warm-violet-tinted white, not pure white */
  --bg-soft:           #F1ECF6;   /* soft lilac section background */
  --bg-dark:           #2B1840;
  --ink:               #221A2E;   /* near-black with violet undertone */
  --ink-soft:          #5C5468;   /* secondary text on light bg */
  --ink-on-dark:       #F1ECF6;
  --ink-on-dark-soft:  #BDA9CE;
  --line:              #E1D8EC;   /* hairline borders on light bg */
  --line-on-dark:      rgba(241, 236, 246, 0.16);

  --gradient-brand: linear-gradient(135deg, var(--cub-purple) 0%, var(--cub-teal) 100%);
  --gradient-deep:  linear-gradient(160deg, var(--cub-purple) 0%, var(--cub-purple-dark) 55%, var(--cub-purple-deep) 100%);

  /* --- Type --- */
  --font-main: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --fs-display:  clamp(2.6rem, 5.2vw, 4.6rem);
  --fs-h1:       clamp(2.1rem, 3.6vw, 3.2rem);
  --fs-h2:       clamp(1.6rem, 2.6vw, 2.3rem);
  --fs-h3:       clamp(1.2rem, 1.6vw, 1.5rem);
  --fs-lead:     clamp(1.05rem, 1.3vw, 1.25rem);
  --fs-body:     1rem;
  --fs-small:    0.875rem;
  --fs-eyebrow:  0.8rem;

  /* --- Spacing scale --- */
  --sp-1: 0.4rem;
  --sp-2: 0.8rem;
  --sp-3: 1.2rem;
  --sp-4: 1.6rem;
  --sp-5: 2.4rem;
  --sp-6: 3.2rem;
  --sp-7: 4.8rem;
  --sp-8: 7.2rem;

  --radius-s:  10px;
  --radius-m:  16px;
  --radius-l:  26px;
  --radius-pill: 999px;

  --shadow-card: 0 4px 18px rgba(45, 24, 64, 0.08);
  --shadow-card-hover: 0 14px 32px rgba(45, 24, 64, 0.16);
  --shadow-deep: 0 24px 60px rgba(20, 10, 32, 0.35);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --t-fast: 160ms var(--ease);
  --t-med:  320ms var(--ease);
  --t-slow: 560ms var(--ease);

  --container: 1180px;
}

/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body, h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd {
  margin: 0;
}

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

ul, ol { padding: 0; list-style: none; }

a { color: inherit !important; text-decoration: none; }

/* ============================================================
   Protecție împotriva stilurilor implicite ale temei WordPress
   (Hello Elementor reset.css stilează generic button/input/textarea
   cu o culoare roz #c36 — acestea anulează explicit acel comportament,
   indiferent de ordinea de încărcare a CSS-ului.)
   ============================================================ */
button,
[type="button"],
[type="submit"],
[type="reset"] {
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  color: inherit !important;
  padding: 0 !important;
  font-family: inherit !important;
}
input[type="text"], input[type="email"], input[type="tel"],
input[type="number"], input[type="date"], input[type="password"],
input[type="search"], input[type="url"], input[type="time"],
textarea, select {
  border: 1.5px solid var(--line) !important;
  border-radius: var(--radius-s) !important;
  background: var(--bg-page) !important;
  color: var(--ink) !important;
  padding: 0.85rem 1rem !important;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus,
input[type="number"]:focus, textarea:focus, select:focus {
  border-color: var(--cub-purple) !important;
  background: #fff !important;
}
/* Butoanele .btn își recapătă propriul design peste reset-ul de mai sus */
.btn {
  display: inline-flex !important;
  border-radius: var(--radius-pill) !important;
  padding: 0.85rem 1.7rem !important;
  cursor: pointer;
}
.btn--primary {
  background: linear-gradient(135deg, var(--cub-purple), var(--cub-teal)) !important;
  color: #fff !important;
}
.btn--ghost {
  background: transparent !important;
  border: 1.5px solid var(--cub-purple) !important;
  color: var(--cub-purple) !important;
}
.nav__toggle { background: transparent !important; border: none !important; padding: 0 !important; }

button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

input, textarea, select { font: inherit; color: inherit; }

body {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}

/* Visible keyboard focus everywhere */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--cub-teal);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--cub-purple-deep);
  color: #fff;
  padding: var(--sp-2) var(--sp-4);
  z-index: 999;
  border-radius: 0 0 var(--radius-s) 0;
}
.skip-link:focus {
  left: 0;
}

/* ============================================================
   Layout helpers
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-4);
}

.section {
  padding-block: var(--sp-7);
}
.section--tight { padding-block: var(--sp-6); }
.section--soft  { background: var(--bg-soft); }
.section--dark  { background: var(--gradient-deep); color: var(--ink-on-dark); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cub-purple);
}
.section--dark .eyebrow { color: var(--cub-teal); }

.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: var(--radius-pill);
  background: var(--gradient-brand);
}

h1, h2, h3 { font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

.lead {
  font-size: var(--fs-lead);
  color: var(--ink-soft);
  max-width: 46ch;
}
.section--dark .lead { color: var(--ink-on-dark-soft); }

.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }

.grid {
  display: grid;
  gap: var(--sp-5);
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 980px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: var(--fs-small);
  letter-spacing: 0.01em;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), color var(--t-fast);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 10px 26px rgba(127, 73, 169, 0.32);
}
.btn--primary:hover { box-shadow: 0 14px 32px rgba(127, 73, 169, 0.42); }

.btn--ghost {
  background: transparent;
  color: var(--cub-purple);
  border: 1.5px solid var(--cub-purple);
}
.btn--ghost:hover { background: var(--cub-purple); color: #fff; }

.section--dark .btn--ghost { color: #fff; border-color: var(--line-on-dark); }
.section--dark .btn--ghost:hover { background: rgba(255,255,255,0.12); }

.btn--on-dark.btn--primary { box-shadow: 0 10px 30px rgba(0,0,0,0.35); }

.btn--arrow svg { transition: transform var(--t-fast); width: 16px; height: 16px; }
.btn--arrow:hover svg { transform: translateX(4px); }

.btn--block { width: 100%; justify-content: center; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 253, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-block: var(--sp-3);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.brand__symbol { width: 36px; height: 36px; flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-weight: 900; font-size: 1.25rem; color: var(--ink); }
.brand__tagline {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.nav { display: flex; align-items: center; gap: var(--sp-5); }
.nav__list { display: flex; gap: var(--sp-5); }
.nav__list a {
  font-weight: 600;
  font-size: var(--fs-small);
  position: relative;
  padding-block: var(--sp-1);
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0%; height: 2px;
  background: var(--gradient-brand);
  border-radius: var(--radius-pill);
  transition: width var(--t-med);
}
.nav__list a:hover::after,
.nav__list a[aria-current="page"]::after { width: 100%; }
.nav__list a[aria-current="page"] { color: var(--cub-purple); }

.site-header__cta { display: flex; align-items: center; gap: var(--sp-2); }

.nav__toggle {
  display: none;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  border-radius: var(--radius-s);
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  cursor: pointer;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.nav__toggle span::before { position: absolute; top: -6px; }
.nav__toggle span::after { position: absolute; top: 6px; }

@media (max-width: 860px) {
  .nav__toggle { display: flex; }
  .nav { 
    position: fixed; top: 70px; left: 0; right: 0;
    height: calc(100vh - 70px);
    overflow-y: auto;
    flex-direction: column; align-items: stretch;
    background: var(--bg-page);
    padding: var(--sp-5) var(--sp-4);
    gap: var(--sp-5);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--t-med), opacity var(--t-med), visibility var(--t-med);
  }
  .nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; gap: var(--sp-4); font-size: 1.1rem; }
  .site-header__cta { flex-direction: column; align-items: stretch; }
  .nav__toggle[aria-expanded="true"] span { background: transparent; }
  .nav__toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--gradient-deep);
  color: #fff;
  padding-block: var(--sp-8) var(--sp-7);
}

.hero__motif {
  position: absolute;
  top: -10%; right: -8%;
  width: 620px;
  opacity: 0.16;
  pointer-events: none;
}
.hero__motif rect { stroke: #fff; }

.hero__content { position: relative; z-index: 1; max-width: 760px; }

.hero__eyebrow {
  color: var(--cub-teal-light);
}

.hero__title {
  font-size: var(--fs-display);
  font-weight: 900;
  margin-block: var(--sp-3) var(--sp-4);
  letter-spacing: -0.02em;
}
.hero__title .accent {
  background: linear-gradient(100deg, #fff 10%, var(--cub-teal-light) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  color: var(--ink-on-dark-soft);
  font-size: var(--fs-lead);
  max-width: 52ch;
  margin-bottom: var(--sp-5);
}

.hero__actions { display: flex; gap: var(--sp-3); flex-wrap: wrap; }

.hero__stats {
  position: relative;
  z-index: 1;
  display: flex;
  gap: var(--sp-6);
  margin-top: var(--sp-7);
  flex-wrap: wrap;
}
.hero__stat-num {
  font-size: 1.8rem;
  font-weight: 900;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__stat-label {
  font-size: var(--fs-small);
  color: var(--ink-on-dark-soft);
}

/* ============================================================
   Quick-access cards
   ============================================================ */
.quick-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}
.quick-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}
.quick-card__icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-m);
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--cub-purple);
}
.quick-card__icon svg { width: 26px; height: 26px; }
.quick-card h3 { margin-top: var(--sp-1); }
.quick-card p { color: var(--ink-soft); font-size: var(--fs-small); flex-grow: 1; }
.quick-card__link {
  display: inline-flex; align-items: center; gap: var(--sp-1);
  font-weight: 700; font-size: var(--fs-small); color: var(--cub-purple);
}
.quick-card__link svg { width: 14px; height: 14px; transition: transform var(--t-fast); }
.quick-card:hover .quick-card__link svg { transform: translateX(4px); }

/* ============================================================
   Pillar (program) cards & detail sections
   ============================================================ */
.pillar-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  position: sticky;
  top: 76px;
  z-index: 40;
  background: var(--bg-page);
  padding-block: var(--sp-3);
  border-bottom: 1px solid var(--line);
}
.pillar-nav a {
  font-size: var(--fs-small);
  font-weight: 700;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--bg-soft);
  color: var(--ink-soft);
  transition: background var(--t-fast), color var(--t-fast);
}
.pillar-nav a:hover,
.pillar-nav a.is-active {
  background: var(--gradient-brand);
  color: #fff;
}

.pillar {
  padding-block: var(--sp-7);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 130px;
}
.pillar__head { display: flex; gap: var(--sp-4); align-items: flex-start; margin-bottom: var(--sp-5); }
.pillar__num {
  font-size: 2.6rem;
  font-weight: 900;
  background: var(--gradient-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.pillar__icon {
  width: 60px; height: 60px;
  border-radius: var(--radius-m);
  background: var(--gradient-brand);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pillar__icon svg { width: 30px; height: 30px; }
.pillar__intro { max-width: 70ch; color: var(--ink-soft); }

.accordion-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  margin-bottom: var(--sp-3);
  overflow: hidden;
  background: #fff;
}
.accordion-item__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: var(--sp-4);
  font-weight: 700;
  text-align: left;
}
.accordion-item__trigger .plus {
  width: 24px; height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--bg-soft);
  position: relative;
  transition: transform var(--t-med), background var(--t-med);
}
.accordion-item__trigger .plus::before,
.accordion-item__trigger .plus::after {
  content: "";
  position: absolute;
  background: var(--cub-purple);
  transition: transform var(--t-med);
}
.accordion-item__trigger .plus::before { left: 6px; right: 6px; top: 11px; height: 2px; }
.accordion-item__trigger .plus::after { top: 6px; bottom: 6px; left: 11px; width: 2px; }
.accordion-item.is-open .plus::after { transform: scaleY(0); }
.accordion-item.is-open .plus { background: var(--gradient-brand); }
.accordion-item.is-open .plus::before { background: #fff; }

.accordion-item__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow);
}
.accordion-item__panel-inner {
  padding: 0 var(--sp-4) var(--sp-4);
  color: var(--ink-soft);
}
.accordion-item__panel-inner ol {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  counter-reset: item;
}
.accordion-item__panel-inner li {
  position: relative;
  padding-left: var(--sp-5);
}
.accordion-item__panel-inner li::before {
  counter-increment: item;
  content: counter(item);
  position: absolute;
  left: 0; top: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--cub-purple);
  font-size: 0.7rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.accordion-item__panel-inner .model-tag {
  display: inline-block;
  margin-top: var(--sp-1);
  font-size: 0.75rem;
  font-style: italic;
  color: var(--cub-purple);
}

/* ============================================================
   Leader / team
   ============================================================ */
.leader {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: var(--sp-6);
  align-items: center;
}
.leader__photo {
  border-radius: var(--radius-l);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--bg-soft);
  position: relative;
}
.leader__photo img { width: 100%; height: 100%; object-fit: cover; }
.leader__photo-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: var(--sp-2);
  color: var(--cub-purple);
  text-align: center;
  padding: var(--sp-4);
  font-size: var(--fs-small);
}
.leader__name { margin-bottom: var(--sp-1); }
.leader__role { color: var(--cub-purple); font-weight: 700; margin-bottom: var(--sp-3); }
.leader__bio p { margin-bottom: var(--sp-3); color: var(--ink-soft); }
.leader__quote {
  border-left: 3px solid var(--cub-purple);
  padding-left: var(--sp-3);
  font-style: italic;
  color: var(--ink);
  margin-block: var(--sp-3);
}

@media (max-width: 760px) {
  .leader { grid-template-columns: 1fr; }
  .leader__photo { max-width: 280px; margin-inline: auto; }
}

.team-grid-empty {
  border: 1.5px dashed var(--line);
  border-radius: var(--radius-l);
  padding: var(--sp-6);
  text-align: center;
  color: var(--ink-soft);
}

/* ============================================================
   News / Noutăți
   ============================================================ */
.news-card {
  border-radius: var(--radius-l);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.news-card__image { aspect-ratio: 16/10; background: var(--gradient-brand); }
.news-card__image img { width: 100%; height: 100%; object-fit: cover; }
.news-card__body { padding: var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-2); flex-grow: 1; }
.news-card__date { font-size: var(--fs-small); color: var(--cub-purple); font-weight: 700; }
.news-card__excerpt { color: var(--ink-soft); font-size: var(--fs-small); flex-grow: 1; }

.empty-state {
  border: 1.5px dashed var(--line);
  border-radius: var(--radius-l);
  padding: var(--sp-7) var(--sp-5);
  text-align: center;
  color: var(--ink-soft);
  max-width: 520px;
  margin-inline: auto;
}
.empty-state__icon {
  width: 56px; height: 56px;
  margin: 0 auto var(--sp-3);
  border-radius: 50%;
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--cub-purple);
}

/* ============================================================
   Forms (Înscriere / Donează / Contact)
   ============================================================ */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: var(--sp-6);
  box-shadow: var(--shadow-card);
}
.field { margin-bottom: var(--sp-4); }
.field label {
  display: block;
  font-weight: 700;
  font-size: var(--fs-small);
  margin-bottom: var(--sp-1);
}
.field--required label::after { content: " *"; color: var(--cub-purple); }
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--bg-page);
  transition: border-color var(--t-fast), background var(--t-fast);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--cub-purple);
  background: #fff;
}
.field textarea { min-height: 130px; resize: vertical; }
.field__hint { font-size: 0.78rem; color: var(--ink-soft); margin-top: var(--sp-1); }
.field--checkbox { display: flex; gap: var(--sp-2); align-items: flex-start; }
.field--checkbox input { width: auto; margin-top: 4px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

.form-message {
  display: none;
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius-s);
  background: var(--bg-soft);
  color: var(--cub-purple-dark);
  font-weight: 600;
  margin-top: var(--sp-3);
}
.form-message.is-visible { display: block; }

.donate-iban {
  background: var(--bg-soft);
  border-radius: var(--radius-m);
  padding: var(--sp-4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-3);
  flex-wrap: wrap;
}
.donate-iban__value { font-weight: 700; font-family: monospace; font-size: 1rem; letter-spacing: 0.02em; }
.copy-btn {
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--cub-purple);
  border: 1.5px solid var(--cub-purple);
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.9rem;
  transition: background var(--t-fast), color var(--t-fast);
}
.copy-btn:hover { background: var(--cub-purple); color: #fff; }

.notice-box {
  border-left: 3px solid var(--cub-teal);
  background: var(--bg-soft);
  border-radius: 0 var(--radius-m) var(--radius-m) 0;
  padding: var(--sp-4);
  font-size: var(--fs-small);
  color: var(--ink-soft);
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--gradient-deep);
  color: var(--ink-on-dark);
  padding-block: var(--sp-7) var(--sp-5);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--sp-6);
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid var(--line-on-dark);
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand .brand__name,
.footer-brand .brand__tagline { color: #fff; }
.footer-brand p { color: var(--ink-on-dark-soft); margin-top: var(--sp-3); max-width: 32ch; font-size: var(--fs-small); }
.footer-col h4 {
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cub-teal-light);
  margin-bottom: var(--sp-3);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--sp-2); }
.footer-col a { color: var(--ink-on-dark-soft); font-size: var(--fs-small); transition: color var(--t-fast); }
.footer-col a:hover { color: #fff; }

.social-row { display: flex; gap: var(--sp-2); margin-top: var(--sp-4); }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--t-fast), transform var(--t-fast);
}
.social-row a:hover { background: var(--gradient-brand); transform: translateY(-3px); }
.social-row svg { width: 17px; height: 17px; color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-2);
  padding-top: var(--sp-5);
  font-size: 0.8rem;
  color: var(--ink-on-dark-soft);
}

/* ============================================================
   Scroll reveal
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--t-slow), transform var(--t-slow);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
}

/* ============================================================
   Page header (for sub-pages)
   ============================================================ */
.page-header {
  background: var(--gradient-deep);
  color: #fff;
  padding-block: var(--sp-7) var(--sp-6);
}
.page-header h1 { margin-bottom: var(--sp-2); }
.page-header .lead { color: var(--ink-on-dark-soft); }
.breadcrumb {
  display: flex; gap: var(--sp-1); align-items: center;
  font-size: var(--fs-small); color: var(--ink-on-dark-soft);
  margin-bottom: var(--sp-3);
}
.breadcrumb a { color: var(--cub-teal-light); font-weight: 700; }

/* ============================================================
   Values grid (despre noi)
   ============================================================ */
.value-card {
  padding: var(--sp-4);
  border-radius: var(--radius-m);
  background: #fff;
  border: 1px solid var(--line);
}
.value-card h3 { font-size: 1.05rem; margin-bottom: var(--sp-1); }
.value-card p { font-size: var(--fs-small); color: var(--ink-soft); }

.doctrine-box {
  background: var(--gradient-brand);
  border-radius: var(--radius-l);
  padding: var(--sp-6);
  color: #fff;
}
.doctrine-box h2 { margin-bottom: var(--sp-3); }
.doctrine-box p { color: rgba(255,255,255,0.92); }

/* ============================================================
   Fix Elementor — header/footer full width
   Elementor adaugă implicit un container cu max-width pe secțiuni.
   Regulile de mai jos îl elimină pentru widget-ul HTML CUB.
   ============================================================ */
.elementor-section.elementor-section-stretched > .elementor-container {
  max-width: 100% !important;
  width: 100% !important;
}
.elementor-section-stretched > .elementor-container > .elementor-column > .elementor-widget-wrap {
  padding: 0 !important;
}
.elementor-widget-html {
  width: 100%;
}
.elementor-widget-wrap > .elementor-widget:first-child {
  margin-top: 0 !important;
}
