:root {
  --ink: #111827;
  --muted: #526071;
  --line: #d7dee8;
  --paper: #f6f8fb;
  --white: #ffffff;
  --navy: #08162b;
  --blue: #1769aa;
  --red: #c91f2f;
  --gold: #d7a830;
  --green: #3f7f61;
  --shadow: 0 18px 44px rgba(8, 22, 43, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 16px clamp(20px, 5vw, 72px);
  color: var(--white);
  background: rgba(8, 22, 43, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand {
  font-weight: 700;
  font-size: 18px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.86);
}

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

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  object-fit: cover;
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(8, 22, 43, 0.88), rgba(8, 22, 43, 0.5) 45%, rgba(8, 22, 43, 0.2)),
    linear-gradient(0deg, rgba(8, 22, 43, 0.85), rgba(8, 22, 43, 0.05) 45%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 140px 0 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.section__head--light .eyebrow {
  color: #69b8ea;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(48px, 9vw, 92px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.hero__lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: #e8eef6;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.25;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hero__meta span {
  padding: 10px 14px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
}

.section {
  padding: 84px clamp(20px, 5vw, 72px);
}

.section__head {
  width: min(920px, 100%);
  margin-bottom: 34px;
}

.section__head h2 {
  color: var(--navy);
}

.section--about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.info-card,
.team-card,
.development-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(8, 22, 43, 0.06);
}

.info-card {
  min-height: 240px;
  padding: 24px;
}

.info-card h3 {
  color: var(--navy);
}

.info-card p {
  margin: 16px 0 0;
  color: var(--muted);
}

.section--stats {
  color: var(--white);
  background: var(--navy);
}

.section__head--light h2 {
  color: var(--white);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.stat {
  padding: 30px 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.stat strong {
  display: block;
  color: var(--white);
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 12px;
  color: #cbd7e6;
  font-weight: 700;
}

.teams {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.team-card {
  display: flex;
  min-height: 290px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 24px 18px;
  text-align: center;
}

.team-card__logo {
  width: 112px;
  height: 126px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.team-card__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.team-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.section--season {
  background: #edf2f7;
}

.season {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: season;
}

.season li {
  position: relative;
  min-height: 170px;
  padding: 28px;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
  counter-increment: season;
  overflow: hidden;
}

.season li::before {
  content: counter(season);
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
}

.season li::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 26px;
  height: 4px;
  background: var(--red);
  border-radius: 2px;
}

.season strong {
  display: block;
  font-size: 24px;
  line-height: 1.15;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.gallery figure {
  margin: 0;
  min-height: 210px;
  border-radius: 8px;
  overflow: hidden;
  background: #dbe3ed;
}

.gallery img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  transition: transform 180ms ease;
}

.gallery figure:hover img {
  transform: scale(1.035);
}

.section--development {
  background: var(--white);
}

.development {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.development-card {
  padding: 28px;
}

.development-card h3 {
  color: var(--red);
  font-size: 28px;
}

.development-card ul {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.development-card li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
}

.development-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 9px;
  height: 9px;
  background: var(--green);
  border-radius: 50%;
}

.contacts {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
  padding: 84px clamp(20px, 5vw, 72px);
  color: var(--white);
  background: var(--navy);
}

.contacts h2 {
  color: var(--white);
}

.contacts__panel {
  padding: 28px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.contacts__panel p {
  margin: 10px 0 0;
  color: #dce6f1;
}

.contacts__panel p:first-child {
  margin-top: 0;
}

.contacts__name {
  color: var(--white) !important;
  font-size: 22px;
  font-weight: 700;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px clamp(20px, 5vw, 72px);
  color: #dce6f1;
  background: #050d19;
  font-size: 14px;
}

@media (max-width: 1050px) {
  .about-grid,
  .stats,
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .teams {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .nav {
    justify-content: flex-start;
    font-size: 13px;
  }

  .hero {
    min-height: 760px;
  }

  .hero__content {
    padding: 190px 0 48px;
  }

  .hero__meta span {
    width: 100%;
  }

  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .about-grid,
  .stats,
  .teams,
  .season,
  .gallery,
  .development,
  .contacts {
    grid-template-columns: 1fr;
  }

  .info-card,
  .team-card,
  .season li {
    min-height: auto;
  }

  .contacts {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}
