:root {
  --violet: #9a42df;
  --violet-deep: #63219d;
  --violet-soft: #f6effd;
  --gold: #d9a62e;
  --gold-soft: #fbf4df;
  --ink: #21162b;
  --muted: #655b6d;
  --line: #e8deee;
  --white: #ffffff;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.shell { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(232,222,238,.85);
}
.nav-wrap { min-height: 84px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 340px; }
.brand img { width: 54px; height: 54px; object-fit: contain; }
.brand-name { font-family: Georgia, "Times New Roman", serif; font-size: .96rem; line-height: 1.18; font-weight: 700; max-width: 280px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav a { font-size: .92rem; color: var(--muted); padding: 29px 0 25px; border-bottom: 3px solid transparent; }
.nav a:hover, .nav a.active { color: var(--violet-deep); border-bottom-color: var(--gold); }
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: #fff; }
.lang-switch button { border: 0; background: transparent; color: var(--muted); padding: 6px 10px; border-radius: 999px; cursor: pointer; font-size: .82rem; }
.lang-switch button.active { color: white; background: var(--violet-deep); }
.menu-btn { display: none; margin-left: auto; border: 0; background: transparent; font-size: 1.5rem; cursor: pointer; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 660px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 84% 34%, rgba(154,66,223,.14), transparent 30%),
    radial-gradient(circle at 74% 68%, rgba(217,166,46,.10), transparent 24%),
    linear-gradient(135deg, #fff 0%, #fcf9ff 55%, #f7effd 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  background-image: radial-gradient(circle, var(--violet) 1.2px, transparent 1.2px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, transparent 36%, black 100%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 68px; align-items: center; padding: 92px 0; }
.eyebrow { color: var(--violet-deep); text-transform: uppercase; letter-spacing: .15em; font-size: .78rem; font-weight: 800; }
h1, h2, h3 { margin: 0; line-height: 1.13; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; }
h1 { font-size: clamp(2.8rem, 6vw, 5.25rem); letter-spacing: -.045em; margin: 20px 0 24px; max-width: 800px; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.03em; }
h3 { font-size: 1.18rem; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 680px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 700; border: 1px solid transparent; }
.btn-primary { color: white; background: var(--violet-deep); box-shadow: 0 10px 28px rgba(99,33,157,.22); }
.btn-secondary { color: var(--violet-deep); border-color: var(--violet); background: white; }
.hero-logo { width: min(100%, 460px); margin: auto; filter: drop-shadow(0 24px 42px rgba(86,34,125,.16)); }

.section { padding: 90px 0; }
.section-soft { background: var(--violet-soft); }
.section-dark { color: white; background: linear-gradient(135deg, #4d176f, #7927ad); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 34px; margin-bottom: 42px; }
.section-head p { color: var(--muted); max-width: 570px; margin: 0; }
.section-dark .section-head p { color: rgba(255,255,255,.76); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card { background: white; border: 1px solid var(--line); border-radius: 22px; padding: 30px; }
.card-number { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--gold-soft); color: #8a6300; font-weight: 800; margin-bottom: 22px; }
.card p { color: var(--muted); margin: 12px 0 0; }
.project-card { min-height: 190px; display: flex; flex-direction: column; justify-content: space-between; border-top: 4px solid var(--violet); }
.project-card .tag { color: var(--violet-deep); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; }
.metric-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.16); border-radius: 22px; overflow: hidden; }
.metric { padding: 28px 22px; background: rgba(255,255,255,.06); }
.metric strong { display: block; color: #f2ca67; font-size: 2rem; font-family: Georgia,serif; }
.metric span { color: rgba(255,255,255,.8); font-size: .9rem; }

.page-hero { padding: 96px 0 72px; background: linear-gradient(135deg,#fff 0%,#f7effd 100%); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 900px; font-size: clamp(2.6rem,5vw,4.5rem); }
.narrow { max-width: 820px; }
.copy p { color: var(--muted); font-size: 1.05rem; }
.purpose { border-left: 4px solid var(--gold); padding-left: 24px; margin-top: 34px; }
.timeline { display: grid; gap: 0; }
.timeline-item { display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.timeline-year { color: var(--violet-deep); font-weight: 800; }
.partner-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.partner { display: flex; align-items: center; gap: 14px; min-height: 84px; padding: 18px 20px; background: white; border: 1px solid var(--line); border-radius: 16px; }
.partner-mark { width: 38px; height: 38px; display: grid; place-items:center; border-radius: 50%; color: white; background: var(--violet); font-weight: 800; }
.commitments { counter-reset: commitments; }
.commitment { position: relative; padding: 28px 28px 28px 78px; border-bottom: 1px solid var(--line); }
.commitment::before { counter-increment: commitments; content: counter(commitments); position:absolute; left:20px; top:25px; width:38px; height:38px; display:grid; place-items:center; border-radius:50%; background:var(--gold-soft); color:#8a6300; font-weight:800; }
.template-note { margin-top: 36px; padding: 18px 20px; background: #fff8e8; border: 1px solid #ecd59b; border-radius: 12px; color: #6f5620; }
.contact-details { margin-top: 22px; }
.contact-details p { margin: 0 0 20px; }
.contact-details strong { color: var(--ink); }
.contact-details a { color: var(--violet-deep); font-weight: 700; text-decoration: underline; text-decoration-color: rgba(99,33,157,.32); text-underline-offset: 4px; }
.contact-details a:hover { text-decoration-color: var(--gold); }

.footer { padding: 54px 0 34px; color: rgba(255,255,255,.78); background: #25142d; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 50px; }
.footer-logo { display:flex; align-items:center; gap:14px; color:white; }
.footer-logo img { width: 56px; height: 56px; object-fit:contain; }
.footer h3 { color: white; margin-bottom: 14px; }
.footer a { display:block; margin: 6px 0; }
.copyright { margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .84rem; }

@media (max-width: 980px) {
  .brand { min-width: auto; }
  .brand-name { max-width: 215px; }
  .menu-btn { display:block; }
  .nav { display:none; position:absolute; top:84px; left:0; right:0; flex-direction:column; align-items:stretch; gap:0; padding:12px 20px 22px; background:white; border-bottom:1px solid var(--line); }
  .nav.open { display:flex; }
  .nav a { padding:12px 0; border-bottom:1px solid var(--line); }
  .nav a.active { border-bottom-color: var(--gold); }
  .lang-switch { align-self:flex-start; margin-top:14px; }
  .hero-grid { grid-template-columns:1fr; text-align:center; }
  .lead { margin-left:auto; margin-right:auto; }
  .actions { justify-content:center; }
  .hero-logo { max-width:360px; }
  .grid-3 { grid-template-columns:1fr; }
  .metric-row { grid-template-columns:repeat(2,1fr); }
}

@media (max-width: 700px) {
  .shell { width:min(100% - 28px, var(--max)); }
  .nav-wrap { min-height:74px; }
  .brand img { width:46px; height:46px; }
  .brand-name { font-size:.78rem; max-width:190px; }
  .nav { top:74px; }
  .hero { min-height:auto; }
  .hero-grid { padding:64px 0; gap:38px; }
  h1 { font-size:2.65rem; }
  .section { padding:64px 0; }
  .section-head { display:block; }
  .section-head p { margin-top:16px; }
  .grid-2, .partner-list { grid-template-columns:1fr; }
  .metric-row { grid-template-columns:1fr; }
  .timeline-item { grid-template-columns:1fr; gap:4px; }
  .footer-grid { grid-template-columns:1fr; gap:28px; }
}
