/* ========== Глобальные переменные ========== */
:root {
  /* Основные цвета */
  --color-white: #fff;
  --color-soft-rose: #F8EFEC;
  --color-charcoal: #535255;
  --color-stone: #86868A;
  --color-peach: #ECCEC7;
  --color-silver: #E6E6E7;
  --color-terracotta: #D89E91;
  --color-black-20a: #00000033;
  --color-apricot: #F1B175;
  --color-cloud: #D0D0D1;

  /* Карточки */
  --color-card-one: #E7F1E7;
  --color-card-two: #EAF1F6;
  --color-card-three: #F8EFEC;

  /* Отступы */
  --padding-x: 40px;
  --padding-y: 120px;
  --header-height: 126px;
  --spacing-float-offset: 20;
}

@media (max-width: 1279px) {
  :root {
    --padding-x: 30px;
    --padding-y: 56px;
    --header-height: 80px;
  }
}

@media (max-width: 767px) {
  :root {
    --padding-x: 16px;
  }
}


/* ========== Базовые сбросы и глобальные стили ========== */
html {
  background: linear-gradient(to bottom,
      #ffffff calc(100% - 100px),
      #535255 calc(100% - 100px));
}

body {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;

  margin: 0;
  box-sizing: border-box;
  overflow-x: hidden;

  background: linear-gradient(to bottom,
      #ffffff calc(100% - 100px),
      #535255 calc(100% - 100px));
}

body * {
  box-sizing: border-box;

  font-family: "Manrope", Helvetica, Arial, sans-serif;

  outline: none;
  -webkit-tap-highlight-color: transparent;
}

main {
  flex: 1;
  padding-top: var(--header-height);
  padding-bottom: var(--padding-y);
}

/* ---------- Сброс отступов у текстовых элементов ---------- */
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
span {
  margin: 0;
  padding: 0;

  list-style: none;
  text-decoration: none;
}

a {
  text-decoration: none;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  user-select: none;
}


/* ========== Обертки страниц ========== */
.wrapper,
.wrapper-mvn {
  position: relative;
  z-index: 1;

  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}


/* ========== Скроллбар ========== */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;

  background-color: var(--color-soft-rose);
}

::-webkit-scrollbar-thumb {
  background-color: var(--color-peach);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--color-terracotta);
}


/* ========== Выделение текста ========== */
/* ---------- Для Opera, Chrome, Safari, Edge ---------- */
::selection {
  color: var(--color-white);
  background: var(--color-terracotta);
}

/* ---------- Для старых версий Firefox ---------- */
::-moz-selection {
  color: var(--color-white);
  background: var(--color-terracotta);
}

/* ========== Скрывает элементы управления видео ========== */
/* нет, но пусть будут */
video::-webkit-media-controls,
video::-webkit-media-controls-panel,
video::-webkit-media-controls-enclosure,
video::-webkit-media-controls-picture-in-picture-button,
video::-webkit-media-controls-panel-video-clickable-area,
video::-internal-media-controls-picture-in-picture-button,
video::-webkit-media-controls-skip-back-button,
video::-webkit-media-controls-skip-forward-button,
video[webkit-playsinline]::-webkit-media-controls-popout-button,
video::-moz-media-controls-picture-in-picture-button,
video #opera-video-pop-out-container,
video .opera-video-pop-out-button,
video .opera-video-controls-overlay {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ========== Доступность: фокус только для клавиатуры ========== */
:focus:not(:focus-visible) {
  outline: none;
}


/* ========== Предпочтения по уменьшению движения ========== */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.3ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.3ms !important;
  }
}


/* ========== Утилитарные классы ========== */
.d_flex {
  display: flex;
}

.flex_dir_col {
  flex-direction: column;
}

.flex_dir_row {
  flex-direction: row;
}

.jus_cont_sb {
  justify-content: space-between;
}

.jus_cont_end {
  justify-content: end;
}

.jus_cont_center {
  justify-content: center;
}

.align_center {
  align-items: center;
}

.animation {
  transition: 0.4s linear;
}

/* ---------- Управление видимостью ---------- */
.display-dv {
  display: block !important;
}

.display-mv,
.display-tv {
  display: none !important;
}

/* ---------- Скрытый заголовок для скринридеров ---------- */
.visually-hidden {
  position: absolute;

  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;

  clip: rect(0 0 0 0);
}

