:root {
  --blue: #1f3fe0;
  --blue-hover: #4a63ef;
  --ink: #161616;
  --line: #d4d4d4;
  --muted: #7a7a7a;
  --gray: #9a9a9a;
  --soft: #bdbdbd;
  --footer: #8a8a8a;
  --max: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Golos Text", Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-hover); }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
}

.display {
  font-family: "Unbounded", sans-serif;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
  position: relative;
  z-index: 20;
}

.logo {
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  white-space: nowrap;
}

.logo:hover { color: var(--ink); }

.nav {
  display: flex;
  gap: 48px;
  font-size: 17px;
}

.nav a { color: var(--ink); }
.nav a:hover { color: var(--blue-hover); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  padding: 12px 22px;
  border: 1px solid var(--ink);
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.btn {
  display: inline-block;
  padding: 18px 30px;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  border: 1px solid transparent;
}

.btn-small {
  padding: 12px 22px;
  font-size: 14px;
}

.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-hover); color: #fff; }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a2a2a; color: #fff; }

.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }

.btn-ghost-light { background: transparent; border-color: #555; color: #fff; }
.btn-ghost-light:hover { border-color: #fff; color: #fff; }

.btn-light { background: #fff; color: var(--blue); }
.btn-light:hover { background: #eef1ff; color: var(--blue); }

.hero {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: end;
  padding-top: 24px;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding-bottom: 56px;
}

.hero h1 {
  margin: 0;
  font-family: "Unbounded", sans-serif;
  font-weight: 900;
  font-size: 108px;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.hero__sub {
  margin-top: 22px;
  font-family: "Unbounded", sans-serif;
  font-weight: 500;
  font-size: 34px;
  letter-spacing: 0.04em;
  color: var(--blue);
}

.hero__lead {
  display: flex;
  flex-direction: column;
  max-width: 560px;
}

.hero__lead p {
  margin: 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  font-size: 20px;
}

.hero__lead p + p {
  border-bottom: 1px solid var(--line);
  line-height: 1.45;
}

.hero__actions,
.contact__actions {
  display: flex;
  gap: 12px;
}

.hero__photo {
  width: 100%;
  height: 820px;
  object-fit: cover;
  object-position: 50% 70%;
}

.marquee {
  background: var(--blue);
  color: #fff;
  overflow: hidden;
  padding: 20px 0;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marq 26s linear infinite;
}

.marquee__group {
  display: flex;
  gap: 44px;
  padding-right: 44px;
  margin: 0;
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
  font-size: 26px;
  text-transform: uppercase;
}

@keyframes marq {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.stats { padding: 110px 0 0; }

.stats__numbers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.stat {
  padding-top: 28px;
  border-top: 2px solid var(--ink);
}

.stat__num {
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
  font-size: 96px;
  line-height: 1;
}

.stat p {
  margin: 14px 0 0;
  font-size: 20px;
  line-height: 1.4;
}

.mottos {
  margin-top: 88px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.motto {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px 36px;
}

.motto:first-child { padding-left: 0; }
.motto:last-child { padding-right: 0; }
.motto:not(:last-child) { border-right: 1px solid var(--line); }

.motto__index {
  font-family: "Unbounded", sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--gray);
}

.motto__title {
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
  font-size: 44px;
  line-height: 1.05;
}

.motto--accent .motto__title { color: var(--blue); }

.section { padding: 120px 0 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 48px;
}

.section-head h2,
.about__title {
  margin: 0;
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
  line-height: 1.02;
}

.section-head h2 {
  font-size: 56px;
  min-width: 0;
}

.index {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.awards {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
}

.award {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}

.award:last-child { border-bottom: 1px solid var(--line); }

.award__num {
  font-family: "Unbounded", sans-serif;
  font-weight: 500;
  font-size: 36px;
  color: var(--blue);
}

.award p {
  margin: 0;
  font-size: 21px;
  line-height: 1.4;
}

.awards__photo,
.about__photo,
.contact__photo {
  width: 100%;
  object-fit: cover;
}

.awards__photo {
  height: 100%;
  min-height: 560px;
  object-position: 50% 25%;
}

.about {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 72px;
  align-items: start;
}

.about__photo {
  height: 780px;
  object-position: 50% 60%;
}

.about__copy {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.about__title {
  margin: 0 0 8px;
  font-size: 64px;
  line-height: 1;
}

.story p {
  margin: 0;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  font-size: 19px;
  line-height: 1.5;
}

.story p:last-child {
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}

.story .quote {
  padding-left: 32px;
  font-family: "Unbounded", sans-serif;
  font-weight: 500;
  font-size: 21px;
  line-height: 1.35;
  color: var(--blue);
}

.formats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.card {
  min-height: 340px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card .btn { margin-top: auto; }

.card__num {
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
  font-size: 22px;
}

.card__title {
  font-weight: 600;
  font-size: 30px;
  line-height: 1.15;
}

.card__text {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
}

.card__points {
  margin: 0;
  padding-left: 1.15em;
  font-size: 17px;
  line-height: 1.5;
}

.card__points li + li { margin-top: 6px; }

.card__time {
  font-family: "Unbounded", sans-serif;
  font-weight: 500;
  font-size: 20px;
}

.card--blue { background: var(--blue); color: #fff; }
.card--blue .card__num { color: #aebcff; }
.card--blue .card__text { color: #dfe4ff; }

.card--dark { background: var(--ink); color: #fff; }
.card--dark .card__num { color: var(--muted); }
.card--dark .card__time { color: #8fa0ff; }
.card--dark .card__text { color: var(--soft); }

.card--line { border: 1px solid var(--line); }
.card--line .card__num { color: var(--gray); }
.card--line .card__time { color: var(--blue); }
.card--line .card__text,
.card--line .card__points { color: var(--footer); }

.reviews { padding-bottom: 120px; }

.reviews__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.reviews__col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.reviews img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid #e4e4e4;
}

.contact {
  background: var(--ink);
  color: #fff;
  padding: 110px 0 70px;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: end;
}

.contact__copy {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact h2 {
  margin: 0;
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
  font-size: 80px;
  line-height: 0.98;
}

.contact__meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 18px;
  color: var(--soft);
}

.contact__meta a { color: var(--soft); }
.contact__meta a:hover { color: #fff; }

.contact__photo {
  height: 560px;
  object-position: 50% 55%;
}

.footer {
  max-width: var(--max);
  margin: 64px auto 0;
  padding-top: 24px;
  border-top: 1px solid #333;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--footer);
}

.footer a { color: var(--footer); }
.footer a:hover { color: #fff; }

.privacy {
  padding: 48px 0 80px;
  max-width: 720px;
  margin: 0 auto;
}

.privacy h1 {
  margin: 0 0 24px;
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 1.15;
  overflow-wrap: break-word;
}

.privacy p,
.privacy li {
  margin: 0 0 14px;
  font-size: 17px;
  line-height: 1.55;
}

.privacy h2 {
  margin: 36px 0 16px;
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.25;
}

.privacy ul {
  margin: 0 0 14px;
  padding-left: 1.2em;
}

.privacy .edition {
  color: var(--muted);
  font-size: 15px;
}

@media (max-width: 1260px) {
  .wrap,
  .footer { padding-left: 24px; padding-right: 24px; }
}

@media (max-width: 900px) {
  .header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-wrap: wrap;
    row-gap: 14px;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .header__actions { margin-left: auto; }

  .menu-toggle,
  .header .btn-small {
    padding: 10px 12px;
    font-size: 13px;
  }

  .menu-toggle { display: inline-block; }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 16px;
  }

  .nav.is-open { display: flex; }

  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid #eee;
  }

  .hero,
  .hero__copy,
  .stats__numbers,
  .mottos,
  .awards,
  .about,
  .formats,
  .reviews__cols,
  .contact__grid,
  .section-head,
  .card,
  .privacy {
    min-width: 0;
  }

  .hero,
  .stats__numbers,
  .mottos,
  .awards,
  .about,
  .formats,
  .reviews__cols,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .stats,
  .section { padding-top: 72px; }

  .hero__copy {
    padding-bottom: 8px;
    gap: 28px;
  }

  .hero h1 {
    font-size: clamp(36px, 11vw, 72px);
    max-width: 100%;
  }
  .hero__sub { font-size: clamp(17px, 5vw, 24px); }

  .section-head h2,
  .about__title,
  .contact h2,
  .privacy h1 {
    font-size: clamp(28px, 8.5vw, 40px);
    overflow-wrap: break-word;
    max-width: 100%;
  }

  .stat__num { font-size: 64px; }

  .motto {
    padding: 24px 0;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .motto:last-child { border-bottom: none; }
  .motto__title { font-size: 32px; }

  .hero__photo {
    height: auto;
    aspect-ratio: 3 / 4;
  }

  .about__copy { order: 1; }
  .about__photo { order: 2; }

  .awards__photo,
  .about__photo,
  .contact__photo {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .hero__actions,
  .contact__actions { flex-wrap: wrap; }

  .marquee__group {
    font-size: 18px;
    gap: 28px;
    padding-right: 28px;
  }

  .award {
    grid-template-columns: 56px 1fr;
    gap: 12px;
    padding: 20px 0;
  }

  .award__num { font-size: 22px; }
  .award p { font-size: 17px; }

  .card {
    padding: 28px;
    min-height: 0;
  }

  .card__title { font-size: 24px; }
  .section-head { margin-bottom: 28px; }

  .contact { padding: 72px 0 40px; }
  .reviews { padding-bottom: 72px; }

  .footer {
    flex-direction: column;
    gap: 8px;
    margin-top: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
}
