:root {
  --ink: #17181c;
  --muted: #60636f;
  --line: #e7e8ee;
  --paper: #ffffff;
  --soft: #f7f7fa;
  --pink: #ff285f;
  --teal: #00a99d;
  --yellow: #ffc928;
  --dark: #202126;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

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

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

.container {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 16px max(24px, calc((100vw - 1160px) / 2));
  border-bottom: 1px solid rgba(23, 24, 28, 0.08);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 208px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #3e4048;
  font-size: 14px;
  font-weight: 600;
}

.site-nav a {
  transition: color 180ms ease;
}

.site-nav a:hover {
  color: var(--pink);
}

.nav-button {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(23, 24, 28, 0.06);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 96px;
  background:
    linear-gradient(135deg, rgba(255, 40, 95, 0.09), rgba(0, 169, 157, 0.1) 48%, rgba(255, 201, 40, 0.13)),
    #fbfbfd;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(23, 24, 28, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 24, 28, 0.04) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  align-items: center;
  gap: 56px;
}

.hero__content {
  max-width: 590px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--pink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
}

.hero h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(48px, 7vw, 86px);
  line-height: 0.95;
  font-weight: 800;
}

.hero p {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 13px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible,
.event__button:hover,
.event__button:focus-visible {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--pink);
  color: #fff;
  box-shadow: 0 18px 34px rgba(255, 40, 95, 0.28);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: #df174a;
}

.button--ghost {
  border: 1px solid rgba(23, 24, 28, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.button--dark {
  background: var(--dark);
  color: #fff;
  box-shadow: 0 16px 30px rgba(23, 24, 28, 0.18);
}

.hero__visual {
  position: relative;
  min-height: 570px;
}

.hero__visual::before {
  content: "";
  position: absolute;
  inset: 24px -16px -22px 44px;
  border: 2px solid rgba(23, 24, 28, 0.14);
  border-radius: 36px;
}

.hero__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 36px;
  object-fit: cover;
  box-shadow: 0 30px 80px rgba(23, 24, 28, 0.18);
}

.hero__stat {
  position: absolute;
  z-index: 2;
  width: 180px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 22px 54px rgba(23, 24, 28, 0.16);
  backdrop-filter: blur(16px);
}

.hero__stat strong {
  display: block;
  font-size: 31px;
  line-height: 1;
}

.hero__stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.hero__stat--top {
  top: 34px;
  right: -18px;
}

.hero__stat--bottom {
  left: -26px;
  bottom: 44px;
}

.section {
  padding: 96px 0;
}

.partners {
  background: #fff;
}

.partners__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 72px;
}

.partners__media {
  position: relative;
  padding: 18px;
  border-radius: 34px;
  background: linear-gradient(135deg, var(--teal), var(--yellow));
}

.partners__media::after {
  content: "";
  position: absolute;
  right: -22px;
  bottom: -22px;
  width: 42%;
  height: 42%;
  border-radius: 28px;
  background: var(--pink);
  z-index: 0;
}

.partners__image {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1.15;
  border-radius: 24px;
  object-fit: cover;
}

.partners__copy h2,
.cta h2,
.section-title {
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1;
  font-weight: 800;
}

.partners__copy p,
.cta p {
  max-width: 560px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 30px 0;
}

.service-list span {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--soft);
  color: #343741;
  font-weight: 700;
}

.events {
  background: var(--soft);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 38px;
}

.section-heading .eyebrow {
  margin-bottom: 10px;
}

.events__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.event {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  border: 1px solid rgba(23, 24, 28, 0.08);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(23, 24, 28, 0.08);
}

.event > a:first-child {
  width: 100%;
  min-height: 112px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 40, 95, 0.08), rgba(0, 169, 157, 0.1));
}

.event:nth-child(2) > a:first-child {
  background: linear-gradient(135deg, rgba(255, 201, 40, 0.22), rgba(255, 40, 95, 0.07));
}

.event:nth-child(3) > a:first-child {
  background: linear-gradient(135deg, rgba(0, 169, 157, 0.12), rgba(255, 201, 40, 0.2));
}

.event img {
  width: auto;
  max-width: 78%;
  height: 76px;
  object-fit: contain;
}

.event h3 {
  margin: 24px 0 0;
  color: var(--ink);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.16;
}

.event h3 a:hover {
  color: var(--pink);
}

.event__button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 28px;
  color: var(--pink);
  font-size: 14px;
  font-weight: 800;
  transition: transform 180ms ease, color 180ms ease;
}

.event__button:hover,
.event__button:focus-visible {
  color: #c90f3f;
}

.cta {
  background:
    linear-gradient(180deg, var(--soft) 0 50%, #fff 50% 100%);
}

.cta__box {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 46px;
  padding: 54px 58px;
  border-radius: 34px;
  background: var(--dark);
  color: #fff;
  box-shadow: 0 26px 74px rgba(23, 24, 28, 0.24);
}

.cta h2 {
  color: #fff;
}

.cta p {
  color: rgba(255, 255, 255, 0.74);
}

.cta__action {
  display: flex;
  align-items: center;
  gap: 18px;
}

.cta__action img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.22));
}

.site-footer {
  padding: 34px 0;
  background: #17181c;
  color: rgba(255, 255, 255, 0.56);
  font-size: 14px;
}

@media (max-width: 1024px) {
  .site-header {
    position: static;
  }

  .hero__grid,
  .partners__grid,
  .cta__box {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 56px;
  }

  .hero h1 {
    max-width: 12ch;
  }

  .hero__visual {
    min-height: 460px;
  }

  .section-heading {
    display: block;
  }

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

  .cta__action {
    justify-content: space-between;
  }
}

@media (max-width: 767px) {
  .container {
    width: min(100%, calc(100% - 36px));
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px;
  }

  .brand img {
    width: 184px;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
  }

  .nav-button {
    padding: 9px 12px;
  }

  .hero {
    padding: 44px 0 64px;
  }

  .hero__grid {
    gap: 38px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero p {
    font-size: 17px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__visual {
    min-height: 360px;
  }

  .hero__visual img,
  .hero__visual::before {
    border-radius: 24px;
  }

  .hero__stat {
    width: 142px;
    padding: 14px;
  }

  .hero__stat strong {
    font-size: 24px;
  }

  .hero__stat--top {
    right: 8px;
  }

  .hero__stat--bottom {
    left: 8px;
    bottom: 18px;
  }

  .section {
    padding: 68px 0;
  }

  .partners__grid {
    gap: 44px;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .event {
    padding: 22px;
  }

  .cta__box {
    padding: 32px 24px;
    border-radius: 26px;
  }

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