@media (max-width: 1279px) {

  .wrapper,
  .wrapper-mvn {
    padding: 0 var(--padding-x);
  }

  .display-dv,
  .display-mv {
    display: none !important;
  }

  .display-tv {
    display: block !important;
  }
}

@media (max-width: 767px) {

  .display-dv,
  .display-tv {
    display: none !important;
  }

  .display-mv {
    display: block !important;
  }

  .wrapper-mvn {
    padding: 0;
  }
}


/* ========== Кнопки ========== */
.button-pink,
.button-white {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;

  width: fit-content;
  height: 56px;
  padding: 0 40px;
  border: none;
  overflow: hidden;

  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
  letter-spacing: 1.92px;
  text-align: center;
  color: var(--color-charcoal);
  text-transform: uppercase;

  cursor: pointer;
  user-select: none;

  transition: background 0.3s;
}

/* ---------- Розовая кнопка ---------- */
.button-pink {
  background: var(--color-peach);
}

/* ---------- Белая кнопка ---------- */
.button-white {
  border: 1px solid var(--color-charcoal);
  background: var(--color-white);
}

/* ---------- Блики для розовой кнопки ---------- */
.button-pink::before,
.button-pink::after {
  content: '';
  position: absolute;
  display: block;

  height: 100%;
  top: 0;

  transform: translateX(-100px) skewX(-15deg);
  transition: transform 0.6s ease;
}

.button-pink::before {
  width: 60px;
  left: 0;

  background: rgba(255, 255, 255, 0.5);
  opacity: 0.5;
  filter: blur(30px);
}

.button-pink::after {
  width: 30px;
  left: 30px;

  background: rgba(255, 255, 255, 0.2);
  opacity: 0;
  filter: blur(5px);
}

/* ---------- Состояния розовой кнопки ---------- */
.button-pink:hover {
  background: var(--color-terracotta);
}

.button-pink:hover::before {
  opacity: 0.6;
  transform: translateX(300px) skewX(-15deg);
}

.button-pink:hover::after {
  opacity: 1;
  transform: translateX(300px) skewX(-15deg);
}

