:root {
  --navy:      #002c45;
  --navy-700:  #074359;
  --navy-600:  #0b4a63;
  --navy-900:  #001c2d;
  --red:       #d00a2b;
  --red-dark:  #a80722;

  --bg:        #ffffff;
  --surface:   #f4f7f9;
  --surface-2: #eaf0f3;
  --border:    #dfe7ec;

  --ink:       #0b2230;
  --muted:     #5f7480;
  --muted-2:   #8aa0ac;

  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  --container: 1180px;
  --radius: 12px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
picture { display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--red); }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.015em; text-wrap: balance; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
address { font-style: normal; }
button { font: inherit; }

body.no-scroll { overflow: hidden; }

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

.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;
}

section[id], footer[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 14px;
}
.eyebrow--light { color: #ff6b81; }

.section { padding: 88px 0; }
.section__header { max-width: 720px; margin-bottom: 48px; }
.section__title {
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  font-weight: 800;
  color: var(--navy);
}
.section__title--light { color: #ffffff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 26px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.main-nav a {
  position: relative;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--navy);
  padding: 6px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--red);
  transition: right 0.22s ease;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--navy); }
.main-nav a:hover::after, .main-nav a.is-active::after { right: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero { background: var(--navy-900); line-height: 0; }
.hero__kv { width: 100%; height: auto; }

.section--intro { padding-top: 72px; }
.intro__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: start;
}
.intro__title {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  font-weight: 800;
  color: var(--navy);
}
.intro__title-accent { display: block; color: var(--navy-700); }
.intro__body {
  font-size: 1.0625rem;
  color: #33454f;
  border-left: 3px solid var(--red);
  padding-left: 26px;
}

.section--agenda {
  background: var(--navy);
  background-image: radial-gradient(circle at 15% 0%, rgba(11, 74, 99, 0.55), transparent 55%);
  color: #fff;
}
.agenda {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
  align-items: start;
}
.agenda-block {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius);
  padding: 26px 26px 12px;
}
.agenda-block__title {
  position: relative;
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  padding-left: 18px;
  margin-bottom: 20px;
}
.agenda-block__title::before {
  content: "";
  position: absolute;
  left: 0; top: 0.15em; bottom: 0.15em;
  width: 4px;
  background: var(--red);
  border-radius: 2px;
}
.agenda-list { display: flex; flex-direction: column; }
.agenda-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}
.agenda-item:first-child { border-top: 0; }
.agenda-item__time {
  font-size: 13px;
  font-weight: 700;
  color: #8fd0e0;
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
}
.agenda-item__topic {
  font-size: 15.5px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 4px;
}
.agenda-item__speaker {
  font-size: 13.5px;
  color: #a9c2cd;
  margin: 0;
}

.section--speakers { background: var(--surface); }
.speaker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 22px;
}
.speaker-card__btn {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  padding: 26px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.speaker-card__btn:hover {
  transform: translateY(-3px);
  border-color: var(--navy-600);
  box-shadow: 0 12px 28px rgba(0, 44, 69, 0.12);
}
.speaker-card__btn img {
  width: 116px; height: 116px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  margin-bottom: 16px;
  background: var(--surface-2);
}
.speaker-card__name {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--navy);
}
.speaker-card__role {
  font-size: 13px;
  color: var(--muted);
  margin: 6px 0 0;
  line-height: 1.45;
}
.speaker-card__org {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy-600);
  margin: 8px 0 0;
}

.section--prizes { background: var(--bg); }
.prizes__winners {
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 14px;
}
.prizes__intro {
  max-width: 760px;
  margin-bottom: 44px;
  color: #33454f;
  font-size: 1.0625rem;
}
.prize-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 22px;
}
.prize-card {
  padding: 28px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}
.prize-card img {
  height: 150px;
  width: auto;
  max-width: 100%;
  margin: 0 auto 18px;
  object-fit: contain;
}
.prize-card h3 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--navy);
}
.prizes__note {
  margin-top: 40px;
  padding: 26px 32px;
  background: var(--navy);
  border-radius: var(--radius);
  text-align: center;
  color: #fff;
}
.prizes__note strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
}
.prizes__note span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #9fbccb;
}

.site-footer {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  padding: 56px 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
}
.footer__brand img { height: 30px; width: auto; }
.footer__address {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.65;
}
.footer__address a { color: var(--navy); font-weight: 600; }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.footer__social a:hover { transform: translateY(-2px); border-color: var(--navy-600); }
.footer__social img { width: 20px; height: 20px; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 28, 45, 0.72);
  animation: fade 0.2s ease;
}
.modal__panel {
  position: relative;
  width: 100%;
  max-width: 620px;
  max-height: 88vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 30px 70px rgba(0, 28, 45, 0.35);
  animation: pop 0.24s ease;
}
.modal__panel--speaker { max-width: 560px; text-align: center; }
.modal__close {
  position: absolute;
  top: 14px; right: 16px;
  width: 40px; height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--surface);
  color: var(--navy);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.18s ease;
}
.modal__close:hover { background: var(--surface-2); }
.modal__title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
}
.modal__sign { font-weight: 700; color: var(--navy); }
.modal__photo {
  width: 150px; height: 150px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  margin: 0 auto 18px;
  background: var(--surface-2);
}
.modal__role { font-size: 14.5px; color: var(--muted); margin: 0 0 2px; }
.modal__org {
  font-size: 12px; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--navy-600); margin: 0 0 18px;
}
.modal__bio { text-align: left; color: #33454f; font-size: 15px; margin: 0; }

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop  { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }

@media (max-width: 1024px) {
  .intro__grid { grid-template-columns: 1fr; gap: 32px; }
  .intro__body { border-left: 0; padding-left: 0; border-top: 3px solid var(--red); padding-top: 24px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__social { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 18px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 18px 30px rgba(0, 28, 45, 0.08);
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
  .main-nav a:last-child { border-bottom: 0; }
  .main-nav a::after { display: none; }
  .header__inner { position: relative; }
}

@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .container { padding-inline: 18px; }
  .agenda-item { grid-template-columns: 78px 1fr; gap: 12px; }
  .speaker-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
  .speaker-card__btn { padding: 20px 12px; }
  .speaker-card__btn img { width: 92px; height: 92px; }
  .prize-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .prize-card { padding: 20px 12px; }
  .prize-card img { height: 110px; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; text-align: center; justify-items: center; }
  .footer__social { grid-column: auto; }
  .modal__panel { padding: 30px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
