@charset "UTF-8";
section {
  background-color: #ffffff;
}

body {
  font-style: normal;
  line-height: 1.5;
  font-weight: 400;
  color: #000000;
  position: relative;
}

button {
  background-color: transparent;
  border-color: transparent;
}

.embla__button,
.carousel-control {
  background-color: #edefea !important;
  opacity: 0.8 !important;
  color: #464845 !important;
  border-color: #edefea !important;
}

.carousel .close,
.modalWindow .close {
  background-color: #edefea !important;
  color: #464845 !important;
  border-color: #edefea !important;
  opacity: 0.8 !important;
}

.carousel .close:hover,
.modalWindow .close:hover {
  opacity: 1 !important;
}

.carousel-indicators li {
  background-color: #edefea !important;
  border: 2px solid #464845 !important;
}

.carousel-indicators li:hover,
.carousel-indicators li:active {
  opacity: 0.8 !important;
}

.embla__button:hover,
.carousel-control:hover {
  background-color: #edefea !important;
  opacity: 1 !important;
}

/* Prevent gray background flash on parallax sections
.mbr-parallax-background {
  background-color: #000000 !important;
  background-image: url("https://s3.ru1.storage.beget.cloud/88095fdffa8e-tidy-trish/meta4/video/Pink_RAW.mp4") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* Specific backgrounds for header sections */
/* #header02-4.mbr-parallax-background {
  background-image: url("https://s3.ru1.storage.beget.cloud/88095fdffa8e-tidy-trish/meta4/video/Pink_RAW.mp4") !important;
}

#image01-2.mbr-parallax-background {
  background-image: url("https://s3.ru1.storage.beget.cloud/88095fdffa8e-tidy-trish/meta4/video/Pink_RAW.mp4") !important;
} */ 

.modalWindow-video-container {
  height: 80%;
}

section,
.container,
.container-fluid {
  position: relative;
  word-wrap: break-word;
}

a.mbr-iconfont:hover {
  text-decoration: none;
}

.article .lead p,
.article .lead ul,
.article .lead ol,
.article .lead pre,
.article .lead blockquote {
  margin-bottom: 0;
}

a {
  font-style: normal;
  font-weight: 400;
  cursor: pointer;
}
a, a:hover {
  text-decoration: none;
}

.mbr-section-title {
  font-style: normal;
  line-height: 1.3;
}

.mbr-section-subtitle {
  line-height: 1.3;
}

