@charset "UTF-8";
body {
  margin: 0;
  overflow-x: hidden;
  background: #fff;
}

:root {
  --safe-side-gap: clamp(16px, 6vw, 96px);
}

main {
  overflow: hidden;
  background-color: #fff;
  background-position: 50% 100%;
  background-repeat: no-repeat;
  background-size: contain;
}

.home .header-icon, .home .header__title {
  color: var(--secondary);
}

.home .h1, .home h1 {
  font-size: 80px;
}
@media (max-width: 1420px) {
  .home .h1, .home h1 {
    font-size: calc(
        28px + 52 *
          ((100vw - 320px) / 1100)
      );
  }
}

.panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible; /* Слои могут выходить за пределы секции */
  isolation: isolate;
  padding-top: 100px;
  min-height: 100vh; /* Полноэкранный, но тянется */
}
.panel--auto {
  min-height: 50vh;
}
@media (min-width: 900px) {
  .panel {
    min-height: 100vh; /* Полноэкранный, но тянется */
  }
}
.panel .h2 {
  font-size: 48px;
}
@media (max-width: 1420px) {
  .panel .h2 {
    font-size: calc(
        28.8px + 19.2 *
          ((100vw - 320px) / 1100)
      );
  }
}

.panel > .layer-title-left,
.panel > .layer-title-right,
.panel > .layer-content-left,
.panel > .layer-content-right,
.panel > .layer-content-center {
  position: absolute;
  z-index: 3;
  max-width: 100%;
}

/* --- Базовая настройка слоев параллакса --- */
.parallax-layer {
  position: absolute;
  top: 40%;
  left: 50%;
  width: 100vw;
  min-width: 100%;
  height: 120vh; /* Больше вьюпорта, чтобы фон не обрезался */
  margin-left: -50vw;
  margin-top: -65vh;
  will-change: transform; /* Оптимизация для браузера */
  pointer-events: none;
  opacity: 0;
}

/* --- z-index менеджмент --- */
.layers-bg {
  z-index: 1;
}

.layers-mid {
  z-index: 2;
}

.content {
  z-index: 3;
  position: relative;
  text-align: center;
  padding: 40px;
} /* Контент выше фона и облаков */
.layers-front {
  z-index: 4;
  pointer-events: none;
} /* Самый верхний, не мешает кликам */
.layer-top, .layers-top,
.layer-bottom, .layers-bottom {
  position: absolute;
  left: 50%;
  width: 100vw;
  min-width: 100%;
  margin-left: -50vw;
  z-index: 0; /* Может перекрываться layers-bg */
  pointer-events: none;
}

.layer-top, .layers-top {
  top: 0;
}

.layer-bottom, .layers-bottom {
  bottom: 0;
}

.layer-top img, .layers-top img,
.layer-bottom img, .layers-bottom img {
  display: block;
  width: 100%;
  height: auto;
}

.layers-waves {
  z-index: 2;
  height: 80vh;
  top: auto;
  margin-top: 0;
  background-position: 0 100%;
  background-size: cover;
  opacity: 1;
}

.layers-waves img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.layers-waves--top {
  top: 0;
  bottom: auto;
}

.layers-waves--bottom {
  top: auto;
  bottom: 0;
}

/* --- Специфика слоев --- */
.layers-bg img, .layers-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

/* Декоративные элементы (ОБЛАКА секции 1) */
.cloud {
  position: absolute;
  opacity: 0.8;
  will-change: transform, opacity;
}

.cloud-1 {
  top: 20%;
  left: 0;
  width: 300px;
}

.cloud-2 {
  top: 50%;
  right: 0;
  width: 450px;
}

/* Декоративные элементы (КРУГИ секции 2) */
.circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(0, 153, 255, 0.2);
  backdrop-filter: blur(5px);
}

.circle-1 {
  top: 10%;
  left: 70%;
  width: 200px;
  height: 200px;
}

.circle-2 {
  top: 60%;
  left: -50px;
  width: 300px;
  height: 300px;
}

/* Передний план (Волна и Градиент) */
.wave-floor {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: auto;
  transform: translateY(10%); /* Чуть опускаем изначально */
}

