@font-face {
    font-family: 'SF UI Display';
    src: url('../fonts/SF_UI_Display_Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'SF UI Text Medium';
    src: url('../fonts/SF_UI_Text_Medium.ttf') format('truetype');
}

/* Общие стили */
body {
    font-family: 'SF UI Display', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #333;
    user-select: none; /* Запрещает выделение текста */
    -webkit-user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
}

img {
    pointer-events: none; /* Отключает взаимодействие мыши с изображением */
    user-select: none; /* Запрещает выделение изображения */
    -webkit-user-drag: none; /* Запрещает перетаскивание изображения */
}

/* Общие настройки для предотвращения переполнения */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden; /* Отключение горизонтальной прокрутки */
}

/* Хедер */
.header {
    position: fixed; /* Фиксируем хедер */
    top: 0; /* Закрепляем его в самом верху */
    left: 0; /* Закрепляем к левой стороне */
    width: 100%; /* Растягиваем хедер на всю ширину */
    background-color: #000; /* Цвет фона */
    color: #fff;
    padding: 20px 0;
    z-index: 1000; /* Делаем его выше других элементов */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Добавляем лёгкую тень */
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header .menu ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.header .menu ul li a {
    text-decoration: none;
    color: #fff;
    font-family: 'SF UI Display Regular', sans-serif; /* Шрифт меню */
    font-size: 14px; /* Размер шрифта меню */
    font-weight: Bold;
    transition: color 0.3s ease;
}

.header .menu ul li a:hover {
    color: #ccc; /* Изменение цвета при наведении */
}

.logo {
    display: inline-block; /* Логотип как блок */
    cursor: pointer;
    margin-top: -15px; /* Опускаем логотип на 10px */
}

.logo a {
    display: inline-block;
    text-decoration: none;
}

.logo img {
    width: 170px; /* Фиксируем ширину логотипа */
    height: auto;
    transition: transform 0.3s ease;
    margin-top: 20px; /* Добавляем дополнительный отступ сверху */
}

.logo img:hover {
    transform: scale(1.05); /* Увеличиваем при наведении */
}

/* Секция hero */
.hero {
    position: relative;
    height: 100vh;
    background-image: url('../images/new.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Для параллакса */
    background-position: top; /* Выровнен по верхней границе */
    display: flex;
    justify-content: center;
    align-items: flex-end; /* Привязка к нижней границе */
    text-align: center;
    color: #fff;
    font-family: 'SF UI Display', sans-serif;
    overflow: hidden;
    z-index: 10; /* Блок ниже хедера, но работает корректно */
}

.hero-content {
    position: absolute;
    bottom: 20%; /* Привязка к нижней границе */
    inset-inline-start: 0; /* Убираем left */
    inset-inline-end: 0; /* Задаем ширину блока равной родителю */
    margin-inline: auto; /* Центрируем по горизонтали */
    text-align: center;
    transition: transform 0.3s ease;
}


/* Стиль для логотипа внутри hero */
.hero-logo {
    margin-bottom: 20px; /* Отступ под логотипом */
    text-align: center; /* Центрирование логотипа */
}

.hero-logo img {
    max-width: 450px; /* Максимальная ширина логотипа */
    height: auto; /* Сохраняем пропорции */
    transition: transform 0.3s ease, opacity 0.3s ease; /* Плавный эффект */
}

/* Текст в hero */
.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-top: 32px;
    margin-bottom: 30px;
    font-family: 'SF UI Display Regular', sans-serif;
    line-height: 1.6;
}

/* Кнопка */
.hero .btn {
    display: inline-block;
    width: 450px;
    height: 60px;
    background: linear-gradient(180deg, #434754 0%, #000000 100%);
    color: #fff;
    text-align: center;
    line-height: 60px;
    text-decoration: none;
    border-radius: 5px;
    font-family: 'SF UI Text Medium', sans-serif;
    font-size: 18px;
    font-weight: medium;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    position: relative;
    transform-origin: center;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Псевдоэлемент для блика */
.hero .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-30deg);
    pointer-events: none;
    transition: none; /* Без задержки движения */
}

/* Эффект при наведении */
.hero .btn:hover {
    background: linear-gradient(180deg, #161616 0%, #434754 100%);
    transform: scale(1.05); /* Увеличение кнопки */
}

/* Эффект нажатия: Bevel and Emboss */
.hero .btn.active {
    background: linear-gradient(180deg, #434754 0%, #161616 100%); /* Градиент с эффектом вдавливания */
    transform: scale(0.95); /* Уменьшение кнопки */
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2); /* Внешняя тень */
}

/* Анимация блика */
.hero .btn.active::before {
    left: 100%;
    transition: left 0.3s ease; /* Блик проходит через кнопку */
}

/* Возможности */
.features {
    padding: 50px 20px; /* Внешние отступы для блока */
    background-color: #fff;
}

.features-title {
    font-family: 'SF UI Display';
    font-size: 29px;
    font-weight: Bold;
    text-align: left; /* Выравнивание заголовка */
    margin-bottom: 40px;
    color: #333;
    max-width: 1200px; /* Привязываем к ширине сетки */
    margin-left: auto; /* Выравниваем по центру контейнера */
    margin-right: auto;
    padding-left: 0; /* Убираем лишние отступы */
    padding-right: 0;
}

/* Сетка для блоков */
.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Колонки от 300px до 1fr */
    gap: 25px; /* Расстояние между блоками */
    max-width: 1200px; /* Ограничение ширины */
    margin: 0 auto;
}

/* Внутренние блоки */
.feature-block {
    background: linear-gradient(60deg, #c0a48e, #e4d2c8); /* Градиентный фон */
    border-radius: 10px; /* Скруглённые углы */
    padding: 20px; /* Внутренние отступы */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Тень */
    color: #333;
    transition: background 0.3s ease, transform 0.3s ease; /* Плавные эффекты */
    display: flex;
    flex-direction: column; /* Содержимое вертикально */
    justify-content: flex-start; /* Прижимаем содержимое к верхней границе */
    min-height: 200px; /* Минимальная высота */
    gap: 10px; /* Расстояние между заголовком и текстом */
}

/* Ховер-эффект */
.feature-block:hover {
    background: linear-gradient(60deg, #d7b9a3, #ede0d6); /* Осветляем фон */
    transform: translateY(-10px); /* Лёгкий подъём */
}

/* Заголовок внутренних блоков */
.feature-title {
    font-family: 'SF UI Display';
    font-size: 18px;
    font-weight: Bold;
    line-height: var(--feature-title-line-height, 24px); /* Настраиваемое межстрочное расстояние */
    color: #000;
}

/* Текст внутренних блоков */
.feature-text {
    font-family: 'SF UI Display';
    font-size: 16px;
    font-weight: Regular;
    line-height: var(--feature-text-line-height, 1.5); /* Регулируемое межстрочное расстояние */
    color: #333;
    margin-top: var(--feature-text-margin-top, 0); /* Отступ сверху текста */
    margin-bottom: var(--feature-text-margin-bottom, 0); /* Отступ снизу текста */
    padding: var(--feature-text-padding, 0); /* Если понадобится отступ внутри */
    text-align: var(--feature-text-align, left); /* Настраиваемое выравнивание текста */
}

/* Изображение */
.feature-image {
    display: flex;
    justify-content: center;
    align-items: flex-end; /* Выравниваем содержимое по нижней границе */
    height: 100%; /* Растягиваем блок на всю высоту */
    padding-bottom: 0px; /* Увеличиваем отступ от нижней границы */
    grid-column: span 1; /* Остаётся одной колонкой */
}

.feature-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px; /* Скруглённые углы */
    object-fit: contain; /* Сохраняем пропорции изображения */
    margin-bottom: 0px; /* Негативный отступ, чтобы ещё ниже */
}

/* Третий блок */
.optimize-block {
    position: relative;
    height: 100vh; /* Высота блока */
    background-image: url('../images/new2.png'); /* Путь к фоновому изображению */
    background-size: 110%; /* Изображение полностью вписывается в блок */
    background-position: center top; /* Центрируем фон по горизонтали и верхнему краю */
    background-attachment: fixed; /* Отключаем фиксированное прикрепление */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}


/* Контейнер для содержимого */
.optimize-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px; /* Расстояние между элементами */
}

/* Логотип */
.optimize-logo {
    max-width: 300px; /* Ограничение ширины логотипа */
    height: auto;
    margin-top: 80px;
    margin-bottom: 10px; /* Отступ от нижнего края логотипа */
}

/* Вертикальная линия */
.optimize-line {
    width: 1px; /* Ширина линии */
    height: 150px; /* Увеличенная высота линии */
    background-color: #fff; /* Белый цвет */
    margin: 10px 0; /* Отступы сверху и снизу */
}

/* Текст */
.optimize-text {
    font-family: 'SF UI Display', sans-serif;
    font-size: 24px;
    font-weight: 500; /* Medium */
    color: #fff;
    margin-top: 10px; /* Отступ сверху текста */
}

/* Тарифы */
.pricing-block {
    padding: 50px 20px;
    background-color: #161616;
    color: #fff;
    text-align: center;
}

/* Заголовок блока */
.pricing-title {
    font-family: 'SF UI Display';
    font-size: 29px;
    font-weight: Bold;
    margin-bottom: 40px;
    text-align: left;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-top: -8px;
}

/* Контейнер для карточек */
.pricing-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* По умолчанию 3 колонки */
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center; /* Центрируем карточки в строках */
}

