:root {
  --black: #000;
  --dark: #222;
  --text: #f5f5f5;
  --muted: #c8c8c8;
  --purple: #72007c;
  --green: #63d570;
  --max: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: Montserrat, Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: inherit;
}

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

button,
audio {
  font: inherit;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px max(24px, calc((100vw - var(--max)) / 2));
  background: #000;
}

.logo-link img {
  width: 120px;
  height: auto;
}

.site-header address {
  margin: 0;
  text-align: right;
  font-style: normal;
  font-weight: 700;
  font-size: 15px;
}

.site-header a {
  text-decoration: none;
}

.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding-top: 86px;
  background: #05050a;
}

.hero-video {
  position: absolute;
  inset: 86px 0 0;
  width: 100%;
  height: calc(100% - 86px);
  object-fit: cover;
  opacity: .82;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 86px 0 0;
  background: radial-gradient(circle at 48% 48%, transparent 0 32%, rgba(0, 0, 0, .12) 46%, rgba(0, 0, 0, .55) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 24px;
}

.hero-content p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 400;
}

.hero-content h1 {
  margin: 0;
  font-size: clamp(26px, 3.3vw, 38px);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0;
  font-weight: 700;
}

.section {
  padding: 68px 0 76px;
}

.section-dark {
  background: var(--dark);
}

.section-black {
  background: var(--black);
}

.section h2,
.section h3 {
  margin: 0 0 18px;
  font-size: clamp(25px, 2.6vw, 34px);
  line-height: 1.15;
}

.lead {
  max-width: 1050px;
  margin: 0 0 34px;
  font-weight: 600;
  color: #f0f0f0;
}

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

.video-grid {
  margin-top: 28px;
}

.video-card {
  position: relative;
  min-height: 170px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #151515;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 16px 24px rgba(0, 0, 0, .28);
}

.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .88;
  transition: transform .25s ease, opacity .25s ease;
}

.video-card.empty img {
  display: none;
}

.video-card:hover img {
  transform: scale(1.04);
  opacity: 1;
}

.play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 86px;
  height: 86px;
  border: 5px solid rgba(255, 255, 255, .75);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.play::after {
  content: "";
  position: absolute;
  left: 34px;
  top: 25px;
  border-left: 22px solid rgba(255, 255, 255, .85);
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
}

.more-link {
  display: inline-block;
  margin-top: 42px;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 800;
}

.cta {
  min-height: 150px;
  padding: 34px 24px;
  display: grid;
  grid-template-columns: auto auto;
  justify-content: center;
  align-items: center;
  gap: 3ch;
  background: #fff;
  color: #000;
}

.cta h2 {
  margin: 0;
  text-align: center;
  font-size: clamp(24px, 2.5vw, 34px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 54px;
  padding: 14px 24px;
  border: 0;
  border-radius: 4px;
  background: var(--purple);
  color: #fff;
  text-transform: uppercase;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 16px rgba(0, 0, 0, .12);
}

.button.green {
  background: var(--green);
  min-width: 250px;
  font-size: 20px;
}

.audio-grid {
  margin-top: 34px;
}

.audio-card h3 {
  margin: 0 0 12px;
  color: #1b1b1b;
  font-size: 20px;
}

.section-dark .audio-card h3,
.section-black .audio-card h3 {
  color: rgba(255, 255, 255, .17);
}

.audio-card audio {
  width: 100%;
  height: 42px;
  filter: grayscale(1);
}

hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, .16);
  margin: 0 0 34px;
}

hr + h2 {
  margin-bottom: 30px;
}

.about {
  min-height: 230px;
}

.about p {
  max-width: 1040px;
  margin: 0 0 18px;
  font-weight: 600;
}

.reviews {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
  padding-top: 28px;
}

.reviews a {
  display: block;
}

.reviews img {
  width: 100%;
  aspect-ratio: 3 / 4.15;
  object-fit: cover;
  object-position: top center;
  border-radius: 4px;
  background: #fff;
}

.logo-cloud {
  display: grid;
  grid-template-columns: repeat(8, minmax(72px, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.logo-cloud img {
  width: 100%;
  max-width: 112px;
  margin: auto;
  filter: grayscale(.1);
}

.footer {
  background: #000;
  padding: 74px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 64px;
  align-items: start;
}

.footer-logo {
  width: 190px;
  margin: 0 0 54px 80px;
}

.footer-note {
  color: #777;
  max-width: 780px;
}

.footer-contacts {
  text-align: right;
  font-weight: 600;
}

.footer-contacts a {
  text-decoration: none;
}

.copyright {
  margin: 42px 0 0;
  padding: 15px 24px;
  background: #fff;
  color: #333;
  text-align: center;
}

.modal,
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
}

.modal.is-open,
.lightbox.is-open {
  display: block;
}

.modal-backdrop,
.lightbox {
  background: rgba(0, 0, 0, .78);
}

.modal-panel {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(560px, calc(100% - 32px));
  transform: translate(-50%, -50%);
  background: #151515;
  border-radius: 8px;
  padding: 34px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .5);
}

.modal-panel h2 {
  margin: 0 0 24px;
  text-align: center;
}

.modal-close,
.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

.contact-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.contact-buttons a {
  text-align: center;
  text-decoration: none;
  font-weight: 700;
}

.contact-buttons img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  margin: 0 auto 10px;
}

.lightbox {
  place-items: center;
  padding: 48px 24px;
}

.lightbox.is-open {
  display: grid;
}

.lightbox-content {
  width: min(1040px, 100%);
}

.lightbox iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #000;
}

.lightbox img {
  max-height: 86vh;
  margin: auto;
}

.pdf-link {
  display: block;
  margin: 14px auto 0;
  color: #fff;
  text-align: center;
  font-weight: 700;
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
    height: 72px;
  }

  .site-header address {
    display: none;
  }

  .logo-link img {
    width: 108px;
  }

  .hero {
    min-height: 760px;
    padding-top: 72px;
  }

  .hero-video,
  .hero::after {
    inset: 72px 0 0;
    height: calc(100% - 72px);
  }

  .video-grid,
  .audio-grid {
    grid-template-columns: 1fr;
  }

  .cta {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .button {
    justify-self: center;
  }

  .logo-cloud {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo {
    margin: 0 auto 34px;
  }

  .footer-contacts {
    text-align: center;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .section {
    padding: 46px 0 56px;
  }

  .hero {
    min-height: 690px;
  }

  .hero-content p {
    font-size: 15px;
  }

  .play {
    width: 70px;
    height: 70px;
  }

  .play::after {
    left: 28px;
    top: 20px;
  }

  .contact-buttons {
    grid-template-columns: repeat(2, 1fr);
  }

  .logo-cloud {
    grid-template-columns: repeat(3, 1fr);
  }
}