.overlay-gradient {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(to top, #000, transparent);
}

/* --- Анимируемый контент --- */
.animate-title {
  opacity: 0;
  transform: translateY(56px);
  margin: 10px 0;
}

.animate-to-top {
  opacity: 0;
  transform: translateY(70px);
  will-change: transform, opacity;
}

.animate-text {
  opacity: 0;
  transform: translateY(40px);
  margin: 10px 0;
}

/*.animate-fixed-on-scroll {
    position: sticky;
    top: var(--sticky-top, 0px);
    z-index: 20;
    will-change: filter;
    transition: filter 0.35s ease;
}

.animate-fixed-on-scroll.is-sticky {
    filter: drop-shadow(0px 18px 40px rgba(0, 0, 0, 0.25));
}*/
.layer-title-left {
  left: var(--safe-side-gap);
  right: auto;
  text-align: left;
}
.section-1 .layer-title-left {
  top: max(6vmin, 50px);
  z-index: 9 !important;
}
@media (max-width: 992px) {
  .section-1 .layer-title-left {
    top: 50px;
    z-index: 9 !important;
  }
}
@media (max-width: 570px) {
  .section-1 .layer-title-left {
    top: 30px;
  }
}

.layer-title-right {
  left: 50%;
  right: var(--safe-side-gap);
  text-align: right;
}

.layer-content-center {
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.layer-content-right {
  right: 0;
  left: 0;
  top: 40%;
}
@media (min-width: 768px) {
  .layer-content-right {
    left: auto;
    margin-right: -6vw;
  }
}
.section-1 .layer-content-right {
  left: auto;
}
@media (min-width: 992px) {
  .section-1 .layer-content-right {
    top: 10%;
  }
}
@media (max-width: 992px) {
  .section-1 .layer-content-right {
    max-width: 400px;
    margin-right: 0;
  }
  .section-1 .layer-content-right .romb.huge {
    min-width: inherit;
  }
  .section-1 .layer-content-right .romb.huge .romb-content {
    min-width: inherit;
  }
}
@media (max-width: 768px) {
  .section-1 .layer-content-right {
    max-width: 300px;
  }
}
.layer-content-right .romb-content {
  padding-right: 6.5vw;
  padding-left: 10%;
}

.layer-content-left {
  left: 0;
  right: 0;
  text-align: left;
}
@media (min-width: 768px) {
  .layer-content-left {
    right: auto;
    margin-left: -6vw;
  }
}
.layer-content-left .romb-content {
  padding-left: 6.8vw;
  padding-right: 10%;
}

.number-wrapper {
  font-size: 6rem;
  font-weight: 900;
  color: #0099ff;
  margin-top: 20px;
  opacity: 0; /* Скрыто изначально */
}

/* Видео кнопка */
.video-btn {
  margin-top: 30px;
  padding: 15px 30px;
  background: transparent;
  border: 2px solid #0099ff;
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
  border-radius: 50px;
  position: relative;
  z-index: 10;
}

.video-btn:hover {
  background: #0099ff;
  box-shadow: 0 0 20px rgba(0, 153, 255, 0.5);
}

.flex-big {
  display: flex;
  gap: 10vw;
}

.h-40vh {
  height: 40vh;
  width: 100%;
}

.align-top {
  align-items: flex-start;
}

.justify-between {
  justify-content: space-between;
}

.layer-title--top {
  transform: translateY(-90px);
}

[data-aos=fw-zoom] {
  opacity: 0.2;
  transition-delay: 0ms;
  transition-duration: 3s !important;
  transition-timing-function: ease-in-out;
  transition-property: transform, opacity;
  transform: translate(-45%, -55%) scale(1);
}
[data-aos=fw-zoom].aos-animate {
  transform: translate(-45%, -55%) scale(1.2);
  opacity: 1;
}

main .btn--huge {
  border-radius: 0;
  color: #004080;
  font-weight: 900;
  padding: 0 40px;
  min-height: 150px;
  line-height: 150px;
  border-top: 2px solid #014898;
  border-bottom: 1px solid #014898;
  background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0.5) 100%);
}
main .btn--huge:hover {
  background: #014898;
  color: #fff;
}

.min-vh-y {
  height: 50vh;
}

.min-vh-x {
  height: 20vh;
}

.section-1 .layers-bg {
  top: 0;
}
@media (min-width: 992px) {
  .section-1 .layers-bg {
    top: 30%;
  }
}
@media (max-width: 768px) {
  .section-1 .layers-bg {
    background: url("/img/2025/home/bg-1-v4-mobile.webp") 50% 100% no-repeat;
    background-size: contain;
  }
  .section-1 .layers-bg img {
    display: none;
  }
}
.section-1 .huge .romb-content {
  padding-top: 3vh;
}

.section-2 .layers-bg img {
  object-position: 100% 50%;
  transform: translate(0, -5%);
}

.section-4 .layers-bg img {
  object-position: 100% 50%;
}

/*# sourceMappingURL=home1.css.map */