/* Для мобильной адаптации */
@media (max-width: 1024px) {
    .pricing-container {
        grid-template-columns: repeat(2, 1fr); /* 2 карточки в строке */
    }
}

@media (max-width: 768px) {
    .pricing-container {
        grid-template-columns: 1fr; /* 1 карточка в строке */
        justify-items: center; /* Центрируем карточки */
    }
}

/* Карточки */
.pricing-card {
    background: radial-gradient(
        circle, /* Тип градиента — круглый */
        #4a4a4a 0%,
        #0e0e0e 100%
    );
    border-radius: 10px; /* Скруглённые углы */
    padding: 20px; /* Внутренние отступы */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Тень для эффекта приподнятости */
    display: flex;
    flex-direction: column; /* Расположение элементов вертикально */
    justify-content: space-between; /* Равномерное распределение элементов */
    text-align: left; /* Выравнивание текста по левому краю */
    transition: transform 0.3s ease; /* Эффект при наведении */
    height: auto; /* Высота подстраивается под содержимое */
    max-width: 400px; /* Фиксированная ширина карточек */
    box-sizing: border-box; /* Учитываем padding */
    overflow: hidden; /* Обрезаем выпадающее содержимое */
}

.pricing-card:hover {
    transform: translateY(-10px);
    background: radial-gradient(
        circle,
        #1a1a1a 0%,
        #5a5a5a 100%
    );
}

