:root {
  --orange: #ff3300;
  --beige: #e6e2d7;
  --green: #51a453;
  --ink: #181b1a;
  --mono: "DM Mono", monospace;
  --sans: "Inter", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--beige); font-family: var(--sans); }
a { color: inherit; text-decoration: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header {
  position: sticky; top: 0; z-index: 20; min-height: 92px; padding: 14px clamp(24px, 6vw, 96px);
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  background: rgba(230,226,215,.96); box-shadow: 0 4px 22px rgba(0,0,0,.08);
}
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand img { width: 47px; height: 47px; border-radius: 50%; object-fit: cover; }
.brand-copy { display: grid; gap: 3px; white-space: nowrap; }
.brand-copy strong { font-size: 18px; letter-spacing: -.02em; }
.brand-copy small { color: #66839b; font-size: 12px; }
.partner-mark { margin-left: 8px; padding: 7px 10px; color: var(--orange); background: rgba(255,255,255,.52); border: 1px solid rgba(81,164,83,.32); border-radius: 5px; font: 500 11px/1 var(--mono); }
.primary-nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); font-size: 13px; font-weight: 500; }
.primary-nav a { padding: 10px 2px; white-space: nowrap; transition: color .2s ease, transform .2s ease; }
.primary-nav a:hover { color: var(--orange); transform: translateY(-1px); }
.primary-nav a.active { padding: 10px 17px; color: white; background: var(--orange); border: 2px solid #232323; border-radius: 10px; box-shadow: 0 2px 0 #232323; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid rgba(0,0,0,.18); border-radius: 9px; background: rgba(255,255,255,.55); }
.menu-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--ink); }

.hero {
  min-height: calc(100svh - 92px); padding: 36px clamp(24px, 12vw, 244px) 70px;
  display: flex; align-items: center;
  background-image: linear-gradient(rgba(0,0,0,.05), rgba(0,0,0,.12)), url("crosswalk.jpeg");
  background-size: cover; background-position: center; filter: none;
  position: relative; isolation: isolate;
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255,255,255,.03); backdrop-filter: grayscale(1); }
.hero-panel {
  width: min(845px, 100%); padding: clamp(34px, 5vw, 66px); color: white;
  background: linear-gradient(125deg, rgba(68,68,65,.79), rgba(132,130,124,.68));
  border: 1px solid rgba(255,255,255,.22); border-radius: 30px;
  box-shadow: 0 28px 80px rgba(0,0,0,.25); backdrop-filter: blur(18px) grayscale(1);
}
.eyebrow { display: inline-flex; margin: 0 0 28px; padding: 9px 16px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; color: #f4f1e9; font: 500 12px/1 var(--mono); letter-spacing: .045em; }
.eyebrow span { color: rgba(255,255,255,.62); }
h1 { margin: 0; color: var(--orange); font-size: clamp(52px, 6.2vw, 84px); line-height: .94; letter-spacing: -.055em; text-shadow: 0 8px 17px rgba(0,0,0,.3); }
.intro { max-width: 725px; margin: 30px 0; font-size: clamp(16px, 1.45vw, 20px); line-height: 1.55; color: rgba(255,255,255,.9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button { min-height: 52px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 14px; font: 500 12px/1 var(--mono); text-transform: uppercase; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.16); }
.button-light { color: #323534; background: #f8f6ef; }
.button-light span { color: var(--orange); font: 700 22px/1 var(--sans); }
.button-ghost { background: rgba(255,255,255,.08); }
.button-orange { background: var(--orange); border-color: var(--orange); box-shadow: 0 7px 16px rgba(255,51,0,.28); }
.hero-partners { margin-top: 28px; padding-top: 25px; display: flex; flex-wrap: wrap; align-items: center; gap: 22px 34px; border-top: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.82); font: 500 12px/1.45 var(--mono); }
.partner { display: inline-flex; align-items: center; gap: 11px; }
.partner-icon { width: 28px; height: 28px; flex: 0 0 28px; display: grid; place-items: center; }
.partner-icon svg { width: 21px; height: 21px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ministry .partner-icon { color: var(--orange); }
.cooperation .partner-icon { color: #70c872; }
.partner strong { color: white; font-weight: 500; }

.progress-page { min-height: calc(100svh - 92px); padding: 8vh 7vw; background: var(--beige); scroll-margin-top: 92px; }
.progress-page[hidden] { display: none; }
.progress-title { margin: 0; color: rgba(24,27,26,.78); font: 300 clamp(24px, 3vw, 43px)/1.2 var(--sans); letter-spacing: -.035em; }
.progress-section { margin: 14px 0 0; color: rgba(24,27,26,.36); font: 400 12px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; }

@media (max-width: 1050px) {
  .site-header { min-height: 82px; }
  .partner-mark { display: none; }
  .menu-toggle { display: block; }
  .primary-nav { position: absolute; top: 100%; left: 16px; right: 16px; display: none; padding: 16px; background: var(--beige); border: 1px solid rgba(0,0,0,.15); border-radius: 16px; box-shadow: 0 18px 38px rgba(0,0,0,.16); }
  .primary-nav.open { display: grid; }
  .primary-nav a, .primary-nav a.active { padding: 13px 15px; }
  .hero { min-height: calc(100svh - 82px); padding: 38px 5vw; }
  .progress-page { min-height: calc(100svh - 82px); scroll-margin-top: 82px; }
}

@media (max-width: 620px) {
  .site-header { padding-inline: 18px; }
  .brand img { width: 40px; height: 40px; }
  .brand-copy strong { font-size: 13px; }
  .brand-copy small { font-size: 9px; }
  .hero { align-items: end; padding: 22px 14px; }
  .hero-panel { padding: 28px 22px; border-radius: 23px; }
  .eyebrow { margin-bottom: 22px; padding: 8px 11px; font-size: 9px; }
  h1 { font-size: clamp(46px, 15vw, 66px); }
  .intro { margin: 22px 0; font-size: 16px; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-partners { display: grid; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
