/* Asociația ODIN — demo. Un singur fișier de stiluri pentru Acasă și Susține. */

:root {
  --navy-950: #0f1840;
  --navy-900: #141f4d;
  --navy: #1e2f6b;
  --blue: #1f3a8a;
  --blue-400: #4b67c9;
  --violet: #6d3fc0;
  --violet-700: #5a31a3;
  --violet-200: #d7c9f5;
  --lav-50: #f8f6fd;
  --lav-100: #f1ecfb;
  --lav-200: #e4dbf7;
  --ink: #15172a;
  --text: #2b2e44;
  --muted: #50556e;
  --line: #e5e1ef;
  --white: #fff;
  --grad: linear-gradient(115deg, #1f3a8a 0%, #43399f 52%, #6d3fc0 100%);
  --grad-soft: linear-gradient(115deg, #eef1fb 0%, #f3eefc 100%);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(20, 31, 77, .06), 0 4px 12px rgba(20, 31, 77, .05);
  --shadow: 0 2px 6px rgba(20, 31, 77, .05), 0 24px 48px -16px rgba(30, 47, 107, .22);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 9vw, 128px);
  --header-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@media (min-width: 900px) {
  body { font-size: 1.125rem; }
}

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  color: var(--ink);
  font-weight: 560;
  line-height: 1.12;
  letter-spacing: -.012em;
  margin: 0 0 .5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.35rem, 5.4vw, 4.25rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.85rem); }
h3 { font-size: clamp(1.3rem, 1.9vw, 1.5rem); line-height: 1.25; }

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

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

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

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.skip:focus { top: 12px; color: #fff; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Butoane ---------- */

.btn {
  --pad-y: 15px;
  --pad-x: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 48px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: 600 1rem/1.2 var(--font-body);
  letter-spacing: .005em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}

.btn-primary {
  color: #fff;
  background: var(--grad);
  box-shadow: 0 8px 22px -10px rgba(76, 52, 170, .7);
}
.btn-primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 12px 28px -10px rgba(76, 52, 170, .8); }

.btn-ghost {
  color: var(--navy);
  background: #fff;
  border-color: var(--lav-200);
}
.btn-ghost:hover { color: var(--violet-700); border-color: var(--violet); }

.btn-light {
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .55);
}
.btn-light:hover { color: #fff; background: rgba(255, 255, 255, .16); border-color: #fff; }

.btn-white {
  color: var(--navy);
  background: #fff;
  box-shadow: 0 10px 26px -12px rgba(0, 0, 0, .45);
}
.btn-white:hover { color: var(--violet-700); transform: translateY(-1px); }
.btn-white .icon { color: var(--violet); }

.btn-sm { --pad-y: 10px; --pad-x: 20px; min-height: 42px; font-size: .95rem; }
.btn-lg { --pad-y: 18px; --pad-x: 30px; min-height: 58px; font-size: 1.08rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(20, 31, 77, .5); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}
.brand:hover { color: var(--ink); }

.brand-lockup { display: flex; flex-direction: column; line-height: 1; }

.brand-kicker {
  font: 600 .62rem/1 var(--font-body);
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 5px;
  padding-left: 2px;
}

.brand-word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.85rem;
  letter-spacing: .08em;
  line-height: .95;
  background: linear-gradient(100deg, #1f3a8a 10%, #6d3fc0 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: .02em;
}

.brand-long {
  display: none;
  padding-left: 16px;
  border-left: 1px solid var(--lav-200);
  font-size: .74rem;
  line-height: 1.35;
  color: var(--muted);
  max-width: 250px;
}

@media (min-width: 1180px) {
  .brand-long { display: block; }
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--text);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  transition: color .2s, background-color .2s;
}
.nav-list a:hover { color: var(--violet-700); background: var(--lav-100); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .i-close { display: none; }
.site-header.is-open .nav-toggle .i-menu { display: none; }
.site-header.is-open .nav-toggle .i-close { display: block; }

.nav-cta-mobile { display: none; }

@media (max-width: 899px) {
  :root { --header-h: 68px; }
  .header-inner { gap: 10px; }
  .brand-word { font-size: 1.6rem; }
  .nav-toggle { display: inline-flex; }
  .header-cta { --pad-x: 18px; }

  .js .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(20, 31, 77, .45);
    padding: 8px var(--gutter) 24px;
    display: none;
  }
  .js .site-header.is-open .nav { display: block; }

  .js .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .js .nav-list a {
    display: block;
    padding: 14px 6px;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.12rem;
  }
  .js .nav-list a:hover { background: none; }
  .js .nav-cta-mobile { display: flex; margin-top: 18px; }

  /* fără JS: meniul rămâne vizibil sub logo, pe un rând derulabil */
  html:not(.js) .header-inner { flex-wrap: wrap; }
  html:not(.js) .nav { order: 3; width: 100%; overflow-x: auto; }
  html:not(.js) .nav-toggle { display: none; }
}