.mbr-text {
  font-style: normal;
  line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-1,
.display-2,
.display-4,
.display-5,
.display-7,
span,
p,
a {
  line-height: 1;
  word-break: break-word;
  word-wrap: break-word;
  font-weight: 400;
}

b,
strong {
  font-weight: bold;
}

input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, input:-webkit-autofill:active {
  transition-delay: 9999s;
  -webkit-transition-property: background-color, color;
  transition-property: background-color, color;
}

textarea[type=hidden] {
  display: none;
}

section {
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
}
section .mbr-background-video,
section .mbr-background-video-preview {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
}

.hidden {
  visibility: hidden;
}

.mbr-z-index20 {
  z-index: 20;
}

/*! Base colors */
.mbr-white {
  color: #ffffff;
}

.mbr-black {
  color: #111111;
}

.mbr-bg-white {
  background-color: #ffffff;
}

.mbr-bg-black {
  background-color: #000000;
}

/*! Text-aligns */
.align-left {
  text-align: left;
}

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

.align-right {
  text-align: right;
}

/*! Font-weight  */
.mbr-light {
  font-weight: 300;
}

.mbr-regular {
  font-weight: 400;
}

.mbr-semibold {
  font-weight: 500;
}

/*! Scroll-driven animations */
.scroll-animate {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, opacity, scale;
}

.scroll-animate.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Animation variants */
.scroll-animate[data-animation="fadeInLeft"] {
  transform: translateX(-50px);
}

.scroll-animate[data-animation="fadeInLeft"].animated {
  transform: translateX(0);
}

.scroll-animate[data-animation="fadeInRight"] {
  transform: translateX(50px);
}

.scroll-animate[data-animation="fadeInRight"].animated {
  transform: translateX(0);
}

.scroll-animate[data-animation="fadeInUp"] {
  transform: translateY(50px);
}

.scroll-animate[data-animation="fadeInUp"].animated {
  transform: translateY(0);
}

.scroll-animate[data-animation="slideInUp"] {
  transform: translateY(80px) scale(0.95);
}

.scroll-animate[data-animation="slideInUp"].animated {
  transform: translateY(0) scale(1);
}

.scroll-animate[data-animation="fadeInDown"] {
  transform: translateY(-50px);
}

.scroll-animate[data-animation="fadeInDown"].animated {
  transform: translateY(0);
}

.scroll-animate[data-animation="zoomIn"] {
  transform: scale(0.8);
}

.scroll-animate[data-animation="zoomIn"].animated {
  transform: scale(1);
}

.scroll-animate[data-animation="rotateIn"] {
  transform: rotate(-10deg) scale(0.9);
}

.scroll-animate[data-animation="rotateIn"].animated {
  transform: rotate(0deg) scale(1);
}

/* Stagger animations with delays */
.scroll-animate[data-delay="200"] {
  transition-delay: 0.2s;
}

.scroll-animate[data-delay="400"] {
  transition-delay: 0.4s;
}

.scroll-animate[data-delay="600"] {
  transition-delay: 0.6s;
}

.scroll-animate[data-delay="800"] {
  transition-delay: 0.8s;
}

.scroll-animate[data-delay="1000"] {
  transition-delay: 1.0s;
}

.scroll-animate[data-delay="1200"] {
  transition-delay: 1.2s;
}

.scroll-animate[data-delay="1400"] {
  transition-delay: 1.4s;
}

/* Enhanced transitions for smooth effects */
@media (prefers-reduced-motion: no-preference) {
  .scroll-animate {
    transition-duration: 1s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-animate {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

/* Split Text Animation for Artists Section */
.split-text-container {
    overflow: hidden;
    /* display: flex; */
    justify-content: center;
    /* align-items: center; */
}

.split-text-container .mbr-section-title {
    display: flex;
    align-items: center;
}

.text-part {
    display: inline-block;
    position: relative;
    transform: translateX(0);
    animation-duration: 2s;
    animation-timing-function: cubic-bezier(0.16, 0.84, 0.44, 1);
    animation-fill-mode: forwards;
    opacity: 0;
    animation-play-state: paused;
}

/* Start animations when container is visible */
.split-text-container.animate-split-text .text-part {
    animation-play-state: running;
}

.text-part.left {
    transform: translateX(-150%);
    animation-name: slide-in-left;
    animation-delay: 0.3s;
}

.text-part.right {
    transform: translateX(150%);
    animation-name: slide-in-right;
    animation-delay: 0.6s;
}

@keyframes slide-in-left {
    0% {
        transform: translateX(-150%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slide-in-right {
    0% {
        transform: translateX(150%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}


    /* АНИМАЦИЯ ЗАГОЛОВКА METAPHORA */
    .animated-title {
      display: inline-block;
      position: relative;
      overflow: visible;
    }
    
    .title-bracket {
      display: inline-block;
      opacity: 0;
      font-weight: 700;
      animation: bracket-appear 0.5s ease-out forwards;
    }
    
    .title-bracket:first-child {
      animation-delay: 0.3s;
    }
    
    .title-bracket:last-child {
      animation-delay: 0.8s;
    }
    
    .title-letters {
      display: inline-block;
      position: relative;
    }
    
    .letter {
      display: inline-block;
      opacity: 0;
      position: relative;
      font-weight: 700;
      text-transform: uppercase;
      color: #ffffff;
      animation: 
        letter-glitch-enter 0.4s ease-out forwards,
        letter-glow-white 3s ease-in-out infinite;
      filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.3));
    }
    
    .letter:nth-child(2) { animation-delay: 0.5s, 0.6s; }
    .letter:nth-child(4) { animation-delay: 0.7s, 0.8s; }
    .letter:nth-child(6) { animation-delay: 0.9s, 0.9s; }
    .letter:nth-child(8) { animation-delay: 1.1s, 1.2s; }
    .letter:nth-child(10) { animation-delay: 1.3s, 1.4s; }
    .letter:nth-child(12) { animation-delay: 1.5s, 1.6s; }
    .letter:nth-child(14) { animation-delay: 1.7s, 1.9s; }
    .letter:nth-child(16) { animation-delay: 1.9s, 1.9s; }
    .letter:nth-child(18) { animation-delay: 2.1s, 2.1s; }
    
    .letter-space {
      display: inline-block;
      width: 0.5em;
    }
    
    /* Глитч эффект при появлении букв */
    @keyframes letter-glitch-enter {
      0% {
        opacity: 0;
        transform: translateX(-50px) rotateY(90deg) scale(0);
        filter: blur(10px) hue-rotate(180deg);
      }
      20% {
        opacity: 0.3;
        transform: translateX(20px) rotateY(-15deg) scale(1.2);
        filter: blur(5px) hue-rotate(90deg);
      }
      40% {
        opacity: 0.7;
        transform: translateX(-10px) rotateY(10deg) scale(0.9);
        filter: blur(2px) hue-rotate(-25deg);
      }
      60% {
        opacity: 1;
        transform: translateX(5px) rotateY(-5deg) scale(1.05);
        filter: blur(1px) hue-rotate(0deg);
      }
      80% {
        opacity: 1;
        transform: translateX(-2px) rotateY(2deg) scale(0.98);
        filter: blur(0px) hue-rotate(0deg);
      }
      100% {
        opacity: 1;
        transform: translateX(0) rotateY(0deg) scale(1);
        filter: blur(0px) hue-rotate(0deg);
      }
    }
    
    /* White glow effect */
    @keyframes letter-glow-white {
      0%, 100% {
        text-shadow: 
          0 0 5px rgba(255, 255, 255, 0.4),
          0 0 10px rgba(255, 255, 255, 0.2),
          0 0 15px rgba(255, 255, 255, 0.1);
        opacity: 1;
      }
      25% {
        text-shadow: 
          0 0 8px rgba(255, 255, 255, 0.6),
          0 0 15px rgba(255, 255, 255, 0.3),
          0 0 20px rgba(255, 255, 255, 0.2);
        opacity: 0.95;
      }
      50% {
        text-shadow: 
          0 0 10px rgba(255, 255, 255, 0.8),
          0 0 20px rgba(255, 255, 255, 0.4),
          0 0 30px rgba(255, 255, 255, 0.2);
        opacity: 0.85;
      }
      75% {
        text-shadow: 
          0 0 6px rgba(255, 255, 255, 0.5),
          0 0 12px rgba(255, 255, 255, 0.3),
          0 0 18px rgba(255, 255, 255, 0.15);
        opacity: 0.95;
      }
    }
    
    /* Анимация скобок */
    @keyframes bracket-appear {
      0% {
        opacity: 0;
        transform: scale(1) rotate(180deg);
      }
      50% {
        opacity: 0.4;
        transform: scale(1.2) rotate(-10deg);
      }
      100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
      }
    }
    
    /* Hover эффект для всего заголовка */
    .animated-title:hover .letter {
      animation-duration: 1.6s;
      animation-name: letter-hover-glitch;
      animation-fill-mode: forwards;
    }
    
    @keyframes letter-hover-glitch {
      0% { transform: translateY(0); }
      25% { transform: translateY(-3px) rotateZ(1deg); }
      50% { transform: translateY(-2px) rotateZ(-1deg); }
      75% { transform: translateY(-5px) rotateZ(0.5deg); }
      100% { transform: translateY(0) rotateZ(0deg); }
    }
    
    /* Адаптивность */
    @media (max-width: 768px) {
      .letter {
        font-size: 0.9em;
      }
      
      .letter-space {
        width: 0.3em;
      }
    }
    
    /* Плавная анимация для сворачивания меню */
    .navbar-collapse {
      transition: all 0.3s ease-in-out;
    }
    
    /* Анимация для кнопки гамбургера */
    .navbar-toggler {
      transition: all 0.2s ease;
    }
    
    /* Эффект при клике на пункты меню */
    .navbar-nav .nav-link {
      transition: all 0.2s ease;
      position: relative;
    }
    
    .navbar-nav .nav-link:hover {
      transform: translateX(5px);
    }
    
    /* Индикатор активности при клике */
    .navbar-nav .nav-link:active {
      transform: scale(0.95);
    }
    
    /* Плавное появление меню */
    .navbar-collapse.collapsing {
      transition: height 0.35s ease;
    }


    .cid-uV1ouY8WHU .embla__button.embla__button--prev,
    .cid-uUZhvcucWz .embla__button.embla__button--prev {
      right: 84px !important;
      left: auto !important;
      margin-left: 0 !important;
    }
    
    .cid-uV1ouY8WHU .embla__button.embla__button--next,
    .cid-uUZhvcucWz .embla__button.embla__button--next {
      right: 0 !important;
      margin-right: 0 !important;
    }
    
    .cid-uV1ouY8WHU .embla__button:hover,
    .cid-uUZhvcucWz .embla__button:hover {
      background-color: #bcbcbc !important;
      color: #ffffff !important;
      transform: translateX(5px) !important;
    }
    
    .cid-uV1ouY8WHU .embla__button:active,
    .cid-uUZhvcucWz .embla__button:active {
      transform: scale(0.95) !important;
    }
    
    @media (max-width: 992px) {
      .cid-uV1ouY8WHU .embla,
      .cid-uUZhvcucWz .embla {
        padding-top: 4rem !important;
      }
      
      .cid-uV1ouY8WHU .embla__button,
      .cid-uUZhvcucWz .embla__button {
        top: 0 !important;
        bottom: auto !important;
        width: 45px !important;
        height: 45px !important;
        font-size: 22px !important;
      }
      
      .cid-uV1ouY8WHU .embla__button.embla__button--prev,
      .cid-uUZhvcucWz .embla__button.embla__button--prev {
        right: 55px !important;
        left: auto !important;
      }
    }
    
    @media (max-width: 768px) {
      .cid-uV1ouY8WHU .embla__button,
      .cid-uUZhvcucWz .embla__button {
        display: none !important;
      }
    }
    
    /* АНИМАЦИЯ ПОСТРОЧНОГО ПОЯВЛЕНИЯ ТЕКСТА ПРИ СКРОЛЛЕ */
    .cid-uUKxTfx1VZ {
      min-height: 10vh !important; 
      position: relative;
      overflow: hidden;
    }
    
    /* .cid-uUKxTfx1VZ .content-wrapper {
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding-top: 15vh; 
    }
     */
    .cid-uUKxTfx1VZ .mbr-section-title {
      line-height: 1.0;
      margin-bottom: 0;
    }
    
    .cid-uUKxTfx1VZ .text-wrapper {
      margin-top: auto; 
    }
    
    .cid-uUKxTfx1VZ .text-line {
      display: block;
      opacity: 0;
      transform: translateY(50px);
      transition: all 2s ease-out;
      transition-delay: 3s;
    }
    
    .cid-uUKxTfx1VZ .text-line.animate {
      opacity: 1;
      transform: translateY(-200px);
     transition: all 2s ease-out;

    }
    


    
    /* АНИМАЦИЯ METAPHORA С БЕЛЫМ БЛОКОМ */
    .metaphora-animation-box {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
      height: 60px;
    }
    
    .metaphora-title {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: 100%;
    }
    
    .metaphora-block {
      position: absolute;
      top: 0;
      left: 0;
      width: 0%;
      height: 80%;
      background: hsl(0, 0%, 100%, 0.5);
      z-index: 2;
      animation: metaphoraBlockAnimation 3s cubic-bezier(.74, .06, .4, .92) forwards;
    }
    
    .metaphora-text {
      position: relative;
      z-index: 1;
      opacity: 0;
      margin: 0;
      padding: 0;
      animation: metaphoraTextFadeIn 1s forwards;
      animation-delay: 2.4s;
      text-align: center;
      width: 100%;
    }
    
    /* Анимация белого блока */
    @keyframes metaphoraBlockAnimation {
      0% {
        width: 0%;
        left: 45%;
      }
      50% {
        width: 35%;
        left: 25%;
      }
      100% {
        width: 0%;
        left: 60%;
      }
    }
    
    /* Анимация появления текста */
    @keyframes metaphoraTextFadeIn {
      0% {
        opacity: 0;
      }
      70% {
        opacity: 0;
      }
      100% {
        opacity: 1;
      }
    }
    
    /* Адаптивность для мобильных устройств */
    @media (max-width: 768px) {
      .metaphora-animation-box {
        height: 50px;
      }
      
      .metaphora-text {
        font-size: 1.2rem;
      }
    }
    


  

/*! Content wrapper positioning */
.content-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 400px;
}

.content-wrapper .mbr-section-btn {
  margin-top: auto;
  padding-top: 2rem;
}

/* Fix color for contacts section title */
.cid-uV1sDiBWbV .mbr-section-title {
  color: #ffffff !important;
}

.cid-uV1sDiBWbV .text-part {
  color: #ffffff !important;
}

/* Fix spacing issues in contacts section */
.cid-uV1sDiBWbV .content-wrapper {
  display: block !important;
  height: auto !important;
  min-height: auto !important;
  padding: 2rem 0 0 0 !important;
}

.cid-uV1sDiBWbV .title-wrapper {
  margin-bottom: 2rem !important;
}

.cid-uV1sDiBWbV .mbr-section-btn {
  margin: 1.5rem 0 !important;
  padding-top: 0 !important;
}

.cid-uV1sDiBWbV .text-wrapper {
  margin-top: 1rem !important;
}

.cid-uV1sDiBWbV .mbr-address {
  margin-bottom: 1.5rem !important;
}

.cid-uV1sDiBWbV .mbr-phone {
  margin: 0 !important;
}

.mbr-bold {
  font-weight: 700;
}

/* METAPHORA Animation Styles */
.metaphora-animation-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  letter-spacing: 1px;
  line-height: 2;
  will-change: translateY -10px;
  transition: transform 0.1s ease-out;
}

.metaphora-title {
  position: relative;
  text-align: center;
}

.metaphora-block {
   width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
} 

.metaphora-text {
  transform-origin: center;
  font-family: 'bold';
  background-image: url("https://s3.ru1.storage.beget.cloud/88095fdffa8e-tidy-trish/meta4/gif/movieout.6_2-ezgif.com-video-to-gif-converter (1).gif");
  background-size: cover;
  background-position: center;
  color: transparent;
  -moz-background-clip: text;
  -webkit-background-clip: text;
  background-clip: text;
  text-transform: uppercase;
  font-size: 4rem !important;
  margin: 10px 0;
  letter-spacing: 0.2em;
  will-change: transform;
  
  /* Start with small scale - JavaScript will control the animation */
  transform: scale(0.5);
  opacity: 0.5;
  transition: transform 0.1s ease-out, opacity 0.1s ease-out;
}

@keyframes metaphora-scale-on-scroll {
  0% {
    transform: scale(0.3);
    opacity: 0.3;
  }
  50% {
    transform: scale(2.5);
    opacity: 0.8;
  }
  100% {
    transform: scale(5.2);
    opacity: 1;
  }
}

.metaphora-text:hover {
  filter: brightness(1.3) contrast(1.2);
}

@keyframes metaphora-glow {
  0% {
    filter: brightness(1) contrast(1);
    transform: scale(1);
  }
  100% {
    filter: brightness(1.2) contrast(1.1);
    transform: scale(1.02);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .metaphora-text {
    font-size: 2.5rem;
    letter-spacing: 0.1em;
  }
}

@media (max-width: 480px) {
  .metaphora-text {
    font-size: 1.8rem;
    letter-spacing: 0.05em;
  }
}

/*! Media  */
.media-content {
  flex-basis: 100%;
}

.media-container-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  align-items: start;
}
.media-container-row .media-size-item {
  width: 400px;
}

.media-container-column {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  align-items: stretch;
}
.media-container-column > * {
  width: 100%;
}

@media (min-width: 992px) {
  .media-container-row {
    flex-wrap: nowrap;
  }
}
figure {
  margin-bottom: 0;
  overflow: hidden;
}

figure[mbr-media-size] {
  transition: width 0.1s;
}

img,
iframe {
  display: block;
  width: 100%;
}

.card {
  background-color: transparent;
  border: none;
}

.card-box {
  width: 100%;
}

.card-img {
  text-align: center;
  flex-shrink: 0;
  -webkit-flex-shrink: 0;
}

.media {
  max-width: 100%;
  margin: 0 auto;
}

.mbr-figure {
  align-self: center;
}

.media-container > div {
  max-width: 100%;
}

.mbr-figure img,
.card-img img {
  width: 100%;
}

@media (max-width: 991px) {
  .media-size-item {
    width: auto !important;
  }
  .media {
    width: auto;
  }
  .mbr-figure {
    width: 100% !important;
  }
}
/*! Buttons */
.mbr-section-btn {
  /* margin-left: -0.6rem;
  margin-right: -0.6rem; */
  font-size: 0;
}

.btn {
  font-weight: 600;
  border-width: 1px;
  font-style: normal;
  /* margin: 0.6rem 0.6rem; */
  white-space: normal;
  transition: all 0.2s ease-in-out;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  word-break: break-word;
}

.btn-sm {
  font-weight: 600;
  letter-spacing: 0px;
  transition: all 0.3s ease-in-out;
}

.btn-md {
  font-weight: 600;
  letter-spacing: 0px;
  transition: all 0.3s ease-in-out;
}

.btn-lg {
  font-weight: 600;
  letter-spacing: 0px;
  transition: all 0.3s ease-in-out;
}

.btn-form {
  margin: 0;
}
.btn-form:hover {
  cursor: pointer;
}

nav .mbr-section-btn {
  margin-left: 0rem;
  margin-right: 0rem;
}

/*! Btn icon margin */
.btn .mbr-iconfont,
.btn.btn-sm .mbr-iconfont {
  order: 1;
  cursor: pointer;
  margin-left: 0.5rem;
  vertical-align: sub;
}

.btn.btn-md .mbr-iconfont,
.btn.btn-md .mbr-iconfont {
  margin-left: 0.8rem;
}

.mbr-regular {
  font-weight: 400;
}

.mbr-semibold {
  font-weight: 500;
}

.mbr-bold {
  font-weight: 700;
}

[type=submit] {
  -webkit-appearance: none;
}

/*! Full-screen */
.mbr-fullscreen .mbr-overlay {
  min-height: 100vh;
}

.mbr-fullscreen {
  display: flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  align-items: center;
  min-height: 100vh;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/*! Map */
.map {
  height: 25rem;
  position: relative;
}
.map iframe {
  width: 100%;
  height: 100%;
}

/*! Scroll to top arrow */
.mbr-arrow-up {
  bottom: 25px;
  right: 90px;
  position: fixed;
  text-align: right;
  z-index: 5000;
  color: #ffffff;
  font-size: 22px;
}

.mbr-arrow-up a {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  color: #fff;
  display: inline-block;
  height: 60px;
  width: 60px;
  border: 2px solid #fff;
  outline-style: none !important;
  position: relative;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  text-align: center;
}
.mbr-arrow-up a:hover {
  background-color: rgba(0, 0, 0, 0.4);
}
.mbr-arrow-up a i {
  line-height: 60px;
}

.mbr-arrow-up-icon {
  display: block;
  color: #fff;
}

.mbr-arrow-up-icon::before {
  content: "›";
  display: inline-block;
  font-family: serif;
  font-size: 22px;
  line-height: 1;
  font-style: normal;
  position: relative;
  top: 6px;
  left: -4px;
  transform: rotate(-90deg);
}

/*! Arrow Down */
.mbr-arrow {
  position: absolute;
  bottom: 45px;
  left: 50%;
  width: 60px;
  height: 60px;
  cursor: pointer;
  background-color: rgba(80, 80, 80, 0.5);
  border-radius: 50%;
  transform: translateX(-50%);
}
@media (max-width: 767px) {
  .mbr-arrow {
    display: none;
  }
}
.mbr-arrow > a {
  display: inline-block;
  text-decoration: none;
  outline-style: none;
  animation: arrowdown 1.7s ease-in-out infinite;
  color: #ffffff;
}
.mbr-arrow > a > i {
  position: absolute;
  top: -2px;
  left: 15px;
  font-size: 2rem;
}

#scrollToTop a i::before {
  content: "";
  position: absolute;
  display: block;
  border-bottom: 2.5px solid #fff;
  border-left: 2.5px solid #fff;
  width: 27.8%;
  height: 27.8%;
  left: 50%;
  top: 51%;
  transform: translateY(-30%) translateX(-50%) rotate(135deg);
}

@keyframes arrowdown {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0px);
  }
}
@media (max-width: 500px) {
  .mbr-arrow-up {
    left: 0;
    right: 0;
    text-align: center;
  }
}
/*Gradients animation*/
@keyframes gradient-animation {
  from {
    background-position: 0% 100%;
    animation-timing-function: ease-in-out;
  }
  to {
    background-position: 100% 0%;
    animation-timing-function: ease-in-out;
  }
}
.bg-gradient {
  background-size: 200% 200%;
  animation: gradient-animation 5s infinite alternate;
  -webkit-animation: gradient-animation 5s infinite alternate;
}

.menu .navbar-brand {
  display: -webkit-flex;
}
.menu .navbar-brand span {
  display: flex;
  display: -webkit-flex;
}
.menu .navbar-brand .navbar-caption-wrap {
  display: -webkit-flex;
}
.menu .navbar-brand .navbar-logo img {
  display: -webkit-flex;
  width: auto;
}
@media (min-width: 768px) and (max-width: 991px) {
  .menu .navbar-toggleable-sm .navbar-nav {
    display: -ms-flexbox;
  }
}
@media (max-width: 991px) {
  .menu .navbar-collapse {
    max-height: 93.5vh;
  }
  .menu .navbar-collapse.show {
    overflow: auto;
  }
}
@media (min-width: 992px) {
  .menu .navbar-nav.nav-dropdown {
    display: -webkit-flex;
  }
  .menu .navbar-toggleable-sm .navbar-collapse {
    display: -webkit-flex !important;
  }
  .menu .collapsed .navbar-collapse {
    max-height: 93.5vh;
  }
  .menu .collapsed .navbar-collapse.show {
    overflow: auto;
  }
}
@media (max-width: 767px) {
  .menu .navbar-collapse {
    max-height: 80vh;
  }
}

.nav-link .mbr-iconfont {
  margin-right: 0.5rem;
}

.navbar {
  display: -webkit-flex;
  -webkit-flex-wrap: wrap;
  -webkit-align-items: center;
  -webkit-justify-content: space-between;
}

.navbar-collapse {
  -webkit-flex-basis: 100%;
  -webkit-flex-grow: 1;
  -webkit-align-items: center;
}

.nav-dropdown .link {
  padding: 0.667em 1.667em !important;
  margin: 0 !important;
}

.nav {
  display: -webkit-flex;
  -webkit-flex-wrap: wrap;
}

.row {
  display: -webkit-flex;
  -webkit-flex-wrap: wrap;
}

.justify-content-center {
  -webkit-justify-content: center;
}

.form-inline {
  display: -webkit-flex;
}

.card-wrapper {
  -webkit-flex: 1;
}

.carousel-control {
  z-index: 10;
  display: -webkit-flex;
}

.carousel-controls {
  display: -webkit-flex;
}

.media {
  display: -webkit-flex;
}

.form-group:focus {
  outline: none;
}

.jq-selectbox__select {
  padding: 7px 0;
  position: relative;
}

.jq-selectbox__dropdown {
  overflow: hidden;
  border-radius: 10px;
  position: absolute;
  top: 100%;
  left: 0 !important;
  width: 100% !important;
}

.jq-selectbox__trigger-arrow {
  right: 0;
  transform: translateY(-50%);
}

.jq-selectbox li {
  padding: 1.07em 0.5em;
}

input[type=range] {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.modal-dialog,
.modal-content {
  height: 100%;
}

.modal-dialog .carousel-inner {
  height: calc(100vh - 1.75rem);
}
@media (max-width: 575px) {
  .modal-dialog .carousel-inner {
    height: calc(100vh - 1rem);
  }
}

.carousel-item {
  text-align: center;
}

.carousel-item img {
  margin: auto;
}

.navbar-toggler {
  align-self: flex-start;
  padding: 0.25rem 0.75rem;
  font-size: 1.25rem;
  line-height: 1;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 0.25rem;
}

.navbar-toggler:focus,
.navbar-toggler:hover {
  text-decoration: none;
  box-shadow: none;
}

.navbar-toggler-icon {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
  content: "";
  background: no-repeat center center;
  background-size: 100% 100%;
}

.navbar-toggler-left {
  position: absolute;
  left: 1rem;
}

.navbar-toggler-right {
  position: absolute;
  right: 1rem;
}

.card-img {
  width: auto;
}

.menu .navbar.collapsed:not(.beta-menu) {
  flex-direction: column;
}

.carousel-item.active,
.carousel-item-next,
.carousel-item-prev {
  display: flex;
}

.note-air-layout .dropup .dropdown-menu,
.note-air-layout .navbar-fixed-bottom .dropdown .dropdown-menu {
  bottom: initial !important;
}

html,
body {
  height: auto;
  min-height: 100vh;
}

.dropup .dropdown-toggle::after {
  display: none;
}

.form-asterisk {
  font-family: initial;
  position: absolute;
  top: -2px;
  font-weight: normal;
}

.form-control-label {
  position: relative;
  cursor: pointer;
  margin-bottom: 0.357em;
  padding: 0;
}

.alert {
  color: #ffffff;
  border-radius: 0;
  border: 0;
  font-size: 1.1rem;
  line-height: 1.5;
  margin-bottom: 1.875rem;
  padding: 1.25rem;
  position: relative;
  text-align: center;
}
.alert.alert-form::after {
  background-color: inherit;
  bottom: -7px;
  content: "";
  display: block;
  height: 14px;
  left: 50%;
  margin-left: -7px;
  position: absolute;
  transform: rotate(45deg);
  width: 14px;
}

.form-control {
  background-color: #ffffff;
  background-clip: border-box;
  color: #232323;
  line-height: 1rem !important;
  height: auto;
  padding: 1.2rem 2rem;
  transition: border-color 0.25s ease 0s;
  border: 1px solid transparent !important;
  border-radius: 4px;
  box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 1px 0px, rgba(0, 0, 0, 0.07) 0px 1px 3px 0px, rgba(0, 0, 0, 0.03) 0px 0px 0px 1px;
}
.form-active .form-control:invalid {
  border-color: red;
}

.row > * {
  padding-right: 1rem;
  padding-left: 1rem;
}

form .row {
  margin-left: -0.6rem;
  margin-right: -0.6rem;
}
form .row [class*=col] {
  padding-left: 0.6rem;
  padding-right: 0.6rem;
}

form .mbr-section-btn {
  padding-left: 0.6rem;
  padding-right: 0.6rem;
}

form .form-check-input {
  margin-top: 0.5;
}

textarea.form-control {
  line-height: 1.5rem !important;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-control,
form .btn {
  min-height: 48px;
}

.gdpr-block label span.textGDPR input[name=gdpr] {
  top: 7px;
}

.form-control:focus {
  box-shadow: none;
}

:focus {
  outline: none;
}

.mbr-overlay {
  background-color: #000;
  bottom: 0;
  left: 0;
  opacity: 0.5;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 0;
  pointer-events: none;
}

blockquote {
  font-style: italic;
  padding: 3rem;
  font-size: 1.09rem;
  position: relative;
  border-left: 3px solid;
}

ul,
ol,
pre,
blockquote {
  margin-bottom: 2.3125rem;
}

.mt-4 {
  margin-top: 2rem !important;
}

.mb-4 {
  margin-bottom: 2rem !important;
}

.container,
.container-fluid {
  padding-left: 16px;
  padding-right: 16px;
}

.row {
  margin-left: -16px;
  margin-right: -16px;
}
.row > [class*=col] {
  padding-left: 16px;
  padding-right: 16px;
}

@media (min-width: 992px) {
  .container-fluid {
    padding-left: 32px;
    padding-right: 32px;
  }
}
@media (max-width: 991px) {
  .mbr-container {
    padding-left: 16px;
    padding-right: 16px;
  }
}
.app-video-wrapper > img {
  opacity: 1;
}

.app-video-wrapper {
  background: transparent;
}

.item {
  position: relative;
}

.dropdown-menu .dropdown-menu {
  left: 100%;
}

.dropdown-item + .dropdown-menu {
  display: none;
}

.dropdown-item:hover + .dropdown-menu,
.dropdown-menu:hover {
  display: block;
}

@media (min-aspect-ratio: 16/9) {
  .mbr-video-foreground {
    height: 300% !important;
    top: -100% !important;
  }
}
@media (max-aspect-ratio: 16/9) {
  .mbr-video-foreground {
    width: 300% !important;
    left: -100% !important;
  }
}

.container-1 {
  margin: 0 auto;
  padding: 0 15px;
}

.container-1 .row {
  display: flex;
  flex-wrap: wrap;
  margin: -10px;
}

.video-block {
  padding: 10px;
  /* flex: 0 0 auto; */
}

/* Адаптивная сетка */
@media (min-width: 992px) {
  .video-block {
    width: 33.333333%; /* 3 видео в ряд */
  }
}

@media (min-width: 576px) and (max-width: 991px) {
  .video-block {
    width: 50%; /* 2 видео в ряд */
  }
}

@media (max-width: 575px) {
  .video-block {
    width: 100%; /* 1 видео в ряд */
  }
}

.video-block .mbr-figure {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* Плитки 16:9 — горизонтальные видео без кропа */
  height: auto;
  overflow: hidden;
  background-color: #000;
}

.video-block .mbr-figure::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
  transition: background-color 0.3s ease;
  pointer-events: none;
}

.video-block .mbr-figure video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
}

.video-block .mbr-figure:hover {
  transform: scale(1.02);
  transition: transform 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.video-block .mbr-figure:hover::before {
  background-color: rgba(0, 0, 0, 0);
}

.video-block .mbr-figure video[style*="width"] {
  width: auto !important;
}