:root {
  --muted: #5b6b79;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  --brand: #30485f;
  --accent: #f0b43c;
  --gray-700: #4c4c4c;
}
.partner-card:hover {
  border-color: var(--gray-700);
  background: #fff;
  transform: translateY(-2px);
}
.btn--primary:hover,
.nav-btn:hover:not(:disabled),
.speaker-card__more:hover {
  filter: brightness(0.95);
}
.nav-btn,
.sp-modal {
  place-items: center;
}
.c-card:hover,
.price-card:hover {
  box-shadow: 0 18px 40px rgba(18, 33, 52, 0.12);
}
.btn,
.c-card__link,
.price-card__btn {
  text-decoration: none;
}
.speakers__viewport {
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
:root {
  --text: #0c1b2a;
  --card-bg: #f2f6f9;
  --surface: #ffffff;
  --gap: 24px;
  --radius: 16px;
  --font: 'Roboto', sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: #fff;
}
.event {
  padding-top: 2%;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.event__bg {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.event__hero,
.facts,
.goals__list li {
  position: relative;
}
.event__hero {
  --hero: url('');
  position: relative; /* ✅ тепер ::before відноситься до цього блоку */
  padding: 72px 16px 140px;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  isolation: isolate;
  overflow: hidden; /* на всяк випадок */
  --hero-offset: clamp(120px, 14vh, 220px); /* наскільки підняти блок */
}

.event__hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.5) 0,
      rgba(0, 0, 0, 0.5) 100%
    ),
    var(--hero) center/cover no-repeat;
  z-index: 0; /* фон */
}

.event__inner {
  position: relative;
  z-index: 1;
  margin-bottom: var(--hero-offset); /* підняли вище */
}
.eyebrow {
  color: #f3b745;
  text-align: center;
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 28px; /* 140% */
  text-transform: uppercase;
}
.title,
.year {
  font-size: 44px;
  font-weight: 800;
}
.year {
  line-height: 1;
  color: #f3b745;

  font-family: 'Roboto', sans-serif;
  font-size: 48px;
  font-style: normal;
  font-weight: 700;
  line-height: 40px; /* 83.333% */
  letter-spacing: -0.96px;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.title {
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-size: 56px;
  font-style: normal;
  font-weight: 500;
  line-height: 64px; /* 114.286% */
  margin: 0 auto 12px;
}
.btn,
.cd-num {
  font-weight: 700;
}
.subtitle {
  color: #fff;
  margin: 0 auto 24px;
  max-width: 760px;
  text-align: center;
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 32px; /* 160% */
  opacity: 0.7;
}
.actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 8px 0 24px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 12px;
  border: 2px solid transparent;
  transition: 0.18s ease-in-out;
  cursor: pointer;
}
.btn--primary {
  background: var(--accent);
  color: #201600;
}
.btn--ghost {
  background: 0 0;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}
.countdown {
  max-width: 425px;
  max-height: 90px;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 auto;
}
.cd-label,
.cd-num {
  display: block;
  letter-spacing: -0.48px;
}
.cd-item {
  min-width: 90px;
  min-height: 90px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #30485f;
  box-shadow: 5px 5px 27px 0 rgba(196, 152, 108, 0.1) inset;
  padding: 17px 0;
}
.fact,
.goals__card {
  background: var(--card-bg);
  border: 1px solid #e8eef5;
}
.cd-num {
  color: #f3b745;
  font-family: Roboto, sans-serif;
  font-size: 24px;
  font-style: normal;
  line-height: 32px;
}
.facts,
.goals {
  color: var(--text);
}
.cd-label,
.fact h4,
.fact p {
  font-family: Roboto, sans-serif;
  font-style: normal;
  line-height: 24px;
  text-align: center;
}
.cd-label {
  font-size: 16px;
  font-weight: 500;
}
.facts {
  z-index: 5;
  max-width: 1100px;
  margin: -100px auto 24px;
}
.facts__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  justify-content: center;
  /* height: auto; <- за замовчуванням, тому просто видаляємо height */
}

.fact {
  padding: 32px 0;
  display: flex;
  gap: 10px;
  /* max-height: 100%; */
  align-items: center;
  flex-direction: column;
  /* justify-content: space-evenly; */
}
.goals__list li {
  display: flex; /* робимо li флекс-контейнером */
  align-items: center; /* іконка та текст по центру по вертикалі */
  margin-bottom: 6px; /* відстань між рядками */
}