@media (max-width: 359px) {
  .brand-kicker { display: none; }
  .header-cta { --pad-x: 14px; }
}

/* ---------- Secțiuni ---------- */

.section { padding-block: var(--section); }
.section-tint { background: var(--lav-50); }
.section-tint + .section-tint { padding-top: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font: 600 .8rem/1 var(--font-body);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--violet);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

.lead {
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- Hero (Acasă) ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: var(--navy-950);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(70% 90% at 0% 100%, rgba(109, 63, 192, .42), transparent 62%),
    radial-gradient(50% 60% at 15% 0%, rgba(31, 58, 138, .55), transparent 70%);
}

.hero-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 64%;
  z-index: -2;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 58%; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--navy-950) 0%, rgba(15, 24, 64, .78) 20%, rgba(15, 24, 64, .2) 52%, rgba(15, 24, 64, 0) 78%),
    linear-gradient(0deg, rgba(15, 24, 64, .55) 0%, rgba(15, 24, 64, 0) 38%);
}

.hero-inner {
  min-height: clamp(560px, calc(88vh - var(--header-h)), 760px);
  display: flex;
  align-items: center;
  padding-block: 72px;
}

.hero-copy { max-width: 620px; }

.hero .eyebrow { color: var(--violet-200); }
.hero .eyebrow::before { background: linear-gradient(90deg, #8ea2ff, #c3a6ff); }

.hero h1 { color: #fff; margin-bottom: .45em; }
.hero h1 em {
  font-style: italic;
  font-weight: 480;
  background: linear-gradient(95deg, #b8c6ff, #d6c2ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: clamp(1.1rem, 1.6vw, 1.28rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, .88);
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  font-size: .95rem;
  color: rgba(255, 255, 255, .78);
}
.hero-note .icon { color: #c3b1f5; }

@media (max-width: 819px) {
  .hero { display: flex; flex-direction: column; }
  .hero-media { position: relative; width: 100%; height: clamp(240px, 52vw, 380px); }
  .hero-media img { object-position: 45% 62%; }
  .hero-media::after {
    background: linear-gradient(180deg, rgba(15, 24, 64, 0) 35%, rgba(15, 24, 64, .7) 75%, var(--navy-950) 100%);
  }
  .hero-inner { min-height: 0; padding-top: 4px; padding-bottom: 64px; margin-top: -36px; }
  .hero-actions .btn { flex: 1 1 200px; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .9s 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; }
  .hero-copy > :nth-child(5) { animation-delay: .32s; }
  .hero-media img { animation: settle 1.6s var(--ease) both; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes settle {
  from { transform: scale(1.04); }
  to { transform: none; }
}

/* ---------- Despre ---------- */

.about {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.about-media { position: relative; }
.about-media::before {
  content: "";
  position: absolute;
  inset: 28px -18px -18px 28px;
  border-radius: var(--radius-lg);
  background: var(--grad-soft);
  border: 1px solid var(--lav-200);
  z-index: -1;
}
.about-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.about-media { isolation: isolate; }

.pullquote {
  margin: 32px 0;
  padding: 22px 26px;
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--lav-50);
  border-left: 3px solid var(--violet);
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  line-height: 1.5;
  color: var(--navy);
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 36px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
}
.facts dt {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  color: var(--navy);
  line-height: 1.2;
}
.facts dd { margin: 6px 0 0; font-size: .9rem; color: var(--muted); line-height: 1.4; }

@media (max-width: 899px) {
  .about { grid-template-columns: 1fr; }
  .about-media { margin-right: 18px; }
  .about-media img { aspect-ratio: 3 / 2; object-position: 50% 45%; }
}
@media (max-width: 599px) {
  .about-media img { aspect-ratio: 4 / 4.2; }
}

@media (max-width: 479px) {
  .facts { grid-template-columns: 1fr; gap: 18px; }
  .facts > div { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
  .facts dd { margin: 0; }
}

/* ---------- Ce facem ---------- */

.programs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 32px);
}

.program {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.program:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.program-media { overflow: hidden; aspect-ratio: 4 / 3; }
.program-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.program:hover .program-media img { transform: scale(1.03); }

.program-body { display: flex; flex-direction: column; flex: 1; padding: 28px 28px 30px; }
.program-num {
  font: 600 .8rem/1 var(--font-body);
  letter-spacing: .16em;
  color: var(--violet);
  margin-bottom: 14px;
}
.program p { color: var(--muted); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: auto;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--lav-100);
  color: var(--violet-700);
  font-size: .86rem;
  font-weight: 600;
}
.program .tag { margin-top: 22px; }
.program-body p + .tag { margin-top: auto; }
.program-body > p { margin-bottom: 22px; }

@media (max-width: 899px) and (min-width: 600px) {
  .programs { grid-template-columns: 1fr; }
  .program { flex-direction: row; }
  .program-media { flex: 0 0 40%; aspect-ratio: auto; }
}
@media (max-width: 599px) {
  .programs { grid-template-columns: 1fr; }
}

/* ---------- Bandă cu imagine ---------- */

.band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: var(--navy-950);
}
.band-media { position: absolute; inset: 0; z-index: -2; }
.band-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; filter: grayscale(1) contrast(1.05); }
.band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(15, 24, 64, .93) 0%, rgba(30, 47, 107, .8) 42%, rgba(88, 52, 160, .5) 100%);
}
.band-inner { padding-block: clamp(80px, 10vw, 136px); max-width: 760px; }
.band h2 { color: #fff; }
.band p { color: rgba(255, 255, 255, .86); font-size: clamp(1.08rem, 1.5vw, 1.22rem); margin-bottom: 32px; }
.band .eyebrow { color: var(--violet-200); }
.band .eyebrow::before { background: linear-gradient(90deg, #8ea2ff, #c3a6ff); }

/* ---------- Cum poți ajuta ---------- */

.ways {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 28px);
}

.way {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 30px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.way:hover { color: var(--text); transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--lav-200); }
.way h3 { margin-bottom: .4em; }
.way p { color: var(--muted); margin-bottom: 26px; }

.way-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  border-radius: 16px;
  background: var(--grad-soft);
  border: 1px solid var(--lav-200);
  color: var(--violet);
}
.way-icon .icon { width: 26px; height: 26px; }

.way-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-weight: 600;
  color: var(--blue);
}
.way-link .icon { transition: transform .25s var(--ease); }
.way:hover .way-link { color: var(--violet-700); }
.way:hover .way-link .icon { transform: translateX(4px); }

.way-featured { background: var(--grad); border-color: transparent; color: #fff; }
.way-featured:hover { color: #fff; border-color: transparent; }
.way-featured h3 { color: #fff; }
.way-featured p { color: rgba(255, 255, 255, .86); }
.way-featured .way-icon { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .25); color: #fff; }
.way-featured .way-link, .way-featured:hover .way-link { color: #fff; }

@media (max-width: 899px) {
  .ways { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
}

/* ---------- Contact ---------- */

.contact {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}

.contact-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s;
}
a.contact-item:hover { border-color: var(--lav-200); box-shadow: var(--shadow-sm); color: var(--text); }

.contact-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--lav-100);
  color: var(--violet);
}
.contact-label { display: block; font-size: .85rem; color: var(--muted); line-height: 1.3; }
.contact-value { display: block; font-weight: 600; font-size: 1.1rem; color: var(--ink); line-height: 1.35; overflow-wrap: anywhere; }

.contact-note { margin-top: 22px; font-size: .95rem; color: var(--muted); }

@media (max-width: 899px) {
  .contact { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, .78);
  padding-top: clamp(56px, 7vw, 88px);
  font-size: .97rem;
}
.site-footer a { color: rgba(255, 255, 255, .9); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer :focus-visible { outline-color: #c3a6ff; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand .brand-kicker { color: #c3a6ff; }
.footer-brand .brand-word {
  font-size: 2.1rem;
  background: linear-gradient(100deg, #b4c3ff 10%, #d5bfff 90%);
  -webkit-background-clip: text;
  background-clip: text;
}
.legal-name { margin: 18px 0 8px; max-width: 380px; color: #fff; font-weight: 500; line-height: 1.5; }
.legal-meta { margin: 0; font-size: .9rem; color: rgba(255, 255, 255, .7); }

.footer-title {
  margin: 4px 0 16px;
  font: 600 .78rem/1 var(--font-body);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #c3a6ff;
}
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 22px 28px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .88rem;
  color: rgba(255, 255, 255, .64);
}
.footer-bottom strong { color: #fff; font-weight: 600; }

@media (max-width: 899px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 479px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* =========================================================
   Pagina Susține
   ========================================================= */

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: var(--navy-950);
  padding-block: clamp(64px, 8vw, 104px) clamp(72px, 9vw, 120px);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(55% 120% at 100% 0%, rgba(109, 63, 192, .55), transparent 65%),
    radial-gradient(60% 120% at 0% 100%, rgba(31, 58, 138, .7), transparent 70%);
}
.page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -120px;
  top: 50%;
  width: 520px;
  height: 520px;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 64px solid rgba(255, 255, 255, .04);
  box-shadow: 0 0 0 64px rgba(255, 255, 255, .025);
}
.page-hero h1 { color: #fff; max-width: 760px; }
.page-hero .lead { color: rgba(255, 255, 255, .86); max-width: 640px; margin-bottom: 34px; }
.page-hero .eyebrow { color: var(--violet-200); }
.page-hero .eyebrow::before { background: linear-gradient(90deg, #8ea2ff, #c3a6ff); }

.crumbs { display: flex; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; font-size: .92rem; color: rgba(255, 255, 255, .7); }
.crumbs a { color: rgba(255, 255, 255, .88); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }

.jump { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.jump a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .07);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .2s, border-color .2s;
}
.jump a:hover { background: rgba(255, 255, 255, .15); border-color: rgba(255, 255, 255, .6); color: #fff; }
.jump .icon { color: #c9b6ff; }

@media (prefers-reduced-motion: no-preference) {
  .page-hero .wrap > * { animation: rise .8s var(--ease) both; }
  .page-hero .wrap > :nth-child(2) { animation-delay: .06s; }
  .page-hero .wrap > :nth-child(3) { animation-delay: .12s; }
  .page-hero .wrap > :nth-child(4) { animation-delay: .18s; }
  .page-hero .wrap > :nth-child(5) { animation-delay: .24s; }
}

/* ---------- Donație ---------- */

.donate-section { padding-top: 0; }

.donate-grid {
  display: grid;
  grid-template-columns: 1fr minmax(0, 480px);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}

.donate-intro { padding-top: clamp(56px, 7vw, 96px); }
.donate-intro .lead { margin-bottom: 30px; }

.donate-photo {
  margin-top: 36px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.donate-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .icon { margin-top: .22em; color: var(--violet); }

.donate-card {
  position: relative;
  overflow: hidden;
  margin-top: calc(-1 * clamp(40px, 5vw, 64px));
  padding: clamp(26px, 3vw, 38px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 6px rgba(20, 31, 77, .05), 0 40px 80px -28px rgba(30, 47, 107, .35);
}
.donate-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--grad);
}

.donate-card h2 { font-size: clamp(1.6rem, 2.4vw, 2rem); margin-bottom: .3em; }
.donate-card .sub { color: var(--muted); font-size: 1rem; margin-bottom: 24px; }

.amounts { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.amounts legend {
  padding: 0;
  margin-bottom: 12px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink);
}

.amount-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

.amount { position: relative; }
.amount input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.amount label {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  min-height: 74px;
  padding: 18px 12px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--lav-50);
  color: var(--navy);
  cursor: pointer;
  text-align: center;
  transition: border-color .2s, background-color .2s, color .2s, box-shadow .2s, transform .2s var(--ease);
}
.amount .num { font-family: var(--font-display); font-weight: 600; font-size: 1.85rem; line-height: 1; }
.amount .cur { font-weight: 600; font-size: 1rem; color: var(--muted); }
.amount .word { align-self: center; font-weight: 600; font-size: 1.08rem; }

.amount input:hover + label { border-color: var(--violet-200); background: #fff; }
.amount input:checked + label {
  border-color: var(--violet);
  background: #fff;
  color: var(--violet-700);
  box-shadow: 0 0 0 3px rgba(109, 63, 192, .14), 0 10px 22px -14px rgba(76, 52, 170, .6);
}
.amount input:checked + label .cur { color: var(--violet-700); }
.amount input:focus-visible + label { outline: 3px solid var(--violet); outline-offset: 3px; }

.custom-wrap { margin: 0 0 18px; }
.custom-wrap label { display: block; margin-bottom: 8px; font-weight: 600; font-size: .95rem; color: var(--ink); }
.custom-field { position: relative; }
.custom-field input {
  width: 100%;
  min-height: 56px;
  padding: 14px 64px 14px 18px;
  border: 1.5px solid var(--lav-200);
  border-radius: var(--radius);
  font: 600 1.2rem/1.2 var(--font-body);
  color: var(--ink);
  background: #fff;
  -moz-appearance: textfield;
  appearance: textfield;
}
.custom-field input::-webkit-outer-spin-button,
.custom-field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.custom-field input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(109, 63, 192, .16); }
.custom-field input[aria-invalid="true"] { border-color: #b42318; }
.custom-field .suffix {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 600;
  color: var(--muted);
  pointer-events: none;
}
.field-error { margin: 8px 0 0; font-size: .92rem; color: #b42318; min-height: 0; }
.field-error:empty { display: none; }

.donate-submit { margin-top: 6px; }
.donate-submit .icon { width: 1.15em; height: 1.15em; }

.alt-pay {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 16px 0 0;
  font-size: .95rem;
  color: var(--muted);
}
.alt-pay::before, .alt-pay::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 4px;
  border: 0;
  background: none;
  font: 600 .95rem/1.2 var(--font-body);
  color: var(--blue);
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: var(--lav-200);
  text-underline-offset: 4px;
}
.link-btn:hover { color: var(--violet-700); text-decoration-color: currentColor; }

.trust {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 24px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--lav-50);
  font-size: .95rem;
  line-height: 1.5;
  color: var(--text);
}
.trust .icon { width: 22px; height: 22px; color: var(--violet); margin-top: 1px; }

@media (min-width: 900px) {
  .donate-card { position: sticky; top: calc(var(--header-h) + 24px); }
}

@media (max-width: 899px) {
  .donate-grid { grid-template-columns: 1fr; }
  .donate-card { order: -1; margin-top: calc(-1 * clamp(36px, 8vw, 56px)); }
  .donate-intro { padding-top: 0; }
}

@media (max-width: 420px) {
  .donate-card { padding: 24px 20px; }
  .donate-submit { --pad-x: 16px; font-size: 1rem; }
}

@media (max-width: 380px) {
  .amount .num { font-size: 1.6rem; }
  .amount label { min-height: 66px; padding: 14px 8px; }
}

/* ---------- Sponsorizare / Voluntariat ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.split-media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.split.reverse .split-media { order: 2; }

.steps { list-style: none; counter-reset: step; margin: 28px 0 32px; padding: 0; display: grid; gap: 14px; }
.steps li {
  counter-increment: step;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--lav-200);
  color: var(--violet-700);
  font: 700 .95rem/1 var(--font-body);
  margin-top: -1px;
}
.section-tint .steps li::before { background: #fff; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions .btn { max-width: 100%; text-align: center; }

.note { margin-top: 18px; font-size: .95rem; color: var(--muted); }

@media (max-width: 899px) {
  .split { grid-template-columns: 1fr; }
  .split .split-media { order: -1; max-width: 640px; }
  .split.reverse .split-media { order: -1; }
}
@media (max-width: 599px) {
  .actions .btn { width: 100%; }
}

/* ---------- Încheiere ---------- */

.closing {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}
.closing .icon-badge {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 14px 30px -14px rgba(76, 52, 170, .8);
}
.closing .icon-badge .icon { width: 28px; height: 28px; }
.closing h2 { margin-bottom: .45em; }
.closing .lead { margin-bottom: 30px; }
.closing .actions { justify-content: center; }
.closing-contact { margin-top: 28px; color: var(--muted); font-size: 1rem; }
.closing-contact a { font-weight: 600; }

/* ---------- Dialog demo ---------- */

.modal {
  width: min(480px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--text);
  box-shadow: 0 40px 100px -20px rgba(15, 24, 64, .55);
}
.modal::backdrop { background: rgba(15, 24, 64, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.modal-body { padding: 34px 30px 28px; text-align: center; }
.modal-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--grad-soft);
  border: 1px solid var(--lav-200);
  color: var(--violet);
}
.modal-icon .icon { width: 28px; height: 28px; }
.modal-badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--lav-100);
  color: var(--violet-700);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.modal h2 { font-size: 1.55rem; margin-bottom: .5em; }
.modal p { color: var(--muted); margin-bottom: 26px; }
.modal .btn { min-width: 160px; }

@media (prefers-reduced-motion: no-preference) {
  .modal[open] { animation: pop .28s var(--ease); }
  .modal[open]::backdrop { animation: fade .28s ease; }
}
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

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