html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

main {
  position: relative;
}

.logo {
    margin-left: 32px;
}

.menu {
    margin-bottom: auto;
    margin-top: 16px;
    margin-right: 32px;
}

.hero-note > .p1,
.hero-note1 > .p1,
.hero-note2 > .p1 {
  margin: 0;
  white-space: nowrap;
  display: inline-block;
  opacity: 0;
  transform: rotate(-5deg);
  transform-origin: left center;
  animation: elegantStraighten 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;

}

.hero-note > .p1 {
  animation-delay: 0s;
}

.hero-note1 > .p1 {
  animation-delay: 0.3s;
}

.hero-note2 > .p1 {
  animation-delay: 0.6s;
}

@keyframes elegantStraighten {
  0% {
    opacity: 0;
    transform: rotate(-5deg) translateX(-12px);
  }
  100% {
    opacity: 1;
    transform: rotate(0deg) translateX(0);
  }
}
.hero-note {
    padding: 0.5vw;
    margin-left: 1.5vw;
    font-size: 6vw;
    font-weight: 300;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 2.4vw;
    flex-wrap: nowrap;
}

.p1 {
    margin: 0;
    white-space: nowrap;
}

.figure, .figure1, .figure2 {
    width: 18vw;
    height: 11vw;
    border-radius: 0px;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
    will-change: transform; /* Для оптимизации */
}

/* Контейнер для параллакса */
.figure-parallax {
    transition: transform 0.1s linear; /* Плавное обновление */
}

.slider-img-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(0.1);
    transform-origin: left top;
    opacity: 0;
    animation: expandFromCorner 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes expandFromCorner {
    0% {
        transform: scale(0.1);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.figure .slider-img { animation-delay: 0.2s; }
.figure1 .slider-img { animation-delay: 0.4s; }
.figure2 .slider-img { animation-delay: 0.6s; }


.figure1 {
    order: -1;
    margin-left: 1.5vw;
}

.hero-note1, .hero-note2 {
    padding: 0.5vw;
    margin-top: 1.4vw;
    font-size: 6vw;
    font-weight: 300;
    font-family: 'Inter', sans-serif;
    text-align: right;
    display: flex;
    align-items: center;
    gap: 2.4vw;
    flex-wrap: nowrap;
}

.hero-note1 { margin-left: 1.5vw; font-style: italic; }
.hero-note2 { margin-left: 1.5vw; }

.hero-note3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.9vw;
    line-height: 1.4;
    font-weight: 400;
    margin-left: 6vw;
    z-index: 1000;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    position: relative;
    gap: 0.3vw;
}

.heart-icon {
    width: 0.9vw;
    height: 0.9vw;
    margin-top: -1.2vw;
    z-index: 1000;
}

/* Сердечки inline — скрыты на десктопе */
.heart-inline,
.heart-inline-end {
    display: none;
}


.arrow-icon {
    position: absolute;
    right: 8vw;
    top: 30vw;
    width: 5vw;
    height: 5.6vw;
    z-index: 1002;
}
.block2 {
  margin-top: 96px;
}
.footer {
  margin-top: 10vw;
  width: 100%;
  background-color: #000;
  color: #fff;
  font-family: 'Inter', sans-serif;
}

.footer__inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 4vw 3vw;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.3vw;
  text-decoration: none;
  color: inherit;
}

.footer__name {
  font-size: 1.2vw;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.footer__role {
  font-size: 0.9vw;
  color: #666;
  font-weight: 400;
}

.footer__links {
  display: flex;
  gap: 3vw;
}

.footer__link {
  font-size: 0.9vw;
  color: #888;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__link:hover {
  color: #fff;
}

.footer__copy {
  font-size: 0.9vw;
  color: #444;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Мобильная версия — чистая типографика */
@media (max-width: 600px) {
  main {
    margin-top: 25vw;
  }

  .hero-note {
    margin: 0 5vw;
    padding: 0;
    display: block;
    font-size: 8vw;
  }

  .hero-note1 {
    margin: 6vw 5vw 0;
    padding: 0;
    display: block;
    font-size: 8vw;
    text-align: right;
  }

  .hero-note2 {
    margin: 6vw 5vw 0;
    padding: 0;
    display: block;
    font-size: 8vw;
    text-align: left;
  }

  .p1 {
    white-space: normal;
    line-height: 1.2;
  }

  /* Скрываем картинки на мобильных */
  .figure,
  .figure1,
  .figure2 {
    display: none;
  }

  /* Скрываем подпись с сердечком */
  .hero-note3 {
    display: none;
  }

  .heart-icon {
    display: none;
  }

  /* Показываем сердечко слева от ОТ ИДЕИ */
  .heart-inline {
    display: inline-block;
    width: 6vw;
    height: 6vw;
    margin-right: 2vw;
    vertical-align: middle;
    filter: invert(27%) sepia(94%) saturate(6000%) hue-rotate(352deg) brightness(91%) contrast(92%);
    animation: heartbeat 1.5s ease-in-out infinite;
  }

  /* Показываем сердечко справа от ИНТЕРФЕЙСА */
  .heart-inline-end {
    display: inline-block;
    width: 6vw;
    height: 6vw;
    margin-left: 2vw;
    vertical-align: middle;
    filter: invert(27%) sepia(94%) saturate(6000%) hue-rotate(352deg) brightness(91%) contrast(92%);
    animation: heartbeat 1.5s ease-in-out infinite;
    animation-delay: 0.3s;
  }

  /* Анимация биения сердца */
  @keyframes heartbeat {
    0%, 100% {
      transform: scale(1);
    }
    15% {
      transform: scale(1.15);
    }
    30% {
      transform: scale(1);
    }
    45% {
      transform: scale(1.1);
    }
  }

  /* Анимация появления текста */
  .hero-note {
    animation: slideUp 0.8s ease-out forwards;
  }

  .hero-note1 {
    opacity: 0;
    animation: slideUp 0.8s ease-out 0.2s forwards;
  }

  .hero-note2 {
    opacity: 0;
    animation: slideUp 0.8s ease-out 0.4s forwards;
  }

  @keyframes slideUp {
    0% {
      opacity: 0;
      transform: translateY(30px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }


  /* Скрываем стрелкуe */
  .arrow-icon {
    display: none;
  }
}

@media (max-width: 768px) {
  .footer {
    margin-top: 15vw;
  }

  .footer__inner {
    flex-direction: column;
    gap: 6vw;
    padding: 8vw 5vw;
    align-items: center;
    text-align: center;
  }

  .footer__brand {
    align-items: center;
    gap: 1vw;
  }

  .footer__name {
    font-size: 4vw;
  }

  .footer__role {
    font-size: 3vw;
  }

  .footer__links {
    flex-direction: column;
    gap: 3vw;
    align-items: center;
  }

  .footer__link {
    font-size: 3.5vw;
  }

  .footer__copy {
    font-size: 3vw;
  }
}