/* ---------- Белая кнопка : hover ---------- */
.button-white {
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.button-white:hover {
  background: #fefefe;
  border-color: var(--color-peach);
  box-shadow: 0 0 12px rgba(255, 140, 100, 0.2);
}

/* ========== Типографика ========== */
.title-main {
  font-size: 48px;
  font-weight: 600;
  line-height: 64px;
}

.title-xl {
  font-size: 40px;
  font-weight: 400;
  line-height: 48px;
}

.title-l {
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
}

.txt-primary {
  font-size: 16px;
  font-weight: 300;
  line-height: 22px;
}

.txt-secondary {
  font-size: 14px;
  font-weight: 300;
  line-height: 20px;
}

/* ---------- Цветовые модификаторы ---------- */
.title-main.dark,
.title-xl.dark,
.title-l.dark,
.txt-primary.dark,
.txt-secondary.dark {
  color: var(--color-charcoal);
}

.title-main.light,
.title-xl.light,
.title-l.light,
.txt-primary.light,
.txt-secondary.light {
  color: var(--color-white);
}

/* ---------- Выравнивание ---------- */
.title-main.center,
.title-xl.center,
.title-l.center,
.txt-primary.center,
.txt-secondary.center {
  text-align: center;
}

.title-main.right,
.title-xl.right,
.title-l.right,
.txt-primary.right,
.txt-secondary.right {
  text-align: right;
}

@media (max-width: 1279px) {
  .title-main {
    font-size: 32px;
    line-height: 40px;
  }

  .title-xl {
    font-size: 28px;
    line-height: 36px;
  }

  .title-l {
    font-size: 20px;
    line-height: 26px;
  }
}


/* ========== Хлебные крошки ========== */
.breadcrumbs {
  position: relative;

  margin: 24px;
  padding: 0;

  list-style: none;
}

.breadcrumbs__link,
.breadcrumbs__current,
.breadcrumbs__item:not(:last-child)::after {
  font-size: 14px;
  font-weight: 300;
  line-height: 20px;
  color: var(--color-charcoal);

  transition: 0.4s linear;
}

.breadcrumbs__item:not(:last-child)::after {
  content: "/ ";
}

/* ---------- Анимация подчеркивания ---------- */
.breadcrumbs a {
  position: relative;
  text-decoration: none;
}

.breadcrumbs a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;

  width: 0;
  height: 1px;

  background-color: var(--color-peach);

  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.breadcrumbs a:hover {
  color: var(--color-peach);
}

.breadcrumbs a:hover::after {
  width: 100%;
}

@media (max-width: 1279px) {
  .breadcrumbs {
    margin: 12px;
  }
}


/* ========== Cookie-баннер ========== */
.cookie-policy {
  position: fixed;
  bottom: var(--padding-x);
  right: var(--padding-x);
  z-index: 300;

  width: 452px;

  background-color: var(--color-white);
  box-shadow: 2px 2px 20px 0 rgba(0, 0, 0, 0.1);
  opacity: 1;

  transform: translateY(0);
  transition: transform 0.4s ease, opacity 0.4s ease, visibility 0.4s ease;
}

.cookie-policy[hidden] {
  display: flex;

  visibility: hidden;
  opacity: 0;

  transform: translateY(100px);
  pointer-events: none;
}

.cookie-policy__content {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 16px;
  padding: 16px;

  color: var(--color-white);
}

.cookie-policy__button.button-pink {
  flex-shrink: 0;

  height: 40px;
  padding: 0 24px;
}

.cookie-policy__text {
  font-size: 14px;
  font-weight: 300;
  line-height: 20px;
  color: var(--color-charcoal);
}

.cookie-policy__text a {
  color: inherit;
  text-decoration: underline;
}

.cookie-policy__link {
  color: inherit;
  text-decoration: underline;

  transition: opacity 0.2s ease;
}

.cookie-policy__link:hover {
  opacity: 0.7;
}

@media (max-width: 1279px) {
  .cookie-policy {
    bottom: 0;
    right: 0;
    width: 100%;
  }

  .cookie-policy__content {
    padding: 16px var(--padding-x);
  }
}

@media (max-width: 767px) {
  .cookie-policy__content {
    flex-direction: column;
  }

  .cookie-policy__button.button-pink {
    width: 100%;
  }
}


/* ========== Swiper ========== */
.swiper * {
  user-select: none !important;
  -webkit-user-drag: none !important;
}

.swiper {
  touch-action: pan-y;
}

.swiper-pagination {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: end;
  bottom: 0 !important;
  z-index: 2;
}

.swiper-pagination.swiper-pagination-lock {
  margin-top: 0 !important;
}

.swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  margin: 0 2px !important;

  border-radius: 4px !important;
  background-color: var(--color-cloud);
  opacity: 1 !important;

  transition: width 0.3s;
}

.swiper-pagination-bullet-active {
  width: 24px;
}


/* ========== Кастомные анимации ========== */
.animate__animated {
  animation-duration: 1s;
  animation-fill-mode: both;
}

@keyframes fadeInCust {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.animate__fadeInCust {
  animation-name: fadeInCust;
}

@keyframes fadeInLeftCust {
  from {
    opacity: 0;
    transform: translate3d(-100%, 0, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.animate__fadeInLeftCust {
  animation-name: fadeInLeftCust;
}

@keyframes fadeInRightCust {
  from {
    opacity: 0;
    transform: translate3d(100%, 0, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.animate__fadeInRightCust {
  animation-name: fadeInRightCust;
}



@keyframes gentleReveal {
  0% {
    opacity: 0;
    transform: scale(0.96);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.animate__gentleReveal {
  animation: gentleReveal 1s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

@keyframes softRevealBlur {
  0% {
    opacity: 0;
    transform: translateY(10px);
    filter: blur(6px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.animate__softRevealBlur {
  animation: softRevealBlur 1s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

@keyframes slideUpSoft {
  0% {
    opacity: 0;
    transform: translateY(25px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate__slideUpSoft {
  animation: slideUpSoft 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

@keyframes slideDownSoft {
  0% {
    opacity: 0;
    transform: translateY(-25px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate__slideDownSoft {
  animation: slideDownSoft 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}


@keyframes scaleInBlur {
  0% {
    opacity: 0;
    transform: scale(0.94);
    filter: blur(6px);
  }

  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

.animate__scaleInBlur {
  animation: scaleInBlur 1s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

@keyframes zoomInCust {
  from {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }

  50% {
    opacity: 1;
  }
}

.animate__zoomInCust {
  animation-name: zoomInCust;
}