/* ---------- Reset & base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root{
  --cream: #FBF6EE;
  --cream-tint: #F3ECE0;
  --ink: #1C231D;
  --ink-soft: #5B6259;
  --accent: #E4622F;
  --accent-dark: #C6501F;
  --sage: #6E8266;
  --white: #FFFFFF;
  --line: rgba(28, 35, 29, 0.1);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --shadow: 0 20px 60px -20px rgba(28, 35, 29, 0.25);
  --container: 1160px;
}

html { scroll-behavior: smooth; }

body{
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.noise{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
  background-image: radial-gradient(circle at 20% 20%, rgba(228,98,47,0.06), transparent 40%),
                     radial-gradient(circle at 85% 10%, rgba(110,130,102,0.08), transparent 35%);
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
  cursor: pointer;
  border: none;
}
.btn-primary{
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 12px 30px -10px rgba(228,98,47,0.55);
}
.btn-primary:hover{
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -10px rgba(228,98,47,0.6);
}
.btn-ghost{
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover{
  border-color: var(--ink);
  transform: translateY(-2px);
}
.btn-small{ padding: 11px 22px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 246, 238, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 20px;
}
.logo{
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.15;
  flex-shrink: 0;
}
.logo-mark{ display: flex; flex-shrink: 0; }
.nav{
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0 auto;
  font-size: 15px;
  font-weight: 500;
}
.nav a{ color: var(--ink-soft); transition: color 0.2s ease; }
.nav a:hover{ color: var(--ink); }
.header-cta{ flex-shrink: 0; }

.nav-toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.nav-toggle span{
  display: block;
  height: 2px;
  width: 18px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------- Eyebrow ---------- */
.eyebrow{
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(228,98,47,0.1);
  color: var(--accent-dark);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
}
.eyebrow-light{
  background: rgba(255,255,255,0.15);
  color: var(--white);
}

