/* Asociația EVOLIO — stilul site-ului. Culorile sunt cele din siglă și din documente. */
:root {
  --navy: #1F3A5F;
  --navy-2: #2B4C77;
  --navy-deep: #13253C;
  --gold: #B08D57;
  --gold-2: #946F3B;
  --gold-soft: #F6EFE4;
  --green: #437D3C;
  --green-soft: #EAF4E5;
  --leaf: #86C17A;
  --ink: #1C2532;
  --muted: #586273;
  --line: #E1E6ED;
  --soft: #F5F7FA;
  --white: #FFFFFF;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(19, 37, 60, .07);
  --shadow-lg: 0 24px 60px rgba(19, 37, 60, .14);
  --serif: Cambria, "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: Consolas, "Cascadia Mono", "SF Mono", Menlo, monospace;
  --wrap: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65;
  color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--navy); text-decoration-color: rgba(31, 58, 95, .35); text-underline-offset: 3px; }
a:hover { color: var(--gold-2); }
h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.18; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.35rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
h3 { font-size: 1.24rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(176, 141, 87, .7); outline-offset: 2px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.kicker {
  display: inline-block; margin-bottom: .9em; font-size: .78rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2);
}
.lead { font-size: 1.16rem; color: var(--muted); max-width: 660px; }
section { padding: 88px 0; }
.soft { background: var(--soft); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.head { max-width: 740px; margin-bottom: 44px; }
.head.center { margin-left: auto; margin-right: auto; }
.mono { font-family: var(--mono); letter-spacing: .02em; }
.pending { color: var(--muted); font-style: italic; font-family: var(--sans); letter-spacing: 0; }
.small { font-size: .9rem; color: var(--muted); }

/* ── butoane ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.5em; border: 2px solid transparent; border-radius: 999px;
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none;
  cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s, color .15s;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: #fff; box-shadow: 0 8px 22px rgba(176, 141, 87, .35); }
.btn-gold:hover { background: var(--gold-2); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); color: #fff; }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--gold-soft); color: var(--navy); }
.btn-block { width: 100%; }
.btn.is-off, .btn.is-off:hover { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ── banda de sus ─────────────────────────────────────────── */
.banner {
  padding: .65em 20px; text-align: center; font-size: .92rem;
  background: var(--gold-soft); color: #5B431F; border-bottom: 1px solid #EADCC5;
}
.banner strong { color: #46331A; }

/* ── antet ────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .95);
  backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand img { width: auto; height: 56px; }                 /* logoul orizontal, cu numele inclus */
@media (max-width: 600px) { .brand img { height: 48px; } }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { padding: .5em .75em; border-radius: 8px; font-size: .95rem; font-weight: 500; color: var(--ink); text-decoration: none; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); background: var(--soft); }
.nav .btn { margin-left: 10px; padding: .65em 1.25em; color: #fff; }
.nav .btn:hover, .nav .btn[aria-current="page"] { background: var(--gold-2); color: #fff; }
.menu-btn {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--navy); cursor: pointer;
}
.menu-btn svg { width: 22px; height: 22px; }
@media (max-width: 1040px) {
  .menu-btn { display: inline-flex; }
  .nav {
    display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    padding: 10px 20px 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: .8em .6em; }
  .nav .btn { margin: 10px 0 0; }
}

/* ── prima pagină ─────────────────────────────────────────── */
.hero {
  padding: 72px 0 96px;
  background:
    radial-gradient(900px 480px at 88% -5%, #EAF0F7 0%, transparent 62%),
    radial-gradient(700px 420px at -10% 110%, var(--green-soft) 0%, transparent 60%);
}
.hero .wrap { display: grid; grid-template-columns: 1.12fr .88fr; gap: 56px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--gold-2); }
.hero-art {
  position: relative; justify-self: center; width: min(440px, 100%); aspect-ratio: 1;
  display: grid; place-items: center;
}
.hero-art::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%;
  background: conic-gradient(from 210deg, var(--gold-soft), var(--green-soft), #E6EEF8, var(--gold-soft));
}
.hero-art img { width: 74%; }
.pillars { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; font-size: .95rem; color: var(--muted); }
.pillars span { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.navy { background: var(--navy); } .dot.gold { background: var(--gold); } .dot.green { background: var(--leaf); }
@media (max-width: 860px) {
  .hero { padding-top: 48px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { order: -1; width: min(260px, 70%); }
}

/* ── grile și carduri ─────────────────────────────────────── */
.grid { display: grid; gap: 24px; }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1040px) { .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .g4, .g3, .g2 { grid-template-columns: 1fr; } }
.card {
  display: flex; flex-direction: column; padding: 28px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.card p { color: var(--muted); }
.card .more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.card .more svg { width: 18px; height: 18px; transition: transform .15s; }
.card:hover .more svg { transform: translateX(3px); }
a.card { text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: inherit; }
.icon {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px;
  border-radius: 14px; background: #EAF0F7; color: var(--navy);
}
.icon svg { width: 26px; height: 26px; }
.icon.gold { background: var(--gold-soft); color: var(--gold-2); }
.icon.green { background: var(--green-soft); color: var(--green); }

/* ── despre ───────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { flex: 0 0 22px; width: 22px; height: 22px; margin-top: 3px; color: var(--green); }
.quote {
  margin: 0; padding: 28px 30px; border-left: 4px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--gold-soft); font-family: var(--serif); font-size: 1.2rem; color: var(--navy);
}

/* ── proiecte ─────────────────────────────────────────────── */
.badge {
  display: inline-block; align-self: flex-start; margin-bottom: 14px; padding: .3em .75em;
  border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .04em;
  background: var(--gold-soft); color: #7A5A2C;
}
.progress { height: 8px; margin: 18px 0 8px; overflow: hidden; border-radius: 99px; background: var(--line); }
.progress i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--gold), var(--leaf)); }
.amounts { display: flex; justify-content: space-between; font-size: .9rem; color: var(--muted); }
.amounts b { color: var(--navy); }

/* ── bandă albastră ───────────────────────────────────────── */
.band { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%); color: #D3DDE9; }
.band h2 { color: #fff; }
.band .lead { color: #C3D0DF; }

/* ── pagini interioare ────────────────────────────────────── */
.page-hero {
  padding: 64px 0 52px; border-bottom: 1px solid var(--line);
  background: radial-gradient(800px 360px at 90% 0%, #EAF0F7 0%, transparent 65%), var(--soft);
}
.page-hero h1 { max-width: 860px; }

/* ── donații ──────────────────────────────────────────────── */
.donate { padding-top: 56px; }
.donate .wrap { display: grid; grid-template-columns: 1fr 460px; gap: 40px; align-items: start; }
@media (max-width: 980px) { .donate .wrap { grid-template-columns: 1fr; } }
.panel-dark {
  position: relative; overflow: hidden; padding: 52px 48px; border-radius: 24px;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: #CFDAE7;
}
.panel-dark::after {
  content: ""; position: absolute; right: -90px; bottom: -90px; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(176, 141, 87, .35) 0%, transparent 70%);
}
.panel-dark h1 { color: #fff; }
.panel-dark .kicker { color: #D9BE92; }
.panel-dark .checks svg { color: var(--leaf); }
.panel-dark .checks b { color: #fff; }
@media (max-width: 600px) { .panel-dark { padding: 36px 26px; } }

.widget {
  position: sticky; top: 100px; padding: 32px; background: #fff;
  border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg);
}
@media (max-width: 980px) { .widget { position: static; } }
@media (max-width: 600px) { .widget { padding: 24px 20px; } }
.widget h2 { font-size: 1.5rem; margin-bottom: 4px; }
.label { display: block; margin: 22px 0 10px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 999px; background: var(--soft); }
.seg button {
  padding: .75em .5em; border: 0; border-radius: 999px; background: transparent;
  font: inherit; font-weight: 600; color: var(--muted); cursor: pointer;
}
.seg button[aria-pressed="true"] { background: #fff; color: var(--navy); box-shadow: 0 2px 10px rgba(0, 0, 0, .08); }
.tag { margin-left: 4px; padding: .15em .55em; border-radius: 99px; font-size: .68rem; font-style: normal; font-weight: 700; background: var(--gold); color: #fff; vertical-align: 2px; }
.amount-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.amount-grid button {
  padding: 14px 6px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff;
  font: inherit; font-size: 1.2rem; font-weight: 700; color: var(--navy); cursor: pointer; transition: border-color .15s, background .15s;
}
.amount-grid button small { display: block; font-size: .75rem; font-weight: 500; color: var(--muted); }
.amount-grid button:hover { border-color: var(--gold); }
.amount-grid button[aria-pressed="true"] { border-color: var(--gold); background: var(--gold-soft); }
.impact { min-height: 3.2em; margin: 14px 0 18px; padding: 12px 14px; border-radius: 12px; background: var(--green-soft); font-size: .92rem; color: #2E5A29; }
.secure { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 0; font-size: .82rem; color: var(--muted); }
.secure svg { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 2px; }

/* ── câmpuri și formulare ─────────────────────────────────── */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: .88rem; font-weight: 600; }
.field .req { color: var(--gold-2); }
input, select, textarea {
  width: 100%; padding: .78em .95em; border: 1.5px solid var(--line); border-radius: 12px;
  background: #fff; color: var(--ink); font: inherit;
}
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(31, 58, 95, .12); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label {
  display: inline-flex; align-items: center; gap: 8px; padding: .5em .9em; border: 1.5px solid var(--line);
  border-radius: 999px; font-size: .92rem; font-weight: 500; cursor: pointer;
}
.chips input { width: auto; margin: 0; accent-color: var(--navy); }
.chips label:has(input:checked) { border-color: var(--navy); background: #EAF0F7; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 20px; font-size: .9rem; color: var(--muted); }
.consent input { width: auto; margin-top: 4px; accent-color: var(--navy); }
.msg { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 12px; font-size: .93rem; }
.msg.show { display: block; }
.msg.info { background: var(--gold-soft); color: #5B431F; }
.msg.ok { background: var(--green-soft); color: #2E5A29; }
.msg.err { background: #FDECEC; color: #8A2323; }
.form-card { padding: 36px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
@media (max-width: 600px) { .form-card { padding: 24px 20px; } }

/* ── date de identificare ─────────────────────────────────── */
.databox { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.databox div { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.databox div:last-child { border-bottom: 0; }
.databox dt { font-size: .85rem; font-weight: 600; color: var(--muted); }
.databox dd { display: flex; align-items: center; gap: 10px; margin: 0; font-weight: 600; color: var(--navy); text-align: right; }
.copy {
  padding: .3em .75em; border: 0; border-radius: 8px; background: var(--soft);
  font: inherit; font-size: .8rem; font-weight: 600; color: var(--navy); cursor: pointer;
}
.copy:hover { background: #EAF0F7; }

/* ── pași ─────────────────────────────────────────────────── */
.steps { display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; counter-reset: pas; }
.steps li { position: relative; min-height: 44px; padding-left: 62px; }
.steps li::before {
  counter-increment: pas; content: counter(pas); position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 700;
}
.steps h3 { margin-bottom: .2em; font-family: var(--sans); font-size: 1.05rem; }
.steps p { margin: 0; color: var(--muted); }

/* ── calculator ───────────────────────────────────────────── */
.calc { padding: 32px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.calc .result { margin-top: 8px; padding: 22px; border-radius: 16px; background: var(--navy); color: #CFDAE7; }
.calc .result b { display: block; margin: 4px 0; font-family: var(--serif); font-size: 2.2rem; color: #fff; }
.calc .limits { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; font-size: .85rem; }
.calc .limits span { padding: 10px 12px; border-radius: 10px; background: var(--soft); color: var(--muted); }
.calc .limits strong { display: block; color: var(--navy); font-size: 1rem; }

/* ── întrebări ────────────────────────────────────────────── */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { padding: 18px 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.faq summary { font-weight: 600; color: var(--navy); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--gold-2); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* ── notă ─────────────────────────────────────────────────── */
.notice { display: flex; gap: 14px; padding: 18px 20px; border-radius: 14px; background: var(--gold-soft); color: #5B431F; font-size: .95rem; }
.notice svg { flex: 0 0 22px; width: 22px; height: 22px; margin-top: 2px; color: var(--gold-2); }
.notice.ok { background: var(--green-soft); color: #2E5A29; }
.notice.ok svg { color: var(--green); }

/* ── text lung (confidențialitate) ────────────────────────── */
.prose { max-width: 780px; }
.prose h2 { margin-top: 1.6em; font-size: 1.5rem; }

/* ── subsol ───────────────────────────────────────────────── */
.site-footer { padding: 64px 0 28px; background: var(--navy-deep); color: #A9BBD0; font-size: .95rem; }
.site-footer h4 { margin: 0 0 14px; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.site-footer a { color: #DCE5EF; text-decoration: none; }
.site-footer a:hover { color: #E8CFA6; }
.links { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.4fr; gap: 36px; }
.foot-data { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; }
.foot-data dt { color: #7F95AE; }
.foot-data dd { margin: 0; color: #DCE5EF; word-break: break-word; }
.foot-data .pending { color: #8FA3BA; }
.foot-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; color: #7F95AE;
}
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .foot-grid { grid-template-columns: 1fr; } section { padding: 64px 0; } }