.tick-wrap {
  display: inline-flex;
  align-items: center;
  margin-right: 8px; /* відступ від іконки до тексту */
  flex: 0 0 24px; /* фіксована ширина під SVG */
  height: 24px;
}

.tick-wrap .tick {
  display: inline-flex;
  width: 24px;
  height: 24px;
}

.tick-wrap .tick svg {
  width: 100%;
  height: 100%;
  display: block;
}

.tick-text {
  display: inline-block;
}

.fact h4 {
  margin: 0 0 6px;
  letter-spacing: 0.02em;
  color: #30485f;
  font-size: 20px;
  font-weight: 500;
}
.fact p {
  margin: 0;
  color: #30485f;
  font-size: 16px;
  font-weight: 400;
  opacity: 0.8;
  padding: 0 50px;
}
.fact__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.goals {
  padding: 56px 0;
}
.goals__wrap {
  display: grid;
  grid-template-areas: 'left card';
  justify-content: space-evenly;
}
.goals__left {
  grid-area: left;
  width: 605px;
  padding-left: 40px;
}
.goals__title {
  margin: 0 0 14px;
  font-weight: 800;
  font-size: 28px;
  line-height: 1.25;
  color: var(--brand);
}
.goals__text {
  margin: 0;
  line-height: 1.6;
  font-size: 16px;
  color: #2a3a49;
}
.goals__card {
  grid-area: card;
  border-radius: 12px;
  padding: 32px;
  margin: 0 auto;
  width: 507px;
}
.goals__card-title {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 800;
  color: var(--brand);
}
.goals__list {
  list-style: none;
  padding: 6px 0 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.goals__list li {
  color: #213444;
  line-height: 1.5;
}
.schedule {
  padding: 40px 16px;
  color: var(--text);
}
.schedule__inner,
.speakers__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.schedule__title {
  margin: 0 0 14px;
  font-weight: 800;
  font-size: 28px;
  color: var(--brand);
}
.day__heading {
  margin: 10px 0 8px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #506377;
}
.slots {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #e7edf4;
}
.slot {
  border-bottom: 1px solid #e7edf4;
}
.slot,
.slot__row {
  display: grid;
  gap: 24px;
  align-items: center;
  width: 100%;
  background: 0 0;
  border: none;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}
.slot__time {
  max-width: 193px;
  color: #5b6b79;
  font-size: 14px;
  padding: 14px 0;
}
.slot__body {
  width: 580px !important;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
}
.slot__title {
  width: 425px;
  font-size: 16px;
  color: #0e1c2a;
}
.slot__title--muted {
  color: #365167;
  font-weight: 700;
}
.slot__title--strong {
  color: #0e1c2a;
  font-weight: 700;
}
.slot--talk .slot__row {
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
}
.slot__row:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.slot__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 36px;
}
.slot__meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.slot__speaker {
  width: 425px;
  font-weight: 800;
  color: #1f3245;
}
.slot__subtitle {
  width: 425px;
  color: #5a6f83;
  font-size: 14px;
  line-height: 1.4;
}
.slot__chev {
  justify-self: end;
  color: #6b7f92;
  transition: transform 0.18s;
}
.slot--talk .slot__row[aria-expanded='true'] .slot__chev {
  transform: rotate(180deg);
}
.slot__details {
  grid-column: 1/-1;
  padding: 0 0 12px;
  color: #3a4d60;
}
:root {
  --sched-gap: 72px;
  --surface: #fff;
  --radius: 16px;
  --gap: 24px;
  --ink: #0f2438;
  --bg: #f6f8fb;
  --brand: #223a54;
  --card-bg: #eaf1f6;
  --line: #e1e7ee;
  --gold: #e9b45a;
  --btn: #2b4766;
  --btn-text: #fff;
}
.speakers {
  padding: 48px 16px 24px;
}
.speakers__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.speakers__title {
  margin: 0;
  font-size: 32px;
  font-weight: 800;
  color: #1f3347;
}
.speakers__nav {
  display: flex;
  gap: 10px;
}
.nav-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  border: 0;
  cursor: pointer;
  background: #e8edf4;
  color: #22364a;
  transition: filter 0.15s, opacity 0.15s;
}
.nav-btn:disabled {
  opacity: 0.45;
  cursor: default;
}
.speakers__viewport {
  -webkit-overflow-scrolling: touch;
}
.speakers__track {
  display: flex;
  padding: 8px 4px;
  margin: 0;
  list-style: none;
}
.speaker-card {
  flex: 0 0 clamp(240px, 24vw, 260px);
}
.speaker-card__figure {
  position: relative;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
}
.speaker-card__img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}
.speaker-card__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px;
  font-weight: 700;
  color: #fff;
  font-size: 16px;
}
.sp-modal__close,
.sp-modal__title,
.speaker-card__plus {
  font-size: 20px;
  font-weight: 800;
}
.speaker-card__more {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.15s, filter 0.15s;
}
.speaker-card__plus {
  color: #1d2f42;
  line-height: 1;
}
.sp-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, visibility 0.2s;
}
.sp-modal__backdrop {
  z-index: 0;
  position: absolute;
  inset: 0;
  background: rgba(16, 24, 40, 0.64);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.2s;
}
.sp-modal__dialog {
  z-index: 1;
  position: relative;
  width: min(920px, 92vw);
  max-height: 92vh;
  margin: 0;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  transform: translateY(8px) scale(0.98);
  opacity: 0;
  transition: transform 0.25s, opacity 0.25s;
}
.sp-modal.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.sp-modal.open .sp-modal__backdrop {
  opacity: 1;
}
.sp-modal.open .sp-modal__dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.sp-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: #f3b745;
  color: #1f2d3d;
  line-height: 1;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.sp-modal__content {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 22px;
  align-items: start;
  padding: 22px;
}
.sp-modal__img {
  width: 320px;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  background: #fff;
  box-shadow: 0 0 0 6px #fff;
}
.sp-modal__text {
  max-height: 360px;
  overflow: auto;
  padding-right: 8px;
}
.contacts,
.vip {
  overflow: hidden;
}
.sp-modal__title {
  margin: 4px 0 8px;
  color: #1f3347;
}
.sp-modal__body {
  color: #2d4358;
  line-height: 1.55;
  white-space: pre-wrap;
}
.vip {
  position: relative;
  background: var(--bg, #eef2f6);
  padding: 0 16px;
  height: 545px;
}
.contacts__bg,
.vip__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.contacts__grid,
.contacts__head,
.vip__inner {
  z-index: 1;
  position: relative;
}
.vip__inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  height: 100%;
  align-items: end;
}
.vip__photo,
.vip__text {
  display: flex;
  height: 100%;
}
.vip__text {
  flex-direction: column;
  justify-content: space-between;
}
.vip__title {
  margin: 25% 0 16px;
  font: 800 44px/1.1 system-ui, -apple-system, 'Segoe UI', Roboto, Arial,
    sans-serif;
  color: #243447;
}
.vip__bottom {
  margin-bottom: 15%;
}
.vip__name {
  margin: 0 0 10px;
  font: 700 22px/1.35 system-ui, -apple-system, 'Segoe UI', Roboto, Arial,
    sans-serif;
  color: #173148;
}
.vip__meta {
  margin: 0;
  color: #5c6f82;
  font: 400 15px/1.55 system-ui, -apple-system, 'Segoe UI', Roboto, Arial,
    sans-serif;
  max-width: 520px;
}
.vip__photo {
  justify-content: center;
  align-items: flex-end;
  margin: 0;
}
.vip__photo img {
  width: min(604px, 46vw);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 40px rgba(18, 33, 52, 0.22));
}
.pricing {
  padding: 60px 16px 40px;
}
.pricing__head {
  text-align: center;
  margin-bottom: 28px;
}
.pricing__title {
  margin: 0;
  font: 800 36px/1.15 system-ui, -apple-system, 'Segoe UI', Roboto, Arial,
    sans-serif;
  color: var(--brand);
}
.pricing__grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(250px, 1fr)
  ); /* підлаштовується */
  gap: 28px;
  justify-content: center; /* центрує, якщо карток менше */
}
.price-card {
  position: relative;
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(18, 33, 52, 0.08);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}
.price-card:hover {
  transform: translateY(-4px);
}
.price-card__topline {
  height: 6px;
  background: #f3b745;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}
.price-card__body {
  padding: 28px 24px 22px;
  display: flex;
  flex-direction: column;
  min-height: 380px;
}
.price-card__price {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  color: #f2b94f;
}
.price-card__num {
  font: 800 40px/1 system-ui, -apple-system, 'Segoe UI', Roboto, Arial,
    sans-serif;
}
.price-card__curr {
  font: 700 18px/1.1 system-ui, -apple-system, 'Segoe UI', Roboto, Arial,
    sans-serif;
  transform: translateY(-2px);
  color: #f2b94f;
}
.price-card__name {
  margin: 10px 0 12px;
  font: 700 20px/1.25 system-ui, -apple-system, 'Segoe UI', Roboto, Arial,
    sans-serif;
  color: #2a4158;
}
.price-card__sep {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 10px 0 14px;
}
.price-card__list {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  color: #43596f;
  font: 400 15px/1.6 system-ui, -apple-system, 'Segoe UI', Roboto, Arial,
    sans-serif;
}
.price-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 0;
}
.i-check {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px #f2b94f;
  position: relative;
  top: 2px;
}
.i-check::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: 2px solid #1e3a56;
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg);
}
.price-card__btn {
  margin-top: auto;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  height: 46px;
  border-radius: 10px;
  background: var(--btn);
  color: var(--btn-text);
  font: 800 13px/1 system-ui, -apple-system, 'Segoe UI', Roboto, Arial,
    sans-serif;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 18px rgba(18, 33, 52, 0.14);
  transition: filter 0.2s, transform 0.2s;
}
.price-card__btn:focus-visible {
  outline: #88a6c7 solid 2px;
  outline-offset: 2px;
}
.price-card__btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}
.contacts {
  position: relative;
  padding: 60px 16px 40px;
}
.contacts__head {
  text-align: center;
  margin-bottom: 28px;
}
.contacts__title {
  margin: 0;
  font: 800 36px/1.15 system-ui, -apple-system, 'Segoe UI', Roboto, Arial,
    sans-serif;
  color: var(--brand, #223a54);
}
.contacts__grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.c-card {
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(18, 33, 52, 0.08);
  padding: 32px 28px 26px;
  text-align: center;
  width: 269px;
  height: 360px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  transition: transform 0.25s, box-shadow 0.25s;
}
.c-card:hover {
  transform: translateY(-2px);
}
.c-card__icon {
  width: 100px;
  height: 100px;
  margin: 4px 0 14px;
}
.c-card__icon img,
.soc img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.c-card__icon svg {
  width: 100px;
  height: 100px;
}
.c-card__title {
  margin: 0 0 10px;
  font: 700 18px/1.25 system-ui, -apple-system, 'Segoe UI', Roboto, Arial,
    sans-serif;
  color: #2a4158;
}
.c-card__text {
  margin: 0;
  color: #6a7e90;
  font: 400 15px/1.6 system-ui, -apple-system, 'Segoe UI', Roboto, Arial,
    sans-serif;
}
.c-card__link {
  color: #2b4766;
}
.c-card__link:hover {
  text-decoration: underline;
}
.c-card__socials {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-top: 6px;
}
.soc {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s, filter 0.15s;
}
.soc:hover {
  transform: translateY(-1px);
  filter: brightness(1.2);
}
.speakers__viewport {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}
.speakers__viewport::-webkit-scrollbar {
  display: none;
}
.speakers__track {
  display: flex;
  gap: 16px;
}
.partners-section {
  position: relative;
  z-index: 3; /* вище за абсолютні фони попередніх блоків */
}
.section-title {
  text-align: center;
  color: #223a54;
  font-family: var(--ff-head);
  font: 800 36px/1.15 system-ui, -apple-system, 'Segoe UI', Roboto, Arial,
    sans-serif;
}
.partners-section {
  display: flex;
  padding: 100px 100px;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-bottom: 40px;
}
.partner-card {
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 30px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 193px;
  max-height: 130px;
  transition: 0.3s;
  position: relative;
}
.partner-card:hover {
  border-color: var(--gray-700);
  background: #fff;
  transform: translateY(-2px);
}
.partner-logo {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
}
/* тільки для іконки соцмереж у контактах */
.price-card {
  display: flex;
  flex-direction: column;
}

.price-card__body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.price-card__list {
  flex-grow: 1; /* займає доступний простір */
}

.price-card__btn {
  margin-top: auto; /* відштовхує кнопку вниз */
}