/* Заголовок плана */
.pricing-plan-title {
    font-family: 'SF UI Display';
    font-size: 18px;
    font-weight: Bold;
    margin-top: var(--pricing-title-margin-top, 0); /* Настраиваемый отступ сверху */
    margin-bottom: var(--pricing-title-margin-bottom, 0); /* Настраиваемый отступ снизу */
    color: #d5bfb0;
}

/* Подзаголовок */
.pricing-subtitle {
    font-family: 'SF UI Display';
    font-size: 15px;
    font-weight: Bold;
    margin-top: 15px;
    margin-bottom: var(--pricing-subtitle-margin-bottom, 15px); /* Настраиваемый отступ снизу */
    color: #fff;
}

/* Список особенностей */
.pricing-features {
    list-style: none;
    padding: 0;
    margin-top: var(--pricing-features-margin-top, 0); /* Настраиваемый отступ сверху */
    margin-bottom: var(--pricing-features-margin-bottom, 20px); /* Настраиваемый отступ снизу */
    flex-grow: 1; /* Заставляем список занимать доступное пространство */
    line-height: 1.5; /* Уменьшаем межстрочное расстояние */
}

/* Пустая строка в списке */
.pricing-features .empty-line {
    margin: 25px 0; /* Отступ для создания пустого пространства */
    list-style: none; /* Убираем маркер списка */
}

.pricing-features li {
    font-family: 'SF UI Display';
    font-size: 16px;
    font-weight: Regular;
    margin-bottom: var(--pricing-features-item-margin-bottom, 0); /* Отступ между пунктами */
}

