:root {
  --bg: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #facc15;
  --surface: #f8fafc;
  --border: #e2e8f0;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius: 16px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.header__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.1rem;
}

.logo span {
  color: var(--primary);
}

.project-label {
  font-size: 0.9rem;
  color: #1e3a8a;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  border-radius: 999px;
  padding: 6px 12px;
}

.header__nav {
  display: flex;
  gap: 18px;
}

.header__nav a {
  color: #334155;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.header__nav a:hover {
  color: var(--primary);
}

.hero {
  padding: 56px 0 44px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.breadcrumbs {
  margin: 0 0 12px;
  color: #64748b;
  font-size: 0.92rem;
}

.eyebrow {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.25);
  font-weight: 600;
  color: #713f12;
  margin: 0 0 14px;
}

h1,
h2,
h3 {
  margin: 0 0 12px;
  line-height: 1.25;
}

h1 {
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  max-width: none;
  width: 100%;
}

.title-accent {
  color: var(--primary);
}

h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 20px;
}

.hero__text {
  margin: 0 0 24px;
  color: var(--muted);
  max-width: 760px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 12px;
  padding: 12px 20px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.btn--small {
  padding: 9px 14px;
  font-size: 0.92rem;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28);
}

.btn--primary:hover {
  background: var(--primary-dark);
}

.btn--secondary {
  background: #fff;
  color: var(--text);
  border: 1px solid #bfdbfe;
}

.btn--secondary:hover {
  box-shadow: var(--shadow);
}

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

.stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.stat-card strong {
  display: block;
  color: var(--text);
  font-size: 1.1rem;
  margin-bottom: 2px;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 88px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  background: #fff;
}

.toc h3 {
  margin-bottom: 12px;
}

.toc a {
  display: block;
  color: #334155;
  text-decoration: none;
  padding: 7px 0;
  border-bottom: 1px dashed #e2e8f0;
}

.toc a:last-child {
  border-bottom: 0;
}

.toc a:hover {
  color: var(--primary);
}

.content {
  display: grid;
  gap: 18px;
}

.content-block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.content-block p {
  color: var(--muted);
}

.section {
  padding: 64px 0;
}

.section--light {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.section-lead {
  margin: -4px 0 24px;
  color: var(--muted);
}

.cards-grid {
  display: grid;
  gap: 18px;
}

.cards-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.benefit-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.info-card:hover,
.benefit-card:hover {
  transform: translateY(-4px);
  border-color: #93c5fd;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.1);
}

.card-subtitle {
  color: var(--primary);
  font-weight: 600;
  margin-top: -2px;
}

.speaker-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 14px;
  border: 1px solid var(--border);
}

.check-list {
  margin: 0;
  padding-left: 18px;
}

.check-list li {
  margin-bottom: 8px;
  color: var(--muted);
}

.cta-box {
  margin-top: 16px;
  border-radius: 12px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  padding: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.grant-form {
  background: #fff;
  border: 1px solid #dbeafe;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

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

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
  margin-bottom: 14px;
}

input,
select,
textarea {
  font: inherit;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 12px;
  color: var(--text);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

textarea {
  resize: vertical;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-message {
  min-height: 20px;
  margin: 10px 0 0;
  font-weight: 600;
}

.form-message.success {
  color: #15803d;
}

.form-message.error {
  color: #b91c1c;
}

details {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 10px;
  background: #fff;
}

summary {
  cursor: pointer;
  font-weight: 600;
}

.program-list {
  display: grid;
  gap: 12px;
}

.program-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  background: #fff;
}

.program-item h3 {
  margin-bottom: 6px;
}

.program-item p {
  margin: 0;
}

.pricing-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.price-card {
  border: 1px solid #cfe0ff;
  background: #eff6ff;
  border-radius: 12px;
  padding: 16px;
}

.price-card span {
  color: #1d4ed8;
  font-weight: 600;
  font-size: 0.92rem;
}

.price-card h3 {
  margin: 6px 0 8px;
}

.price-card p {
  margin: 0;
  color: var(--muted);
}

.certificate-note {
  max-width: 760px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: var(--shadow);
}

.certificate-note strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.02rem;
}

.certificate-note p {
  margin: 0;
  color: var(--muted);
}

.footer {
  background: #020617;
  color: #dbeafe;
  padding: 26px 0;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.footer p {
  margin: 4px 0 0;
  color: #93c5fd;
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.footer__contacts a {
  color: #f8fafc;
  text-decoration: none;
}

.footer__contacts a:hover {
  color: var(--accent);
}

@media (max-width: 960px) {
  .header__nav {
    display: none;
  }

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

  .toc {
    position: static;
  }

  .hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 720px) {
  .breadcrumbs {
    font-size: 0.83rem;
  }

  .section {
    padding: 52px 0;
  }

  .header__inner {
    min-height: 66px;
  }

  .cards-grid--two,
  .cards-grid--three,
  .form-grid {
    grid-template-columns: 1fr;
  }

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

  .grant-form {
    padding: 18px;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__contacts {
    align-items: flex-start;
  }
}

.section-kicker {
  display: inline-block;
  margin: 0 0 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
}

.direction-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 34px;
}

.direction-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.direction-icon {
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 14px;
  background: #eef4ff;
  color: var(--primary);
  font-weight: 800;
  font-size: 1.35rem;
}

.direction-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.direction-card h3 {
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.direction-card p {
  color: var(--muted);
  margin: 0 0 20px;
}

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

.yellow-list li {
  position: relative;
  padding-left: 24px;
  color: #334155;
  font-weight: 500;
}

.yellow-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--accent);
}

.grant-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.grant-info-card {
  border-left: 4px solid var(--primary);
  background: #f8fafc;
  border-radius: 14px;
  padding: 22px 24px;
}

.grant-info-card h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.grant-info-card p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 960px) {
  .direction-grid,
  .grant-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .direction-grid,
  .grant-info-grid {
    grid-template-columns: 1fr;
  }

  .direction-card {
    padding: 24px;
  }
}
