.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--mono-light);
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero__content {
  margin-top: 20%;
  width: 100%;
}

.logo {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw + 1rem, 7rem);
  letter-spacing: 0.05em;
  opacity: 0.9;
  padding-left: 10%;
  padding-right: 10%;
  background-color: rgba(122, 0, 0, 0.75);
  display: inline-flex;
  width: 100vw;
  justify-content: center;
}

.logo img {
  display: inline-block;
  vertical-align: middle;
  height: 1.5em;
  padding: 5px;
  filter: invert(0.9);
}

.tagline {
  font-size: clamp(1.25rem, 2.5vw + 0.25rem, 1.75rem);
  font-weight: 500;
  margin-top: 0.5rem;
  opacity: 0.9;
  height: 2.5rem;
}

.subtagline {

  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  max-width: 30ch;
  margin-inline: auto;
  opacity: 0.9;
}

.tagline span {
  display: inline-block;
  /* transform-origin: center; */
  transition: font-size 1s ease-in-out;
}

.tagline span.active {
  font-size: clamp(1.55rem, 3vw + 0.25rem, 2rem);
  ;
}

/* ABOUT + WHY */
.about,
.why {
  padding-block: var(--gap-xl);
  font-size: 1.1rem;
}

/* TRIO CARDS */
.trio {
  display: grid;
  gap: var(--gap-l);
  padding-block: var(--gap-xl);
}

.card {
  padding: 1.75rem;
  border: 1px solid var(--mono-grey);
  background: var(--mono-light);
  border-radius: 0.75rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .04);
}

.card h2 {
  font-family: var(--font-serif);
  color: var(--mono-dark);
  margin-bottom: 0.5rem;
}



@media (min-width: 800px) {
  .trio {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* FOOTER */
.footer {
  padding-block: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.95rem;
  border-top: 4px solid var(--mono-dark);
}

.footer__logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--mono-dark);
}

#mainLogo {
  font-family: 'Cinzel', serif;
  font-weight: 100;
}

.stats-container {
  width: 100%;
  height: 30vh;

}

.upper-stats {
  height: 50%;
  display: flex;
  flex-direction: row;
  color: var(--mono-dark);
}

.upper-stats .logo-container {
  width: 35%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.upper-stats .logo-container img {
  height: 140%;
  width: auto;
}

.upper-stats .total-surface {
  width: 65%;
  display: flex;
  justify-content: center;
  flex-direction: row;
}

.total-surface .number {
  font-size: 12vh;
  font-weight: 700;
  line-height: 1;
  margin-top: auto;
  margin-bottom: 3px;
}

.total-surface .stat-description {
  display: flex;
  flex-direction: column;
  line-height: 1;
  margin-top: auto;
  margin-left: 15px;
  font-size: 2vh;
  margin-bottom: 10px;
}

.bottom-stats {
  height: 50%;
  background-color: var(--mono-dark);
  color: white;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}

.bottom-stats div {
  display: flex;
}

.bottom-stat-description {
  display: flex;
  flex-direction: column;
  margin-top: auto;
  margin-bottom: 3vh;
  line-height: 1.1;
  margin-right: 10px;
}

.bottom-stat-number {
  font-size: 8vh;
  font-weight: 600;
  margin-top: auto;
  margin-bottom: calc(3vh - 7px);
  line-height: 1;
}

.bottom-stats div span {}

@media (min-width: 601px) {
  header nav.navbar {
    background-color: rgba(255, 255, 255, 0);
  }
}

/* Адаптивность */
@media (max-width: 600px) {
  .card {
    padding: 1.25rem;
  }

  .footer {
    text-align: center;
  }

  .hero__content {
    margin-top: -20%;
  }

  .logo {
    padding-left: 0;
    padding-right: 0;
  }

  .director-info {
    flex-direction: column;
  }

  .director-info h2 {
    margin-top: 5px;
  }

  .director-info p {
    margin-top: 5px;
    margin-bottom: 15px;
  }
}

.social-icons {
  display: flex;
  gap: 10px;
  /* Отступы между иконками */
  align-items: center;
  /* Выравнивание по вертикали */
}

.social-icons a {
  display: inline-block;
  overflow: hidden;
  /* Чтобы содержимое не выходило за скругленные края */
}

.social-icons img {
  display: block;
  border-radius: 8px;
  /* Одинаковое скругление для самих иконок */
}

.img-uniform {
  width: 300px;
  /* задайте нужную одинаковую ширину */
  height: 200px;
  /* задайте нужную одинаковую высоту */
  object-fit: cover;
  /* изображение сохранит пропорции, заполняя рамку */
}


.hamburger .bar {
  background-color: var(--mono-light);
}


@media (max-width: 1050px) {

  /* Line with stats */
  .stats-container {
    height: 45vh;
  }

  .upper-stats {
    height: 10vh;
  }

  .bottom-stats {
    height: 35vh;
  }

  .upper-stats .logo-container {
    width: 35%;
  }

  .upper-stats .stat-description {
    flex-direction: row;
    gap: 5px;
  }

  .upper-stats .logo-container img {
    height: 13vh;
  }

  .upper-stats .total-surface {
    width: 65%;
    flex-direction: column-reverse;
  }

  .total-surface .number {
    font-size: 5vh;
    margin-top: 5px;
    margin-right: auto;
    margin-left: auto;
  }

  .bottom-stats {
    padding-top: 15px;
    flex-direction: column;
  }

  .bottom-stats div {
    margin-left: 15px;
    position: relative;
  }

  .bottom-stat-number {
    font-size: 4.25vh;
    position: absolute !important;
    left: 32vw;
  }
}