/* Стоимость */
.pricing-cost {
    font-family: 'SF UI Display';
    font-size: 20px;
    font-weight: Bold;
    margin-top: var(--pricing-cost-margin-top, 20px); /* Настраиваемый отступ сверху */
    margin-bottom: var(--pricing-cost-margin-bottom, 20px); /* Настраиваемый отступ снизу */
    text-align: left;
}

.pricing-note {
    font-family: 'SF UI Display', Regular;
    font-size: 16px;
    color: #bcbcbc;
    margin-top: 40px; /* Увеличиваем отступ сверху */
    text-align: center;
}

/* Кнопка */
.pricing-button {
    display: block;
    background: linear-gradient(180deg, #434754 0%, #161616 100%);
    color: #fff;
    font-family: 'SF UI Display';
    font-size: 16px;
    font-weight: Medium;
    padding: 15px 0; /* Высота кнопки */
    border: none;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    width: 100%; /* Растягиваем кнопку на всю ширину родительского блока */
    box-shadow: none;
    position: relative; /* Для анимации */
    overflow: hidden;
}

/* Эффект блика */
.pricing-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%; /* Начальная позиция блика */
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-30deg);
    pointer-events: none;
    transition: left 0.3s ease; /* Анимация движения блика */
}

/* Ховер-эффект */
.pricing-button:hover {
    background: linear-gradient(180deg, #161616 0%, #434754 100%);
    transform: scale(1.02);
}

/* Эффект нажатия */
.pricing-button.active {
    transform: scale(0.95);
    background: linear-gradient(180deg, #434754 0%, #161616 100%);
    box-shadow: none;
}

/* Анимация блика для active */
.pricing-button.active::before {
    left: 100%; /* Конечная позиция блика */
    transition: left 0.3s ease; /* Плавное движение блика */
}

/* Фото */
.photo-carousel {
    padding: 50px 20px;
    background-color: #fff;
    text-align: center;
}

.photo-title {
    font-family: 'SF UI Display';
    font-size: 29px;
    font-weight: Bold;
    margin-bottom: 40px;
    text-align: left;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-top: -8px;
}

.swiper {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.swiper-slide {
    display: flex;
    justify-content: center; /* Горизонтальное центрирование */
    align-items: center;    /* Вертикальное центрирование */
    text-align: center;     /* Дополнительно для текста */
}

.carousel-img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
    border-radius: 10px; /* Если нужен закругленный стиль */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.swiper-button-next,
.swiper-button-prev {
    color: #816954 !important;
}

.swiper-pagination-bullet {
    background-color: #816954 !important; /* Цвет точек */
}

.swiper-pagination-bullet-active {
    background-color: #000 !important; /* Цвет активной точки */
}

/* Trusted Block */
.trusted-block {
    background-image: url('../images/new3.png');
    background-size: cover; /* Изображение полностью вписывается в блок */
    background-position: center top; /* Центрируем фон по горизонтали и верхнему краю */
    background-attachment: fixed; /* Отключаем фиксированное прикрепление */
    height: 100vh; /* Высота блока */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.trusted-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2; 
    padding-top: 50px;
}

.trusted-logo {
    width: 300px; /* Размер логотипа */
    height: auto;
    margin-top: 120px;
    margin-bottom: 0; /* Отступ снизу */
}

.trusted-divider {
    width: 1px;
    height: 150px;
    background-color: #fff; /* Цвет линии */
    margin: 30px 30px; /* Отступы сверху и снизу */
}

.trusted-text {
    font-family: 'SF UI Display', sans-serif;
    font-size: 20px;
    color: #fff;
    margin-bottom: 20px; /* Отступ до логотипов */
}

.partner-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 70px; /* Контролируем расстояние между логотипами */
}

.partner-logos img {
    margin: 0 50px; /* Равномерные отступы от центра */
    max-width: 350px;
    max-height: 250px;
    object-fit: contain;
    padding-left: 40px;
}


/* Параллакс-эффект */
.trusted-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Тёмный прозрачный слой */
    z-index: 1; /* Под контентом */
}

/* Общие стили для футера */
.footer-block {
    background-color: #161616;
    color: #fff;
    padding: 50px 20px;
    font-family: 'SF UI Display', sans-serif;
    padding-left: 20px;
    padding-right: 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: nowrap; /* Убираем перенос строк для десктопа */
    text-align: left;
    gap: 30px;
    padding-left: 20px;
    padding-right: 20px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-heading {
    font-family: 'SF UI Display', Medium;
    font-size: 16px; /* Увеличиваем для десктопа */
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-family: 'SF UI Display', Regular;
    font-size: 14px;
    text-decoration: none;
    color: #fff;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #D2BBA6;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-family: 'SF UI Display', Regular;
    font-size: 12px;
    color: #ccc;
}

/* Контейнер для формы */
.footer-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-input {
    font-family: 'SF UI Display', Thin;
    font-size: 14px;
    padding: 10px;
    border: 1px solid #D2BBA6;
    border-radius: 5px;
    background-color: transparent;
    color: #fff;
}

.form-button {
    font-family: 'SF UI Display', Medium;
    font-size: 14px;
    background-color: #D2BBA6;
    color: #000;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-button:hover {
    background-color: #c1a695;
}
  
  /* Contacts Column */
  .footer-column p {
    font-family: 'SF UI Display', Regular;
    font-size: 14px;
    margin-bottom: 10px;
  }
  
  .footer-column a {
    color: #D2BBA6;
    text-decoration: none;
    font-family: 'SF UI Display', Regular;
  }
  
  .footer-column a:hover {
    text-decoration: underline;
  }
  
  /* Form Column */
  .footer-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .form-input {
    font-family: 'SF UI Display', Thin;
    font-size: 14px;
    padding: 10px;
    border: 1px solid #D2BBA6;
    border-radius: 5px;
    background-color: transparent;
    color: #fff;
  }
  
  .form-input::placeholder {
    color: #ccc;
  }
  
  .form-button {
    font-family: 'SF UI Display', Medium;
    font-size: 14px;
    background-color: #D2BBA6;
    color: #000;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .form-button:hover {
    background-color: #c1a695;
  }
  
  .footer-consent {
    font-family: 'SF UI Display', Thin;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
  }
  
  .footer-consent input {
    margin: 0;
  }
  
  /* Footer Bottom */
  .footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-family: 'SF UI Display', Regular;
    font-size: 12px;
    color: #ccc;
  }
  
  /* Эффект подсветки */
.form-input {
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.form-input.highlight {
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8); /* Белая подсветка */
    border-color: rgba(255, 255, 255, 1); /* Белая рамка */
}

/* Контент страницы */
.privacy-content {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    margin-top: 150px;
    margin-bottom: 80px;
    background: #fff; /* Белый фон для текста */
    border-radius: 10px; /* Скруглённые углы */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Лёгкая тень */
}

.privacy-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    margin-top: 20px;
    text-align: left;
}

.privacy-date {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
    text-align: left;
}

.privacy-content p,
.privacy-content ul {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    margin-top: 20px;
}

.privacy-content ul {
    list-style-type: disc;
    padding-left: 20px;
}

.privacy-content a {
    color: #816954; /* Цвет ссылок */
    text-decoration: none;
}

.privacy-content a:hover {
    text-decoration: underline;
}

/* Контент страницы */
.partner-content {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    margin-top: 150px;
    margin-bottom: 80px;
    background: #fff; /* Белый фон для текста */
    border-radius: 10px; /* Скруглённые углы */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Лёгкая тень */
}

.partner-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    margin-top: 20px;
    text-align: left;
    color: #333;
}

.partner-date {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
    text-align: left;
}

.partner-content p,
.partner-content ul {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    margin-top: 20px;
    color: #333;
}

.partner-content ul {
    list-style-type: disc;
    padding-left: 20px;
}

.partner-content ul li {
    margin-bottom: 10px;
}

.partner-content a {
    color: #816954; /* Цвет ссылок */
    text-decoration: none;
    transition: color 0.3s ease;
}

.partner-content a:hover {
    text-decoration: underline;
    color: #a0816f;
}

.partner-content h2 {
    font-size: 22px;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #444;
}

/* Контент страницы */
.career-content {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    margin-top: 150px;
    margin-bottom: 80px;
    background: #fff; /* Белый фон для текста */
    border-radius: 10px; /* Скруглённые углы */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Лёгкая тень */
}

.career-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    margin-top: 20px;
    text-align: left;
    color: #333;
}

.career-date {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
    text-align: left;
}

.career-content p,
.career-content ul {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    margin-top: 20px;
    color: #333;
}

.career-content ul {
    list-style-type: disc;
    padding-left: 20px;
}

.career-content ul li {
    margin-bottom: 10px;
}

.career-content a {
    color: #816954; /* Цвет ссылок */
    text-decoration: none;
    transition: color 0.3s ease;
}

.career-content a:hover {
    text-decoration: underline;
    color: #a0816f;
}

.career-content h2 {
    font-size: 22px;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #444;
}

.career-content h3 {
    font-size: 20px;
    font-weight: bold;
    margin-top: 25px;
    margin-bottom: 10px;
    color: #555;
}

/* Общие стили для мобильной адаптации */
@media (max-width: 1024px) {
    .privacy-content {
        padding: 15px;
        margin-top: 70px; /* Уменьшаем отступ для планшетов */
    }

    .privacy-title {
        font-size: 24px;
    }

    .privacy-date {
        font-size: 12px;
    }

    .privacy-content p,
    .privacy-content ul {
        font-size: 15px;
        line-height: 1.4;
    }

}

@media (max-width: 768px) {
    .privacy-content {
        padding: 15px;
        margin-top: 60px; /* Для мобильных уменьшаем ещё больше */
    }

    .privacy-title {
        font-size: 22px;
    }

    .privacy-date {
        font-size: 12px;
        margin-bottom: 20px;
    }

    .privacy-content p,
    .privacy-content ul {
        font-size: 14px;
    }

    /* Уменьшаем радиус и тень для компактности */
    .privacy-content {
        border-radius: 5px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
}

/* Адаптация для очень маленьких экранов (например, iPhone SE) */
@media (max-width: 480px) {
    .privacy-content {
        padding: 10px;
    }

    .privacy-title {
        font-size: 20px;
    }

    .privacy-content p,
    .privacy-content ul {
        font-size: 13px;
    }
}

/* Стили для футера */
.footer-block {
    background-color: #161616;
    color: #fff;
    padding: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .footer-block {
        padding: 15px;
    }

    .footer-bottom p {
        font-size: 10px;
    }
}

@media screen and (min-resolution: 300dpi) {
    body {
        visibility: hidden;
    }
}

/* Бургер-меню */
.burger-menu {
    display: none; /* Скрываем бургер по умолчанию */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    position: absolute;
    top: 14px; /* Отступ сверху */
    right: 15px; /* Отступ справа */
    z-index: 1100;
    background: none;
    border: none;
    cursor: pointer;
}

.burger-menu span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #fff;
    border-radius: 1px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Анимация бургер-меню */
.burger-menu.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Меню по умолчанию (десктопное) */
.menu {
    display: flex; /* Показываем меню горизонтально */
    flex-direction: row; /* Горизонтальный список */
    gap: 20px; /* Расстояние между пунктами */
    position: static; /* Убираем абсолютное позиционирование */
    background-color: transparent; /* Без фона */
    padding: 0; /* Убираем внутренние отступы */
    box-shadow: none; /* Убираем тень */
    margin-top: -2px;
}

/* Для пунктов меню на десктопе */
.menu ul {
    display: flex; /* Горизонтально */
    flex-direction: row; /* Горизонтальный список */
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px; /* Расстояние между пунктами */
}

/* Стили ссылок меню */
.menu ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    font-family: 'SF UI Display', sans-serif;
    transition: color 0.3s ease;
    padding-left: 0; /* Сдвигаем текст левее */
    text-align: left; /* Выравниваем текст по левому краю */
}

.menu ul li a:hover {
    color: #ccc;
}

/* Мобильное меню (бургер) */
@media (max-width: 768px) {
    .burger-menu {
        display: flex; /* Показываем бургер-меню */
    }

    .menu {
        display: none; /* Скрываем меню по умолчанию */
        flex-direction: column; /* Вертикальный список */
        gap: 10px;
        position: absolute;
        top: 60px;
        right: 10px;
        background-color: rgba(0, 0, 0, 0.8);
        padding: 17px 20px;
        border-radius: 8px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    }

    .menu.active {
        display: flex; /* Показываем меню при активном состоянии */
    }

    .menu ul {
        flex-direction: column; /* Вертикальный список */
    }
}

/* Общие стили для мобильных устройств */
@media (max-width: 768px) {
    .header .container {
        padding: 0 10px; /* Уменьшаем боковые отступы */
    }

    .logo img {
        width: 80px; /* Уменьшаем размер логотипа */
        margin-top: 19px; /* Регулируем отступ сверху */
        padding-left: 5px;
    }

    .header {
        padding: 10px 0; /* Уменьшаем верхний и нижний отступы */
    }

    /* Hero-секция */
    .hero {
        height: 100vh;
        background-size: contain; /* Изображение полностью вписывается по высоте */
        background-position: top center; /* Центрируем изображение по горизонтали */
        background-attachment: scroll; /* Отключаем фиксированное прикрепление */
        padding: 0 10px; /* Добавляем боковые отступы */
    }

    .hero-content {
        bottom: 15%; /* Поднимаем контент выше */
    }

    .hero-logo img {
        max-width: 300px; /* Уменьшаем размер логотипа на мобильных устройствах */
    }
    
    .hero h1 {
        font-size: 28px; /* Уменьшаем размер заголовка */
        margin-bottom: 10px;
    }

    .hero p {
        font-size: 18px; /* Уменьшаем размер текста */
        line-height: 1.4; /* Более компактный текст */
        margin-bottom: 40px;
        white-space: pre-line; /* Учитывает переносы строк из HTML */
        padding: 0 80px;
    }

    .hero .btn {
        width: 90%; /* Кнопка на 90% ширины экрана */
        max-width: 300px; /* Ограничиваем максимальную ширину */
        height: 50px;
        line-height: 50px;
        font-size: 16px;
    }

    /* Секция «ВОЗМОЖНОСТИ MIAMORE */
    .features {
        padding: 30px 20px; /* Уменьшаем внешние отступы */
    }

    .features-title {
        font-size: 22px; /* Уменьшаем заголовок */
        text-align: center; /* Центрируем заголовок */
        padding-top: 14px;
    }

    .features-container {
        padding: 0 20px;
        gap: 15px; /* Уменьшаем расстояние между блоками */
    }   

    .feature-block {
        padding: 15px; /* Уменьшаем внутренние отступы */
        font-size: 16px; /* Уменьшаем размер текста */
        transition: none; /* Отключаем плавные эффекты */
        transform: none; /* Убираем трансформацию при наведении */
        pointer-events: none; /* Отключаем клики */
    }

    .feature-title {
        font-size: 16px; /* Уменьшаем размер заголовков */
    }

    .feature-text {
        font-size: 16px; /* Уменьшаем текст */
        line-height: 1.4;
    }

    .feature-image {
        justify-content: flex-end; /* Опускаем изображение вниз */
        padding-bottom: 25px; /* Увеличиваем отступ от нижнего края */
    }
    
    .optimize-block {
        background-attachment: scroll;
        background-size: 110%;
        background-position: center;
        min-height: 400px;
    }

    .optimize-text {
        font-size: 20px; /* Уменьшаем размер текста */
        line-height: 1.4; /* Уменьшаем межстрочное расстояние */
        margin-top: 5px; /* Уменьшаем отступ сверху */
        margin-right: 10px;
    }

    /* Секция тарифов */
    .pricing-title {
        font-size: 22px; /* Уменьшаем заголовок */
        text-align: center; /* Центрируем заголовок */
    }

    .pricing-container {
        grid-template-columns: 1fr; /* Все карточки в один столбец */
        gap: 20px; /* Увеличиваем расстояние между карточками */
        padding: 0 20px;
    }

    .pricing-card {
        width: 100%; /* Уменьшаем ширину карточки */
        margin: 0 auto; /* Центрируем карточку */
        padding: 20px;
        height: auto; /* Делаем высоту авто */
        pointer-events: none;
    }

    /* Состояние для блока при анимации */
    .pricing-card.reset {
        transform: translateY(0); /* Возвращается в исходное положение */
        background: conic-gradient(from 135deg, #0e0e0e 0%, #4a4a4a 100%); /* Сбрасываем фон */
        transition: transform 0.3s ease, background 0.3s ease; /* Плавные эффекты сброса */
    }
    
    /* Убираем активное состояние кнопки */
    .pricing-button.active {
        transform: scale(1); /* Возвращаем исходный масштаб */
        background: linear-gradient(180deg, #434754 0%, #161616 100%);
        box-shadow: none; /* Убираем тень */
    }  

    /* Сброс состояний при завершении */
    .pricing-button, .pricing-card {
        transition: transform 0.3s ease, background 0.3s ease; /* Плавные эффекты для всех элементов */
    }

    .pricing-card .pricing-button {
        pointer-events: auto; /* Включаем кликабельность кнопок */
    }

    .pricing-plan-title {
        font-size: 18px; /* Уменьшаем заголовок */
    }

    .pricing-features li {
        font-size: 16px; /* Уменьшаем текст в списке */
        margin-bottom: 5px; /* Уменьшаем отступы между пунктами */
    }

    .pricing-cost {
        font-size: 18px; /* Уменьшаем размер цены */
    }

    .pricing-button {
        font-size: 14px; /* Уменьшаем текст на кнопке */
        padding: 10px 0;
    }

    /* Trusted Block */
    .trusted-block {
        background-position: center top; /* Сдвигаем фон вверх */
        padding-top: 10px; /* Уменьшаем верхний отступ */
        padding-bottom: 10px; /* Уменьшаем нижний отступ */
        background-attachment: scroll;
        background-size: contain;
    }

    .trusted-content {
        display: flex;
        flex-direction: column; /* Располагаем содержимое вертикально */
        align-items: center; /* Центрируем содержимое по горизонтали */
        justify-content: flex-start; /* Поднимаем содержимое к верхнему краю */
        height: 100%; /* Растягиваем по высоте */
        text-align: center; /* Центрируем текст */
        gap: 10px; /* Расстояние между элементами */
        padding-top: 200px; /* Если нужно добавить отступ сверху */
        padding-bottom: 200px;
    }

    .trusted-divider {
        height: 150px; /* Уменьшаем высоту разделителя */
    }

    .trusted-text {
        font-size: 20px; /* Уменьшаем текст для мобильной версии */
        margin-bottom: 25px; /* Сокращаем отступы */
    }

    .partner-logos img {
        padding-left: 0; /* Убираем отступы, заданные для десктопа */
        padding-right: 0; /* Убираем отступы, если они есть */
        padding-top: 30px;
        width: 70%; /* Логотипы занимают 80% ширины экрана */
        margin: 0 auto; /* Центрируем логотипы */
    }

    .partner-logos {
        gap: 30px; /* Расстояние между логотипами */
        justify-content: center; /* Центрируем логотипы по горизонтали */
        flex-direction: column; /* Располагаем логотипы вертикально */
        align-items: center; /* Центрируем логотипы */
    }

    .trusted-divider {
        margin: 15px 0; /* Увеличиваем отступы сверху и снизу для разделителя */
    }

    .footer-container {
        flex-direction: column; /* Переводим в колонку */
        gap: 20px;
    }

    .footer-column {
        min-width: 100%; /* Растягиваем на всю ширину */
    }

    .footer-heading {
        font-size: 14px; /* Уменьшаем для мобильной версии */
    }

    .form-button {
        font-size: 14px; /* Уменьшаем текст кнопки */
        padding: 10px;
    }

    .footer-bottom {
        font-size: 12px; /* Уменьшаем текст в нижнем блоке */
    }
}

/* Специальные стили для Safari на мобильных устройствах */
@supports (-webkit-overflow-scrolling: touch) {
    .hero, .optimize-block, .trusted-block {
        background-attachment: scroll !important; /* Принудительное отключение fixed для Safari */
        background-position: center top;
        background-size: contain;
    }
}
