@font-face {
  font-family: "e-Ukraine Head";
  src: url("https://cdn.jsdelivr.net/gh/haos616/e-Ukraine@master/static/fonts/e-UkraineHead-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "e-Ukraine Head";
  src: url("https://cdn.jsdelivr.net/gh/haos616/e-Ukraine@master/static/fonts/e-UkraineHead-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "e-Ukraine Head";
  src: url("https://cdn.jsdelivr.net/gh/haos616/e-Ukraine@master/static/fonts/e-UkraineHead-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "e-Ukraine Head";
  src: url("https://cdn.jsdelivr.net/gh/haos616/e-Ukraine@master/static/fonts/e-UkraineHead-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #005ca8;
  --yellow: #fbde3d;
  --ink: #111112;
  --muted: #323335;
  --paper: #ffffff;
  --radius-pill: 999px;
  --radius-card: 12px;
  --radius-lg: 40px;
  --radius-footer: 80px;
  --container: 1240px;
  --font: "e-Ukraine Head", "Manrope", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.4;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.page {
  overflow-x: hidden;
}

.wrap {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  outline: 1px solid var(--blue);
  outline-offset: -1px;
  color: var(--blue);
  font-size: 20px;
  font-weight: 300;
  line-height: 1.5;
}

.tag--on-blue {
  outline-color: var(--yellow);
  color: var(--yellow);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 0;
  border-radius: var(--radius-pill);
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  transition: transform 0.2s ease, filter 0.2s ease;
}

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

.btn:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.btn--yellow {
  background: var(--yellow);
  color: var(--ink);
}

.btn--blue {
  background: var(--blue);
  color: #fff;
}

.btn--lg {
  min-height: 92px;
  padding: 16px 10px 16px 32px;
  font-size: 20px;
}

.btn--md {
  min-height: 68px;
  padding: 12px 12px 12px 24px;
  font-size: 20px;
}

.btn--block {
  width: 100%;
}

.btn__label {
  flex: 1;
}

.btn__icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-pill);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.btn--yellow .btn__icon {
  background: var(--blue);
  color: #fff;
}

.btn--blue .btn__icon {
  background: var(--yellow);
  color: var(--ink);
}

.btn--md .btn__icon {
  width: 44px;
  height: 44px;
}

.btn--sm {
  min-height: 58px;
  padding: 8px 10px 8px 16px;
  font-size: 16px;
}

.btn--sm .btn__icon {
  width: 42px;
  height: 42px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
}

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

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  padding: 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--muted);
}

.nav a:hover,
.nav a.is-active {
  color: var(--blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.lang {
  display: flex;
  gap: 8px;
}

.lang button {
  min-width: 48px;
  min-height: 48px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid var(--ink);
  background: #fff;
  font-weight: 700;
  font-size: 18px;
}

.lang button.is-active {
  background: var(--ink);
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -7px;
}

.menu-toggle span::after {
  top: 7px;
}

/* Hero */
.hero {
  padding: 20px 0 40px;
}

.hero__wrap {
  /*width: 1440px;*/
  height: 800px;
  background: #1E1E1E;
}
.hero__frame {
  /*position: relative;*/
  /*border-radius: var(--radius-lg);*/
  /*overflow: hidden;*/
  /*min-height: 760px;*/
  /*background: #d9e6f2 center / cover no-repeat;*/
  /*width: 1440px;*/
  height: 552px;
  background: url(../img/header_new.png) #1e1e1e 0.752px -62.097px / 103.229% 107.761% no-repeat;
}

/*.hero__frame::after {*/
/*  content: "";*/
/*  position: absolute;*/
/*  inset: 0;*/
/*  !*background: linear-gradient(90deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.55) 48%, rgba(255, 255, 255, 0.15) 100%);*!*/
/*}*/

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  padding: 348px 80px 64px;
}
.hero__content_container{
  color:#fff;
}
.hero h1 {
  margin: 0;
  /*font-size: clamp(48px, 7vw, 96px);*/
  /*font-weight: 500;*/
  /*line-height: 1.15;*/
  color: #FFF;
  /*font-family: "e-Ukraine Head";*/
  font-size: 80px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%; /* 144px */
}

.hero__lead {
  margin: 8px 0 0;
  /*font-size: 36px;*/
  /*font-weight: 300;*/
  /*line-height: 1.5;*/
  max-width: 662px;

  color: #FFF;
  /*font-family: "e-Ukraine Head";*/
  font-size: 22px;
  font-style: normal;
  font-weight: 300;
  line-height: 150%; /* 36px */
}

.hero__meta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 32px 0 0;
  /*font-size: 32px;*/
  /*font-weight: 400;*/
  color: #FFF;
  /*font-family: "e-Ukraine Head";*/
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 36px */
}

.hero__meta p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.hero__aside {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 24px;
  padding-top: 232px;
}

.partners-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 24px;
}

.brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-chip svg {
  height: 40px;
  width: auto;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section--blue {
  background: var(--blue);
  color: #fff;
}

.section__head {
  margin-bottom: 40px;
}

.about-grid,
.goal-grid,
.offline-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.about-grid {
  grid-template-columns: 1.2fr 0.8fr;
}

.goal-grid {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 56px;
}

.offline-grid {
  grid-template-columns: 420px 1fr;
  gap: 56px;
}

.about h2,
.goal h2 {
  margin: 0 0 24px;
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 500;
  line-height: 1.3;
}

.about h2 .accent,
.hero .accent {
  color: var(--blue);
}

.lead {
  margin: 0 0 24px;
  font-size: clamp(20px, 2.4vw, 36px);
  font-weight: 300;
  line-height: 1.3;
}

.org {
  color: var(--blue);
  font-size: clamp(20px, 2.4vw, 36px);
  font-weight: 500;
  line-height: 1.5;
}

.photo {
  width: 100%;
  height: 524px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  flex: 0 0 100%;
  scroll-snap-align: start;
}

.about-photos__track {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.about-photos__track::-webkit-scrollbar {
  display: none;
}

.promo-card {
  background: var(--yellow);
  color: var(--ink);
  border-radius: var(--radius-card);
  padding: 32px;
  min-height: 451px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.promo-card p {
  margin: 0;
  font-size: 36px;
  font-weight: 300;
  line-height: 1.5;
}

.promo-card strong {
  font-size: clamp(48px, 6vw, 64px);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.stage-photo {
  width: 100%;
  height: 451px;
  object-fit: cover;
  border-radius: var(--radius-card);
}

/* Audience */
.audience-lines {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin-bottom: 56px;
}

.audience-line {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: clamp(22px, 3vw, 40px);
  font-weight: 300;
  line-height: 1.4;
}

.bar {
  flex: 1;
  min-width: 48px;
  height: 60px;
  border-radius: var(--radius-card);
}

.bar--blue {
  background: var(--blue);
}

.bar--yellow {
  background: var(--yellow);
}

.bars {
  flex: 1;
  display: flex;
  gap: 16px;
}

.stat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--blue);
  color: #fff;
  border-radius: var(--radius-card);
  padding: 10px 32px 10px 10px;
}

.stat img {
  width: 100%;
  height: 268px;
  object-fit: cover;
  border-radius: var(--radius-card);
}

.stat strong {
  display: block;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 500;
  line-height: 1.2;
}

.stat p {
  margin: 16px 0 0;
  font-size: 28px;
  font-weight: 300;
}

/* Program */
.program-title {
  margin: 16px 0 32px;
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 500;
}

.program-date {
  font-size: 36px;
  font-weight: 300;
  margin-bottom: 32px;
  color: #FFFFFF;
}

.timeline {
  display: flex;
  flex-direction: column;
}

.slot {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 0 0 24px;
  margin-bottom: 16px;
  border-bottom: 3px solid var(--blue);
}

.slot time {
  display: block;
  width: 409px;
  flex-shrink: 0;
  font-size: clamp(32px, 4.2vw, 64px);
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
  color: #fff;
}

.slot > p,
.slot > div {
  flex: 1 1 0;
  min-width: 0;
}

.slot p {
  margin: 0;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.5;
}

.slot p b {
  font-weight: 500;
  font-size: x-large;
}



.slot-panel {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-top: 24px;
}

.moderator {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  /*flex: 0 1 645px;*/
}

.moderator p {
  margin: 0;
  font-size: 20px;
  font-weight: 300;
}

.moderator b { font-weight: 500; }

.moderator__photo {
  width: 100px;
  height: 100px;
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
}

.moderator__org {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.moderator__org img {
  width: 183px;
  height: 60px;
  object-fit: contain;
}

.participants {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  /*flex: 1 1 280px;*/
  min-width: 0;
}

.participants__title {
  margin: 0;
  flex-shrink: 0;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.4;
}

.participants__list {
  margin: 0;
  padding: 0 0 0 22px;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
}

.participants__list li + li { margin-top: 6px; }

@media (max-width: 991.98px) {
  .slot-panel { flex-wrap: wrap; }
  /*.moderator,*/
  /*.participants { flex: 1 1 220px; }*/
  .moderator__photo { width: 70px; height: 70px; }
  .moderator p,
  .participants__title,
  .participants__list { font-size: 16px; }
  .moderator__org img { width: 135px; height: 44px; }
}
.slot--break {
  background: #f6f7f8;
  border-bottom: 0;
  border-radius: var(--radius-card);
  padding: 16px 20px;
}

/* Speakers slider */
.slider {
  position: relative;
}

.slider__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 8px;
}

.slider__track::-webkit-scrollbar {
  display: none;
}

.speaker {
  flex: 0 0 380px;
  scroll-snap-align: start;
  border-radius: var(--radius-card);
  padding: 32px 12px 12px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.speaker--yellow {
  background: var(--yellow);
  color: var(--ink);
}

.speaker--blue {
  background: var(--blue);
  color: #fff;
}

.speaker h3 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.3;
}

.speaker p {
  margin: 0;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
}

.speaker__photo {

  border-radius: var(--radius-card);

  display: grid;
  place-items: end start;

}

.speaker__initials {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.slider__nav {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.slider__nav button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--blue);
  background: #fff;
  color: var(--blue);
  display: grid;
  place-items: center;
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  z-index: 2;
}

.slider__nav button svg {
  pointer-events: none;
}

.slider__nav button:hover {
  background: var(--blue);
  color: #fff;
}

.dots {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #cfd6dc;
}

.dots button.is-active {
  background: var(--blue);
}

/* Partners */
.partner-grid .slider__track {
  align-items: stretch;
}

.logo-card {
  flex: 0 0 292px;
  min-height: 92px;
  padding: 24px;
  border-radius: 12px var(--radius-card);
  border: 3px solid var(--yellow);
  display: grid;
  place-items: center;
  font-weight: 700;
  text-align: center;
  background: #fff;
}

.logo-card--blue {
  border-color: var(--blue);
}

.logo-card small {
  display: block;
  font-weight: 300;
  font-size: 12px;
  margin-top: 4px;
}

/* Footer */
.footer {
  background: var(--yellow);
  border-top-left-radius: var(--radius-footer);
  border-top-right-radius: var(--radius-footer);
  padding: 64px 16px 40px;
  text-align: center;
}

.footer h2 {
  margin: 0 0 24px;
  font-size: 48px;
  font-weight: 500;
}

.footer .btn {
  max-width: 420px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 32px;
  margin-top: 32px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-weight: 500;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 18, 0.55);
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-overlay.is-open {
  display: flex;
}

.modal {
  width: min(520px, 100%);
  background: #fff;
  border-radius: 24px;
  padding: 32px 24px;
}

.modal h3 {
  margin: 0 0 8px;
  font-size: 28px;
}

.modal p {
  margin: 0 0 20px;
  font-weight: 300;
}

.modal label {
  display: block;
  font-size: 14px;
  margin: 12px 0 6px;
}

.modal input {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cfd6dc;
  border-radius: 12px;
  padding: 8px 12px;
  font: inherit;
}

.modal__actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  background: var(--ink);
  color: #fff;
  padding: 14px 18px;
  border-radius: 12px;
  display: none;
  z-index: 70;
}

.toast.is-on {
  display: block;
}

.mobile-menu {
  display: none;
}

@media (max-width: 991.98px) {
  .tag {
    font-size: 12px;
    padding: 8px 24px;
  }

  .nav,
  .header-actions .btn {
    display: none;
  }

  .header-actions .lang,
  .mobile-menu .lang {
    display: flex;
  }

  .lang button {
    min-width: 40px;
    min-height: 40px;
    padding: 6px 8px;
    font-size: 14px;
  }
  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .header-actions {
    gap: 8px;
  }

  .hero__frame {
    min-height: 0;
    height: 205px;
  }

  .hero__content {
    grid-template-columns: 1fr;
    padding: 165px 16px 32px;
  }
  .hero__wrap {

  }

  .hero h1 {
    font-size: 36px;
    line-height: 1.2;
  }

  .hero__lead{
    font-size: 20px;
  }

  .hero__meta {
    font-size: 16px;
  }
  .hero__aside {
    padding-top: 65px;
  }
  .about-grid,
  .goal-grid,
  .offline-grid,
  .stat {
    grid-template-columns: 1fr;
  }

  .photo,
  .stage-photo,
  .stat img {
    height: 280px;
  }

  .promo-card {
    min-height: 0;
  }

  .promo-card p {
    font-size: 24px;
  }

  .section {
    padding: 48px 0;
  }

  .goal-grid .tag {
    margin-bottom: 8px;
  }

  .audience-line {
    flex-wrap: wrap;
    font-size: 22px;
  }

  .bar {
    height: 28px;
    min-width: 40%;
  }

  .speaker {
    flex-basis: min(342px, 86vw);
  }


  .slot {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .slot time {
    width: auto;
    font-size: 32px;
  }

  .slot p {
    font-size: 16px;
  }





  .btn--lg {
    min-height: 58px;
    padding: 8px 10px 8px 12px;
    font-size: 16px;
  }

  .btn--lg .btn__icon {
    width: 42px;
    height: 42px;
  }

  .footer {
    border-top-left-radius: 80px;
    border-top-right-radius: 80px;
  }

  .footer h2 {
    font-size: 32px;
  }

  .mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 50;
    padding: 24px 16px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
  }

  .mobile-menu.is-open {
    display: flex;
  }

  .mobile-menu a {
    font-size: 20px;
    font-weight: 700;
    padding: 12px;
  }

  .mobile-menu .close-menu {
    position: absolute;
    top: 24px;
    right: 16px;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    font-size: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn {
    transition: none;
  }
}