/* ---------- Hero ---------- */
.hero{ padding: 72px 0 40px; position: relative; z-index: 1; }
.hero-inner{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1{
  font-size: clamp(2.1rem, 3.6vw, 3.4rem);
  line-height: 1.12;
  margin-bottom: 22px;
}
.hero .lead{
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 460px;
  margin-bottom: 34px;
}
.hero-actions{ display: flex; gap: 14px; flex-wrap: wrap; }

.hero-media{ position: relative; }
.hero-media-shape{
  position: absolute;
  inset: -6% -10% -6% 8%;
  background: linear-gradient(135deg, rgba(228,98,47,0.35), rgba(110,130,102,0.25));
  border-radius: var(--radius-lg);
  filter: blur(2px);
  z-index: 0;
}
.hero-media img{
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  width: 100%;
  height: 460px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

/* ---------- Sections ---------- */
.section{ padding: 96px 0; position: relative; z-index: 1; }
.section-tint{ background: var(--cream-tint); }
.section-head{ max-width: 620px; margin-bottom: 52px; }
.section-head h2{ font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1.2; }

/* ---------- About ---------- */
.about-inner{
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.about-media img{
  border-radius: var(--radius-lg);
  width: 100%;
  height: 420px;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.about-copy h2{
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  line-height: 1.22;
  margin-bottom: 20px;
}
.about-copy p{
  color: var(--ink-soft);
  margin-bottom: 16px;
  max-width: 520px;
  font-size: 16px;
}

/* ---------- Cards (Ce facem) ---------- */
.cards-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card{
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 16px 40px -24px rgba(28,35,29,0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover{
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -20px rgba(28,35,29,0.3);
}
.card-media{ height: 220px; overflow: hidden; }
.card-media img{ width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .card-media img{ transform: scale(1.06); }
.card-body{ padding: 30px 30px 34px; }
.card-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(228,98,47,0.1);
  margin-bottom: 16px;
}
.card-body h3{ font-size: 20px; margin-bottom: 10px; }
.card-body p{ color: var(--ink-soft); font-size: 15px; }

/* ---------- CTA Sprijina-ne ---------- */
.cta-panel{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: stretch;
  background: var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.cta-media{ min-height: 340px; }
.cta-media img{ width: 100%; height: 100%; object-fit: cover; }
.cta-copy{
  padding: 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cta-copy h2{
  color: var(--white);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  line-height: 1.2;
  margin-bottom: 16px;
}
.cta-copy p{
  color: rgba(255,255,255,0.72);
  margin-bottom: 30px;
  max-width: 420px;
}
.cta-copy .btn-primary{ align-self: flex-start; }

/* ---------- Support cards (redirecționare + donații) ---------- */
.support-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.support-card{
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 34px;
  box-shadow: 0 16px 40px -24px rgba(28,35,29,0.35);
}
.support-card h3{ font-size: 19px; margin-bottom: 10px; }
.support-card p{ color: var(--ink-soft); font-size: 15px; margin-bottom: 20px; }

.bank-details{
  border-radius: var(--radius-sm);
  background: var(--cream);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bank-row{ display: flex; flex-direction: column; gap: 3px; }
.bank-label{ font-size: 12.5px; color: var(--ink-soft); }
.bank-value{ font-weight: 600; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; }
.bank-iban{
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.02em;
}
.copy-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.copy-btn:hover{ border-color: var(--accent); }
.copy-btn.copied{ background: rgba(228,98,47,0.12); border-color: var(--accent); }

/* ---------- Contact ---------- */
.contact-panel{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px;
  box-shadow: 0 16px 40px -24px rgba(28,35,29,0.25);
}
.contact-copy, .contact-details{ min-width: 0; }
.contact-copy h2{
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.25;
  margin: 14px 0 14px;
}
.contact-copy p{ color: var(--ink-soft); }
.contact-details{
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}
.contact-item{
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  background: var(--cream);
  transition: background 0.2s ease, transform 0.2s ease;
  min-width: 0;
}
.contact-item:hover{ background: var(--cream-tint); transform: translateX(4px); }
.contact-icon{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(228,98,47,0.12);
  flex-shrink: 0;
}
.contact-item > span:last-child{ min-width: 0; }
.contact-label{ display: block; font-size: 12.5px; color: var(--ink-soft); margin-bottom: 2px; }
.contact-value{ display: block; font-weight: 600; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15.5px; overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.site-footer{
  background: var(--ink);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 0;
  position: relative;
  z-index: 1;
}
.site-footer .logo{ color: var(--white); }
.footer-inner{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand p{ margin-top: 16px; font-size: 14.5px; color: rgba(255,255,255,0.55); max-width: 320px; }
.footer-heading{
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.footer-links, .footer-contact{ display: flex; flex-direction: column; gap: 12px; font-size: 14.5px; }
.footer-links a:hover, .footer-contact a:hover{ color: var(--white); }
.footer-bottom{
  padding-top: 24px;
  padding-bottom: 24px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.45);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
}
.footer-bottom a{ transition: color 0.2s ease; }
.footer-bottom a:hover{ color: rgba(255,255,255,0.8); }
.footer-legal{ display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* ---------- Legal page (politica de confidențialitate) ---------- */
.page-hero{ padding: 64px 0 24px; position: relative; z-index: 1; }
.page-hero h1{
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  line-height: 1.15;
  max-width: 720px;
  margin-bottom: 16px;
}
.page-hero .lead{ color: var(--ink-soft); font-size: 16.5px; max-width: 640px; }
.page-updated{ color: var(--ink-soft); font-size: 13.5px; margin-top: 18px; }

.legal{ padding: 24px 0 96px; position: relative; z-index: 1; }
.legal-content{ max-width: 780px; }
.legal-content h2{
  font-size: 21px;
  margin-top: 44px;
  margin-bottom: 14px;
  scroll-margin-top: 100px;
}
.legal-content h2:first-child{ margin-top: 0; }
.legal-content p{ color: var(--ink-soft); font-size: 15.5px; margin-bottom: 14px; }
.legal-content ul{ color: var(--ink-soft); font-size: 15.5px; margin: 0 0 14px 20px; }
.legal-content li{ margin-bottom: 8px; }
.legal-content strong{ color: var(--ink); }
.legal-content a{ color: var(--accent-dark); text-decoration: underline; text-underline-offset: 2px; }
.legal-content a:hover{ color: var(--accent); }

.legal-toc{
  padding: 28px 32px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: 0 16px 40px -28px rgba(28,35,29,0.35);
  margin-bottom: 12px;
}
.legal-toc-title{
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 14px;
}
.legal-toc ol{
  margin: 0;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  counter-reset: toc;
  list-style: none;
}
.legal-toc li{
  counter-increment: toc;
  position: relative;
  font-size: 15px;
}
.legal-toc li::before{
  content: counter(toc) ".";
  position: absolute;
  left: -22px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--accent-dark);
  top: 1px;
}
.legal-toc a{
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.legal-toc a:hover{ color: var(--accent-dark); border-color: rgba(198,80,31,0.4); }

/* ---------- Cookie banner ---------- */
.cookie-banner{
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  background: var(--ink);
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px -16px rgba(0,0,0,0.45);
  padding: 20px 24px;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  transform: translateY(140%);
  transition: transform 0.5s ease;
}
.cookie-banner.visible{ transform: translateY(0); }
.cookie-banner p{ font-size: 14px; line-height: 1.55; margin: 0; flex: 1; }
.cookie-banner a{ color: var(--white); text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner .btn{ flex-shrink: 0; }

@media (max-width: 560px){
  .cookie-banner{ flex-direction: column; align-items: stretch; text-align: left; padding: 18px 20px; left: 12px; right: 12px; bottom: 12px; }
  .cookie-banner .btn{ width: 100%; }
}

/* ---------- Reveal animation ---------- */
.reveal{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible{ opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 960px){
  .nav{ display: none; }
  .header-cta{ display: none; }
  .nav-toggle{ display: flex; }

  .hero-inner{ grid-template-columns: 1fr; }
  .hero-media{ order: -1; }
  .hero-media img{ height: 320px; }
  .hero-media-shape{ inset: 6px; }
  .hero .lead{ max-width: none; }

  .about-inner{ grid-template-columns: 1fr; gap: 36px; }
  .about-media img{ height: 300px; }
  .about-copy p{ max-width: none; }

  .cards-grid{ grid-template-columns: 1fr; }

  .cta-panel{ grid-template-columns: 1fr; }
  .cta-media{ min-height: 220px; }
  .cta-copy{ padding: 40px 32px; }
  .cta-copy p{ max-width: none; }

  .support-grid{ grid-template-columns: 1fr; }

  .contact-panel{ grid-template-columns: 1fr; padding: 40px 28px; gap: 28px; }

  .footer-inner{ grid-template-columns: 1fr; gap: 32px; }
  .footer-brand p{ max-width: none; }
}

@media (max-width: 560px){
  .section{ padding: 64px 0; }
  .hero{ padding: 48px 0 32px; }
  .btn{ padding: 14px 24px; font-size: 14px; }
  .cta-copy, .contact-panel{ padding: 32px 22px; }
}

/* Mobile nav open state */
body.nav-open .nav{
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 73px;
  left: 0;
  right: 0;
  background: var(--cream);
  padding: 24px;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  z-index: 99;
}
body.nav-open .header-cta{
  display: inline-flex;
  position: fixed;
  top: 235px;
  left: 24px;
  right: 24px;
  z-index: 99;
  width: calc(100% - 48px);
}
body.nav-open .nav-toggle span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2){ opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }
