/* Global styles */
* {
    box-sizing: border-box;
}

/* Remove default outline from all interactive elements */
button, a, input, textarea, select, [tabindex] {
    outline: none !important;
}

button:focus, a:focus, input:focus, textarea:focus, select:focus, [tabindex]:focus {
    outline: none !important;
    border: none !important;
}

button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
    outline: none !important;
    border: none !important;
}

/* CSS variables for animations */
:root {
    --anim-duration-base: 0.3s;
    --anim-duration-slow: 0.5s;
    --anim-duration-fast: 0.2s;
    --anim-delay-base: 0.05s;
    --anim-delay-step: 0.05s;
}

html {
    height: 100%;
    background-color: black;
}

body {
    margin: 0;
    background-color: #ffffff;
    color: white;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
}

body::after {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

body.loaded::after {
    opacity: 0;
}

/* Style for page scroll prohibition */
body.no-scroll {
    overflow: hidden;
    height: 100vh;
    touch-action: none;
    -ms-touch-action: none;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
}



/* Common class for containers */
.principle__container,
.cases__container,
.products__container,
.workflow__container,
.testimonials__container,
.social-media__container,
.news__container,
.faq__container,
.contact-form__container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    padding: 0 16px;
}


.text-right {
    display: none;
}

p {
    font-size: 22px;
    line-height: 1.4;
    color: #333333;
    margin: 0;
    text-align: left;
    width: 100%;
}

/* Common styles for buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 36px;
    height: 52px;
    background: #FF6B00;
    color: #ffffff;
    text-decoration: none;
    border-radius: 999px;
    font-size: 15px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    box-shadow: none;
    white-space: nowrap;
    min-width: 160px;
    margin: 0;
    cursor: pointer;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    opacity: 0;
    border-radius: 999px;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.cta-button:hover {
    background: #000000;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    outline: none !important;
    border: none !important;
}

.cta-button:active {
    box-shadow: 0 3px 6px rgba(255, 107, 0, 0.15);
}

.cta-button:focus {
    outline: none !important;
    border: none !important;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2) !important;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Main content container */
.content-wrapper {
    position: relative;
    z-index: 2;
    margin-top: 0;
    background: #ffffff;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
}

/* Mobile devices - unified media query */
@media (max-width: 800px) {
    .content-wrapper {
        margin-top: 500px;
        background-color: #ffffff;
        min-height: 100vh;
        padding-top: 10px;
    }
}

@media (max-width: 768px) {
    .content-wrapper {
        margin-top: 0;
        border-radius: 20px 20px 0 0;
        transform: translateY(-80px);
    }
}

@media (max-width: 480px) {
    .content-wrapper {
        border-radius: 15px 15px 0 0;
        transform: translateY(-60px);
    }    
}

@media screen and (max-width: 360px) {
    .content-wrapper {
        transform: translateY(-40px);
    }
}

/* Setting base delay for different element types */
.case-card.appear-animation { --anim-delay: calc(var(--anim-delay-base) * 2); }
.workflow-card.appear-animation { --anim-delay: calc(var(--anim-delay-base) * 1.5); }
.product-card.appear-animation { --anim-delay: calc(var(--anim-delay-base) * 2.5); }
.social-card.appear-animation { --anim-delay: calc(var(--anim-delay-base) * 3); }
.testimonial-card.appear-animation { --anim-delay: calc(var(--anim-delay-base) * 2); }
.faq__item.appear-animation { --anim-delay: calc(var(--anim-delay-base) * 1.2); }

/* Style for instant element appearance when loading in the middle of the page */
.page-scrolled {
    transition: none !important;
}

/* Специальный стиль для нижних блоков, которые должны быть сразу видны при перезагрузке */
.reload-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: none !important;
}

section {
    position: relative;
    opacity: 0.95;
    transition: opacity 0.5s ease;
}

section.loaded {
    opacity: 1;
}

/* Состояния анимации для секций */
section[data-animation-state="preparing"] .appear-animation {
    transition-delay: calc(var(--anim-delay, 0s) + 0.1s);
}

section[data-animation-state="active"] .appear-animation {
    opacity: 1;
    transform: translateY(0);
}

section[data-animation-state="complete"] {
    opacity: 1;
}

/* Предзагрузка изображений и оптимизация ресурсов */
img {
    /* Применяем фильтр для плавного появления изображений */
    transition: opacity 0.3s ease, filter 0.3s ease;
}

img[data-src] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[data-src].loaded {
    opacity: 1;
}

/* Оптимизация блоков для различных устройств */
@media (max-width: 768px) {
    .appear-animation {
        transform: translateY(20px); /* Меньшее смещение для мобильных */
    }
}

/* Индивидуальная настройка анимации для разных блоков */
.case-card.appear-animation {
    transition-duration: 0.3s; /* Ускоренная анимация для карточек */
}


/* Добавляем хук для загрузки в конце body */
.load-trigger {
    position: absolute;
    height: 1px;
    width: 1px;
    opacity: 0;
    pointer-events: none;
}

/* Стиль для страниц с перезагрузкой */
.page-reloaded section .appear-animation {
    transition-duration: 0s !important;
}

.page-reloaded section[data-animation-state="complete"] .appear-animation,
.page-reloaded section[data-animation-state="active"] .appear-animation {
    opacity: 1;
    transform: translateY(0);
}

.orange-text {
    color: #FF6B00;
}

/* Стили для блока достижений */
.achievements-banner__content {
    position: relative;
}

.text-left {
    position: relative;
}

/* Чистый дизайн блока достижений */
.achievements-banner {
    background: #ffffff;
    padding: 0px 0;
    position: relative;
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

.achievements-banner__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 40px 40px 95px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
}

.achievements-banner__content {
    flex: 1;
    position: relative;
    margin-right: 20px;
    padding-left: 0;
}

/* Чистый заголовок */
.achievements-banner__title {
    font-size: 80px;
    color: #1a1a1a;
    line-height: 1.0;
    margin: 0;
    letter-spacing: -0.02em;
    text-align: left;
}

.achievements-banner__title br {
    display: block;
}

.achievements-banner__highlight {
    color: #FF6B00;
}

.achievements-banner__visual {
    flex: 0 0 auto;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    margin-left: auto;
}

/* Статичная золотая рука */
.rr-logo-3d {
    position: relative;
    width: 350px;
    height: 350px;
}

.rr-logo-3d__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform-origin: center center;
}

/* Стили для блока наград */
.awards {
    padding: 0px 0 0px;
    background: transparent;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
    /* Оптимизация для плавной анимации */
    contain: layout style paint;
    transform: translateZ(0);
}

.awards__container {
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
    overflow: visible;
}

.awards__header {
    display: flex;
    align-items: flex-start;
    gap: 80px;
    margin-bottom: 60px;
}

.awards__subtitle {
    font-size: 22px;
    text-align: left;
    margin: 0;
    color: #FF6B00;
    line-height: 1.2;
    text-transform: uppercase;
    opacity: 1;
    transform: translateY(0);
    flex-shrink: 0;
    width: 180px;
}

.awards__title {
    font-size: 36px;
    text-align: left;
    margin: 0;
    color: #000;
    line-height: 1.3;
    text-transform: none;
    opacity: 1;
    transform: translateY(0);
    flex: 1;
    max-width: 800px;
}

.awards__grid {
    display: flex;
    gap: 20px;
    flex-wrap: nowrap;
    overflow: visible;
    width: 8000px;
    padding: 10px 0;
    animation: scrollCards 45s linear infinite;
    /* Оптимизация для плавной анимации */
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

@keyframes scrollCards {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-4000px, 0, 0);
    }
}

.award-card {
    background: transparent;
    flex: 0 0 380px;
    min-width: 380px;
    max-width: 380px;
    height: 160px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    padding: 15px 15px 15px 15px;
    box-shadow: none;
    opacity: 1;
    transform: translateY(0) scale(1);
    position: relative;
    overflow: visible;
    border: none;
    /* Оптимизация для плавной анимации */
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.award-card__image-container {
    flex-shrink: 0;
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    padding-right: 0;
}

.award-card__image {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-width: 110px;
    max-height: 110px;
}

.award-card__content {
    padding: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    min-width: 0;
    word-wrap: break-word;
}

.award-card__year {
    font-size: 14px;
    color: #999 !important;
    margin-bottom: 8px;
    display: block !important;
    visibility: visible !important;
}

.award-card__year--first-place {
    color: #000 !important;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-bottom: 8px;
}

.award-card__main-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.award-card__bottom {
    margin-top: auto;
}

.award-card__provider {
    font-size: 16px;
    color: #000 !important;
    margin-bottom: 0;
    display: block !important;
    visibility: visible !important;
    flex: 1;
    line-height: 1.2;
}

.award-card__title {
    font-size: 28px;
    margin-bottom: 0;
    color: #000;
    line-height: 1.3;
}

.award-card__list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
    color: #000000;
}

/* Общая оптимизация анимаций для плавности */
.awards__grid,
.award-card,
.award-card-link {
    /* Включаем аппаратное ускорение */
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
    
    /* Оптимизация рендеринга */
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Оптимизация переходов для кликабельных карточек */
.award-card-link {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Отключаем will-change после завершения анимации для экономии ресурсов */
.awards__grid:not(:hover) {
    will-change: auto;
}

/* Принудительное использование композитного слоя для анимации */
@supports (transform: translate3d(0, 0, 0)) {
    .awards__grid {
        transform: translate3d(0, 0, 0);
    }
}

/* Стили для блока "Наши продукты" */
.our-products {
    padding: 80px 0;
    background-color: #ffffff;
}

.our-products__container {
    max-width: 1168px;
    margin: 0 auto;
    padding: 0 20px;
}

.our-products__title {
    font-size: 36px;
    text-align: left;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #000000;
    line-height: 1.2;
}

.our-products__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
    overflow: visible;
    scroll-snap-type: none;
    scroll-behavior: auto;
    -webkit-overflow-scrolling: auto;
    padding: 0;
    margin: 0 0 40px 0;
}

.our-products .product-card--wide {
    grid-column: span 2;
    flex: none;
    scroll-snap-align: none;
    min-width: none;
    max-width: none;
    width: auto;
    display: flex;
    flex-direction: column;
    min-height: 280px;
}

.product-card {
    padding: 40px 30px;
    border-radius: 16px;
    position: relative;
    transition: all 0.3s ease;
    width: auto;
    height: 320px;
    min-height: 320px;
    min-width: none;
    max-width: none;
    display: flex;
    flex: none;
    align-items: flex-start;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    scroll-snap-align: none;
}


.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.product-card__content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    height: 100%;
    position: relative;
    padding: 5px 15px 30px 15px;
}

.product-card__title {
    font-size: 24px;
    margin-bottom: 6px;
    line-height: 1.3;
    text-transform: none;
    margin-top: 0;
    padding-top: 0;
    align-self: flex-start;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
}

.product-card__description {
    font-size: 16px;
    line-height: 1.5;
    opacity: 1;
    margin: 0 0 auto 0;
    flex-grow: 1;
    color: rgba(255, 255, 255, 0.8);
}

.product-card__arrow {
    position: absolute;
    bottom: 6px;
    right: 15px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    opacity: 0.9;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

/* Скрываем оригинальные SVG стрелки */
.our-products .product-card__arrow svg {
    display: none;
}

/* Стили для самой стрелки внутри */
.our-products .product-card__arrow::before {
    content: '→';
    font-size: 14px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    line-height: 1;
    border-radius: 50%;
    color: #ffffff;
}

.product-card:hover .product-card__arrow {
    /* transform: scale(1.05); */
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

/* Специфичные стили для стрелочек в блоке our-products */
.product-card--gray .product-card__arrow {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(128, 128, 128, 0.6);
}

.product-card--gray:hover .product-card__arrow {
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(128, 128, 128, 0.8);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    /* transform: scale(1.05); */
}

/* Цветовые схемы карточек */
.product-card--orange {
    background: linear-gradient(135deg, #FF6B00 0%, #FF8533 100%);
    color: #ffffff;
}

.product-card--gray {
    background: linear-gradient(135deg, #E5E5E5 0%, #F0F0F0 100%);
    color: #1a1a1a;
}

.product-card--gray .product-card__title {
    color: #1a1a1a;
}

.product-card--gray .product-card__description {
    opacity: 0.9;
    color: #333333;
}

.product-card--black {
    background: linear-gradient(135deg, #2C2C2C 0%, #1A1A1A 100%);
    color: #ffffff;
}

/* Позиционирование стрелочек */
.our-products .product-card .product-card__arrow {
    bottom: 6px;
    right: 15px;
}

/* Стили для секции Principle */
.principle {
    padding: 50px 40px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.principle::before {
    display: none; /* Убираем градиентный элемент */
}

.principle::after {
    display: none; /* Убираем градиентный элемент */
}

.principle__container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.principle__title {
    font-size: 32px;
    color: #000;
    text-align: left;
    margin: 0;
    line-height: 1.4;
    max-width: 800px;
    display: flex;
    flex-direction: column;
}

.principle__title .line1 {
    display: block;
    margin-bottom: 5px;
}

.principle__title .line2 {
    display: block;
}

.principle__title span {
    display: inline;
    color: #333333;
}

.principle__title span.accent {
    display: inline-block;
    position: relative;
    color: #FF6B00;
    margin: 0 8px;
}

.principle__title span.accent::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #FF6B00, #FF8534);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.principle__title:hover span.accent::after {
    transform: scaleX(1);
}

.principle--second {
    padding-top: 60px;
    padding-bottom: 0;
}

.principle__button {
    margin: 0; /* Убираем отступ сверху */
    padding: 0 36px;
    height: 52px;
    background: #000000;
    color: #ffffff;
    text-decoration: none;
    border-radius: 999px;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0; /* Предотвращаем сжатие кнопки */
}

.principle__button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #FF6B00;
    opacity: 0;
    border-radius: 999px;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.principle__button:hover {
    background: #FF6B00 !important;
    box-shadow: 0 6px 12px rgba(255, 107, 0, 0.2);
}

.principle__button:hover::before {
    opacity: 0;
}

.principle__button span {
    position: relative;
    z-index: 1;
    color: #ffffff; /* Всегда белый текст */
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Стили для секции Cases */
.cases {
    padding: 60px 0 40px;
    background: #ffffff;
}

.cases__button {
    font-size: 18px;
    color: #000000;
    text-decoration: none;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
    width: max-content;
    background: none;
    border: none;
    padding: 0;
    transition: all 0.3s ease;
    min-width: 100px;
    text-align: center;
}

.cases__button::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #000000;
    transition: all 0.3s ease;
}

.cases__button:hover::after {
    background-color: #FF6B00;
    width: 100%;
}

.cases__button-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.cases__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cases__title {
    display: none;
}

.cases__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    grid-auto-flow: dense;
}

.case-card:nth-child(4) { /* Перемещаем Lusio на одну строку выше */
    margin-top: -60px;
}

.case-card:nth-child(5) { /* Поднимаем Gulliver еще выше */
    margin-top: -220px;
}

.case-card:nth-child(6) { /* Компенсируем отступ для карточки после Gulliver */
    margin-top: 60px;
}

.case-card:nth-child(8) { /* Поднимаем Мосигру для выравнивания по нижнему краю */
    margin-top: -120px;
}

.case-card:nth-child(9) { /* Компенсируем отступ для Ники */
    margin-top: -20px;
}

.case-card {
    position: relative;
    border-radius: 0; /* Убрали скругление */
    overflow: visible;
    width: 100%;
}

.case-card__image-container {
    position: relative;
    width: 100%;
    border-radius: 0; /* Убрали скругление */
    overflow: hidden;
    /* Убрали серый фон для устранения видимых линий */
}

.case-card:nth-child(1) .case-card__image-container { /* Lassie - горизонтальное изображение */
    padding-bottom: 114%; /* (338.58 / 297) * 100% */
}

.case-card:nth-child(2) .case-card__image-container { /* Street Beat - горизонтальное изображение */
    padding-bottom: 66.56%; /* (205 / 308) * 100% */
}

.case-card:nth-child(3) .case-card__image-container { /* Idol - вертикальное изображение */
    padding-bottom: 132.69%; /* (410 / 309) * 100% */
}

.case-card:nth-child(4) .case-card__image-container { /* Lusio - вертикальное изображение */
    padding-bottom: 115%; /* (410 / 307.5) * 100% */
}

.case-card:nth-child(5) .case-card__image-container { /* Gulliver - горизонтальное изображение */
    padding-bottom: 122%; /* (205 / 309) * 100% */
}

.case-card:nth-child(6) .case-card__image-container { /* Вольный странник - горизонтальное изображение */
    padding-bottom: 77.04%; /* (234 / 303.73) * 100% */
}

.case-card:nth-child(7) .case-card__image-container { /* Пан чемодан - горизонтальное изображение */
    padding-bottom: 77.35%; /* (239 / 309) * 100% */
}

.case-card:nth-child(8) .case-card__image-container { /* Мосигра - вертикальное изображение */
    padding-bottom: 132.69%; /* (410 / 309) * 100% */
}

.case-card:nth-child(9) .case-card__image-container { /* Ника - горизонтальное изображение */
    padding-bottom: 77.35%; /* (239 / 309) * 100% */
}

.case-card:hover {
    transform: none;
}

.case-card__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Показываем изображения полностью, чтобы не обрезать текст */
    object-position: top center; /* Прижимаем изображение к верхней границе */
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-card__content {
    padding: 0;
    color: #000;
    margin-top: 15px; /* Уменьшили отступ, так как нет серого фона снизу */
}

.case-card__title {
    font-size: 24px;
    margin: 0 0 15px;
    color: #000;
}

.case-card__buttons {
    display: flex;
    gap: 10px;
}

.case-card__button {
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.25s ease; /* Ускоряем анимацию кнопок */
}

.case-card__button--ios {
    background: #000;
    color: #fff;
}

.case-card__button--android {
    background: #f5f5f5;
    color: #000;
    border: 1px solid #e0e0e0;
}

.case-card__button:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.cases__button:hover::after {
    width: 0;
}

.case-card__button--ios:hover {
    background: #333;
    color: #fff;
    border-color: #333;
}

.case-card__button--android:hover {
    background: #eaeaea;
    color: #000;
    border: 1px solid #ccc;
}

/* Стили для видео секции */
.video-section {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-section video {
    width: 80%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.4) 100%);
}

/* Стили для секции Workflow */
.workflow {
    padding: 80px 40px;
    background: #ffffff;
}

.workflow__container {
    max-width: 1200px;
    margin: 0 auto;
}

.workflow__title {
    font-size: 42px;
    color: #000;
    margin-bottom: 60px;
    text-transform: uppercase;
}

.workflow__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
}

.workflow-card {
    position: relative;
    padding: 40px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.workflow-card:first-child {
    background: #000;
    border-color: #000;
}

.workflow-card:nth-child(5) {
    background: #FF6B00;
    border-color: #FF6B00;
}

.workflow-card__number {
    font-size: 32px;
    color: #000;
    margin-bottom: 20px;
    line-height: 1;
}

.workflow-card__title {
    font-size: 24px;
    color: #000;
    margin-bottom: 15px;
    line-height: 1.2;
}

.workflow-card__description {
    font-size: 16px;
    line-height: 1.5;
    color: #666;
    margin: 0;
}

.workflow-card:first-child .workflow-card__number,
.workflow-card:first-child .workflow-card__title,
.workflow-card:first-child .workflow-card__description {
    color: #ffffff;
}

.workflow-card:nth-child(5) .workflow-card__number,
.workflow-card:nth-child(5) .workflow-card__title,
.workflow-card:nth-child(5) .workflow-card__description {
    color: #ffffff;
}

.workflow-card:first-child .workflow-card__description,
.workflow-card:nth-child(5) .workflow-card__description {
    color: rgba(255, 255, 255, 0.8);
}

.workflow .principle { /* Стили для блока principle внутри workflow */
    padding: 60px 0 0;
}

.workflow .principle__container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0;
}

.workflow .principle__title {
    font-size: 32px;
    color: #000;
    margin: 0;
    line-height: 1.4;
    max-width: 800px;
    padding: 0;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.workflow .principle__title .line1 {
    display: block;
    margin-bottom: 5px;
}

.workflow .principle__title .line2 {
    display: block;
}

.workflow .principle__button {
    margin: 0;
    padding: 0 36px;
    height: 48px;
    background: #000000;
    color: #ffffff;
    text-decoration: none;
    border-radius: 999px;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    flex-shrink: 0;
}

/*Стили для блока отзывов*/
.testimonials {
    padding: 100px 40px;
    background: #ffffff;
    overflow: visible;
    position: relative;
}

.testimonials__container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: visible;
}

.testimonials__title {
    font-size: 42px;
    color: #000;
    margin-bottom: 60px;
    text-transform: uppercase;
    text-align: left;
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 300px;
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    transition: all 0.3s ease;
    height: auto;
    min-height: 220px;
    box-sizing: border-box;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.testimonial-card:hover {
    transform: none;
    border-color: #FF6B00;
}

.testimonial-card__header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 80px;
    min-height: 60px;
    justify-content: center;
}

.testimonial-card__avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    position: absolute;
    left: 40px;
    top: 40px;
}

.testimonial-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-card__info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.testimonial-card__name {
    font-size: 18px;
    color: #000;
    margin: 0;
}

.testimonial-card__position {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.6);
    margin: 0;
}

.testimonial-card__text {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    position: relative;
    padding-left: 25px;
}

.testimonial-card__text:before {
    content: '"';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 40px;
    line-height: 1;
    color: #FF6B00;
    opacity: 0.5;
}

.testimonials__nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    gap: 30px;
}

.testimonials__nav-button {
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.testimonials__nav-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 107, 0, 0.1);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.testimonials__nav-button:hover::before {
    transform: scale(1);
}

.testimonials__nav-button:hover {
    background: none;
    border-color: transparent;
    transform: translateY(-2px);
}

.testimonials__nav-button:hover svg {
    fill: #FF6B00;
}

.testimonials__nav-button:disabled {
    cursor: default;
    opacity: 0.5;
    transform: none;
}

.testimonials__nav-button svg {
    width: 24px;
    height: 24px;
    fill: #333;
    transition: fill 0.3s ease, stroke 0.3s ease;
    position: relative;
    z-index: 1;
    color: #333;
}

.testimonials__nav-button:hover svg {
    fill: #FF6B00;
    color: #FF6B00;
}

.testimonials__dots {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.testimonials__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonials__dot:hover {
    background-color: rgba(255, 107, 0, 0.5);
}

.testimonials__dot.active {
    width: 20px;
    border-radius: 10px;
    background: linear-gradient(90deg, #FF6B00, #FF8534);
}

.testimonials__slider {
    position: relative;
    display: flex;
    gap: 20px;
    overflow: visible;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 20px 0;
    margin: -20px 0;
    transition: transform 0.5s ease;
    flex-wrap: nowrap;
    width: 100%;
    box-sizing: border-box;
}

.testimonial-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.testimonial-modal.active {
    opacity: 1;
    visibility: visible;
}

.testimonial-modal__content {
    position: relative;
    width: 90%;
    max-width: 900px;
    background-color: transparent;
    border-radius: 8px;
    margin: 20px;
    aspect-ratio: 16/9;
}

.testimonial-modal__close {
    position: absolute;
    top: -40px;
    right: -10px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    font-size: 36px;
    color: white;
    cursor: pointer;
    z-index: 1501;
}

.testimonial-modal__video {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
}

/* Стили для модального окна отзывов */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 26, 26, 0.9);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 20px;
    box-sizing: border-box;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
}

.modal-content {
    position: relative;
    background-color: #fff;
    max-width: 800px;
    margin: 40px auto;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
    width: calc(100% - 40px);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    color: #1a1a1a;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    z-index: 1;
}

.modal-close::before,
.modal-close::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: #333;
    transform-origin: center;
}

.modal-close::before {
    transform: rotate(45deg);
}

.modal-close::after {
    transform: rotate(-45deg);
}

.modal-close:hover {
    transform: rotate(90deg);
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.modal-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
}

.modal-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info {
    flex: 1;
}

.modal-name {
    font-size: 24px;
    margin: 0 0 5px;
    color: #1a1a1a;
}

.modal-position {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.modal-body {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
}

.modal-text {
    margin: 0;
    white-space: pre-line;
}

.modal.active {
    display: block;
    opacity: 1;
}

/* Стили для секции "Мы в СМИ" */
.social-media {
    padding: 60px 40px 30px;
    background: #000000;
    color: #ffffff;
    position: relative;
    z-index: 2;
}

.social-media__container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.social-media__title {
    font-size: 44px;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-align: left;
}

.social-media__content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 35px;
}

.social-media__text-left,
.social-media__text-right {
    max-width: 48%;
}

.social-media__text-left p,
.social-media__text-right p {
    font-size: 22px;
    line-height: 1.4;
    color: #ffffff;
    margin: 0;
}

.social-media__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 40px;
}

.social-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 25px 30px 30px;
    width: 393px;
    height: 242px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    z-index: 3;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    border: none;
    outline: none;
}

.social-card:hover {
    transform: none;
    box-shadow: none;
}

.social-card__title {
    font-size: 44px;
    color: #000000;
    margin: 0;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

.social-card__icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.social-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: opacity 0.3s ease;
    margin-top: 3px;
    margin-left: 2px;
    border-radius: 0;
}

.social-card:hover .social-card__icon img {
    opacity: 1;
}

.social-card__content {
    position: relative;
    z-index: 1;
    max-width: 60%;
}

.social-card__description {
    font-size: 16px;
    line-height: 1.5;
    color: #666;
    margin: 0;
}

/* Стили для секции "Блог компании" */
.blog {
    padding: 30px 40px 120px 40px;
    background: #000000;
    color: #ffffff;
    position: relative;
    margin-top: 0;
    margin-bottom: 0; /* Убираем отрицательный отступ */
}
        
.blog__container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.blog__title {
    font-size: 44px;
    color: #ffffff;
    margin-bottom: 40px;
    text-transform: uppercase;
    text-align: left;
}

.blog__content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 0; /* Полностью убираем отступ снизу */
}
        
.blog__image {
    flex: 0 0 auto;
    margin-right: 0;
}

.blog__image img {
    width: 422px;
    height: 242px;
    object-fit: cover;
    border-radius: 20px;
    vertical-align: middle;
}

.blog__text {
    flex: 1;
    max-width: 58%;
    display: flex;
    flex-direction: column;
    margin-left: 0;
    padding-left: 40px;
}

.blog__heading {
    font-size: 26px;
    color: #ffffff;
    margin: 0 0 20px;
    line-height: 1.2;
}

.blog__description {
    font-size: 20px;
    line-height: 1.4;
    color: #ffffff;
    margin: 0 0 30px;
}

.blog__description br {
    display: inline-block;
}

.blog__date {
    font-size: 16px;
    font-style: italic;
    color: #cccccc;
    margin: 0 0 15px;
}

.blog__empty,
.blog__error {
    font-size: 18px;
    line-height: 1.4;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin: 30px 0;
}

.blog__error {
    color: #ff6666;
}

.blog__more-button {
    font-size: 18px;
    color: #ffffff;
    text-decoration: none;
    position: relative;
    display: inline-block;
    margin-top: 40px;
    padding: 12px 30px;
    background: linear-gradient(45deg, #0070f3, #00c1ff);
    border-radius: 30px;
    transition: all 0.3s ease;
}

.blog__more-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 112, 243, 0.3);
}

.blog__link {
    font-size: 18px;
    color: #ffffff;
    text-decoration: none;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
    width: max-content;
}

.blog__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #ffffff;
    transition: width 0.3s ease;
}

.blog__link:hover::after {
    width: 0;
}

/*Стили для блока Новости компании*/
.company-news {
    padding: 80px 40px;
    background: #000000;
    color: #ffffff;
    position: relative;
    margin-top: 0;
    margin-bottom: 0;
}

.company-news__container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.company-news__title {
    font-size: 44px;
    color: #ffffff;
    margin-bottom: 60px;
    text-transform: uppercase;
    text-align: left;
}

.company-news__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.news-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    min-height: 280px;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.15);
}

.news-card__content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-card__meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.news-card__date {
    font-size: 14px;
    color: #666666;
}

.news-card__category {
    font-size: 12px;
    color: #FF6B00;
    background-color: #FFF0E8;
    padding: 4px 12px;
    border-radius: 12px;
    letter-spacing: 0.5px;
}

.news-card__title {
    font-size: 20px;
    color: #000000;
    margin-bottom: 15px;
    line-height: 1.3;
}

.news-card__description {
    font-size: 16px;
    line-height: 1.5;
    color: #666666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.news-card__link {
    font-size: 16px;
    color: #000000;
    text-decoration: none;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
    transition: color 0.3s ease;
    margin-top: auto;
    width: max-content;
}

.news-card__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #000000;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.news-card__link:hover {
    color: #FF6B00;
}

.news-card__link:hover::after {
    background-color: #FF6B00;
    width: 0;
}

.company-news__more {
    display: flex;
    justify-content: center;
}

.company-news__more-button {
    font-size: 18px;
    color: #ffffff;
    text-decoration: none;
    position: relative;
    display: inline-block;
    padding: 15px 40px;
    border: 2px solid #ffffff;
    border-radius: 30px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.company-news__more-button:hover {
    background-color: #ffffff;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

/*Стили для блока FAQ*/
/* Стили для секции FAQ */
.faq {
    padding: 0px 40px 0;
    background: #ffffff;
    position: relative;
    margin-top: 0;
    overflow: hidden;
    padding-bottom: 30px;
}

.faq__container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 80px; /* Добавляем внутренний отступ снизу */
}

.faq__container:before,
.faq__container:after {
    display: none;
}

.faq__title {
    font-size: 46px;
    color: #000;
    margin-bottom: 30px;
    margin-top: 100px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    letter-spacing: 0.02em;
}

.faq__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.faq__item {
    background: transparent;
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: none;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding-bottom: 10px;
}

.faq__item:before {
    content: none;
}

.faq__item:hover:before {
    opacity: 0;
}

.faq__item:hover {
    box-shadow: none;
    transform: none;
}

.faq__item.active {
    background: transparent;
    border-left: none;
    box-shadow: none;
    border-bottom-color: #FF6B00;
}

.faq__question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.faq__question span {
    font-size: 20px;
    color: #000;
    padding-right: 40px;
    transition: color 0.3s ease;
    padding-left: 0;
    letter-spacing: 0.01em;
}

.faq__icon {
    position: absolute;
    right: 0;
    width: 24px;
    height: 24px;
    background: transparent;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.faq__icon::before,
.faq__icon::after {
    content: '';
    position: absolute;
    background: #000;
    transition: all 0.3s ease;
}

.faq__icon::before {
    width: 14px;
    height: 1.5px;
}

.faq__icon::after {
    width: 1.5px;
    height: 14px;
    transform: rotate(0deg);
}

.faq__item.active .faq__icon {
    background: transparent;
    transform: rotate(0);
}

.faq__item.active .faq__question span {
    color: #FF6B00;
}

.faq__item.active .faq__icon::before,
.faq__item.active .faq__icon::after {
    background-color: #FF6B00;
}

.faq__item.active .faq__icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
    padding: 0;
    opacity: 0;
    visibility: hidden;
}

.faq__item.active .faq__answer {
    max-height: 1000px;
    padding: 0 0 24px;
    opacity: 1;
    visibility: visible;
}

.faq__answer p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin: 0;
    padding-right: 20px;
    position: relative;
    padding-left: 0;
}

.faq__item.active .faq__answer p::before {
    content: none;
}

/*Стили для формы обратной связи*/
/* Стили для формы обратной связи */
.contact-form {
    padding: 80px 60px;
    background-color: #ffffff;
    color: #000000;
    position: relative;
    overflow: visible;
    z-index: 10;
    margin-top: 0 !important;
    margin-bottom: 0;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.contact-form__content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    max-height: 100%;
    /* фиксируем высоту по белой плашке */
}

.contact-form__left {
    flex: 1;
    min-width: 0;
    width: 610px;
    background-color: #f9f9f9;
    border-radius: 30px;
    padding: 40px;
    color: #000000;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 536px;
}

.contact-form__right {
    flex: 1;
    min-width: 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    background: none;
    border-radius: 0 0 30px 30px;
    height: 100%;
    box-sizing: border-box;
    margin: 0;
}

.phone-image-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.phone-image {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
}

.contact-form__title {
    font-size: 44px;
    line-height: 1.2;
    margin: 0 0 40px;
    color: #000000;
}

/* Светлая модификация формы (как на тарифах) */
.contact-form--light {
    background-color: #ffffff;
}

.contact-form__form {
    width: 100%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 30px;
    position: relative;
}

.form-input {
    width: 100%;
    height: 50px;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    background-color: transparent;
    font-size: 18px;
    padding: 10px 0;
    color: #000000;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    border-bottom-color: #000000;
}

.form-input::placeholder {
    color: #666666;
    font-size: 18px;
}

.checkbox-group {
    margin-top: auto;
    margin-bottom: 20px;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.checkbox-text {
    font-size: 14px;
    line-height: 1.4;
    color: rgba(0, 0, 0, 0.6);
}

.submit-button {
    width: 100%;
    max-width: 320px;
    height: 60px;
    background-color: #FF6B00;
    color: #ffffff;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform .1s ease;
}

.submit-button:hover {
    background-color: #e55a00 !important;
    outline: none !important;
    border: none !important;
}

.submit-button:focus {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

/*Стили для футера главной страницы*/
.footer {
    background-color: #f9f9f9;
    color: #fff;
    padding: 60px 0 40px;
    position: relative;
    z-index: 10;
    width: 100%;
}

.footer .container {
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.footer__top {
    margin-bottom: 40px;
    padding-bottom: 40px;
}

.footer__middle {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer__info p {
    margin: 0 0 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 400px;
}

.footer__right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 30px;
}

.footer__phone {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
}

.footer__phone:hover {
    color: #FF6B00;
}

.footer__documents {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: right;
}

.footer__documents a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
    text-align: right;
}

.footer__documents a:hover {
    color: #FF6B00;
}

/* Стили для cookie-popup */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
}

.cookie-popup.active {
    bottom: 0;
    opacity: 1;
    visibility: visible;
}

.cookie-popup__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.cookie-popup__content {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.cookie-popup__text {
    flex: 1;
    min-width: 0;
}

.cookie-popup__title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    font-family: 'Gilroy', sans-serif;
}

.cookie-popup__description {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
    margin: 0;
    font-family: 'Gilroy', sans-serif;
}

.cookie-popup__details {
    margin-top: 12px;
}

.cookie-popup__details-btn {
    background: none;
    border: none;
    color: #FF6B00;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    font-family: 'Gilroy', sans-serif;
    transition: color 0.2s ease;
}

.cookie-popup__details-btn:hover {
    color: #5a67d8;
}

.cookie-popup__arrow {
    transition: transform 0.2s ease;
}

.cookie-popup__details-content {
    display: none;
    margin-top: 16px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.cookie-types {
    display: grid;
    gap: 16px;
}

.cookie-type h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 6px 0;
    font-family: 'Gilroy', sans-serif;
}

.cookie-type p {
    font-size: 13px;
    color: #666;
    margin: 0 0 8px 0;
    font-family: 'Gilroy', sans-serif;
}

.cookie-type ul {
    margin: 0;
    padding-left: 16px;
    font-size: 13px;
    color: #666;
}

.cookie-type li {
    margin-bottom: 4px;
    font-family: 'Gilroy', sans-serif;
}

.cookie-popup__actions {
    flex-shrink: 0;
    display: flex;
    gap: 8px;
}

.cookie-popup__button {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-family: 'Gilroy', sans-serif;
    text-align: center;
    white-space: nowrap;
}

.cookie-popup__button--accept {
    background-color: #FF6B00;
    color: white;
}

.cookie-popup__button--accept:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
    background-color: #e55a00;
}

.cookie-popup__button--settings {
    background: #f8f9fa;
    color: #495057;
    border: 1px solid #dee2e6;
}

.cookie-popup__button--settings:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.cookie-popup__button--decline {
    background: transparent;
    color: #6c757d;
    border: 1px solid #dee2e6;
}

.cookie-popup__button--decline:hover {
    background: #f8f9fa;
    color: #495057;
}

.cookie-settings-modal { /* Cookie Settings Modal */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cookie-settings-modal.active {
    opacity: 1;
    visibility: visible;
}

.cookie-settings-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.cookie-settings-modal__content {
    position: relative;
    background: white;
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.cookie-settings-modal__header {
    padding: 24px 24px 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 16px;
    margin-bottom: 24px;
}

.cookie-settings-modal__header h2 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    font-family: 'Gilroy', sans-serif;
}

.cookie-settings-modal__close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    color: #6c757d;
    transition: all 0.2s ease;
}

.cookie-settings-modal__close:hover {
    background: #f8f9fa;
    color: #495057;
}

.cookie-settings-modal__body {
    padding: 0 24px;
}

.cookie-settings-modal__description {
    font-size: 14px;
    color: #666;
    margin: 0 0 24px 0;
    font-family: 'Gilroy', sans-serif;
}

.cookie-setting {
    margin-bottom: 24px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.cookie-setting__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.cookie-setting h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    font-family: 'Gilroy', sans-serif;
}

.cookie-setting p {
    font-size: 14px;
    color: #666;
    margin: 0 0 8px 0;
    font-family: 'Gilroy', sans-serif;
}

.cookie-setting__services {
    font-size: 12px;
    color: #6c757d;
    font-style: italic;
}

/* Cookie Toggle Switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle__slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 24px;
}

.cookie-toggle__slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cookie-toggle input:checked + .cookie-toggle__slider {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.cookie-toggle input:checked + .cookie-toggle__slider:before {
    transform: translateX(24px);
}

.cookie-toggle--disabled {
    opacity: 0.6;
    pointer-events: none;
}

.cookie-toggle--disabled .cookie-toggle__slider {
    background-color: #28a745;
}

.cookie-settings-modal__footer {
    padding: 24px;
    border-top: 1px solid #e9ecef;
    text-align: center;
}

/* Стили для модального окна */
.modal-feedback {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-feedback.active {
    display: flex;
    opacity: 1;
}

.modal-feedback__content {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    width: 90%;
    max-width: 500px;
    margin: auto;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.modal-feedback.active .modal-feedback__content {
    transform: translateY(0);
}

.modal-feedback__close {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.modal-feedback__close::before,
.modal-feedback__close::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: #333;
    top: 50%;
    left: 50%;
}

.modal-feedback__close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.modal-feedback__close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.modal-feedback__title {
    font-size: 24px;
    color: #000;
    margin-bottom: 15px;
    text-align: center;
}

.modal-feedback__description {
    text-align: center;
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.4;
}

.modal-feedback__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-feedback__input {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 15px;
    color: #333;
    font-size: 16px;
    transition: all 0.3s ease;
}

.modal-feedback__input:focus {
    border-color: #FF6B00;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 146, 44, 0.2);
}

.modal-feedback__submit {
    background: #000000;
    color: #ffffff;
    border-radius: 26px;
    font-size: 15px;
    padding: 0 36px;
    height: 48px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 160px;
    box-shadow: none;
}

.modal-feedback__submit:hover {
    background: #FF6B00 !important;
    color: #fff !important;
    box-shadow: 0 6px 12px rgba(255, 107, 0, 0.2) !important;
    background-image: none !important;
}

.modal-feedback__submit:active {
    box-shadow: 0 3px 6px rgba(255, 107, 0, 0.15);
}

.modal-feedback__submit:focus {
    outline: none !important;
    border: none !important;
    box-shadow: 0 6px 12px rgba(255, 107, 0, 0.2) !important;
}

.modal-feedback__privacy {
    font-size: 12px;
    color: #888;
    text-align: center;
}

.modal-feedback__privacy a {
    color: #666;
    text-decoration: none;
    border-bottom: 1px solid rgba(102, 102, 102, 0.3);
    transition: all 0.3s ease;
}

.modal-feedback__privacy a:hover {
    color: #333;
    border-bottom-color: #333;
}


/* Медиа запросы*/

@media (min-width: 1390px) {
    .achievements-banner__title {
        font-size: 77px; /* Базовый размер для экранов 1390px и выше */
        line-height: 1.0;
    }
}

@media (max-width: 1370px) {
    .achievements-banner__title {
        font-size: 68px;
    }
}

@media (max-width: 1350px) {
    .achievements-banner__title {
        font-size: 67px;
    }
}

@media (max-width: 1330px) {
    .achievements-banner__title {
        font-size: 66px;
    }
}

@media (max-width: 1310px) {
    .achievements-banner__title {
        font-size: 65px;
    }
}

@media (max-width: 1300px) {
    .achievements-banner__title {
        font-size: 64px;
    }
}

@media (max-width: 1250px) {
    .achievements-banner__title {
        font-size: 62px;
    }
}

@media (max-width: 1213px) {
    .achievements-banner__title {
        font-size: 55px;
    }
}

@media (max-width: 1200px) {
    .achievements-banner__title {
        font-size: 54px;
    }

    .achievements-banner__content {
        max-width: none;
    }

    /*Настройки для блока отзывов*/
    .testimonials {
        padding: 60px 30px 60px;
    }

    .testimonials__title {
        font-size: 36px;
        margin-bottom: 50px;
    }

    .testimonial-card {
        padding: 30px;
        min-height: 200px;
    }

    .testimonial-card__avatar {
        width: 60px;
        height: 60px;
        border-radius: 50%;
    }

    .testimonial-card__name {
        font-size: 20px;
    }

    /*Настройки для блока social-media*/
    .social-media {
        padding: 50px 30px;
    }
    
    .social-media__title {
        font-size: 38px;
        margin-bottom: 30px;
    }
    
    .social-media__text-left p,
    .social-media__text-right p {
        font-size: 20px;
    }
    
    .social-media__cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
        
    .social-card {
        width: 100%;
        height: 200px;
    }
    
    .social-card::after {
        width: 100px;
        height: 100px;
    }

    .social-card__title {
        font-size: 24px;
    }

    /*Настройки для блока Блог компании*/
    .blog {
        padding: 50px 30px 0;
    }
    
    .blog__title {
        font-size: 38px;
        margin-bottom: 30px;
    }
    
    .blog__heading {
        font-size: 28px;
    }
    
    .blog__description {
        font-size: 20px;
    }
    
    .blog__image {
        flex: 0 0 auto;
    }
    
    .blog__text {
        flex: 1;
        max-width: 55%;
        padding-left: 30px;
    }
    
    /*Настройки для блока Новости компании*/
    .company-news {
        padding: 60px 30px;
    }
    
    .company-news__title {
        font-size: 38px;
        margin-bottom: 40px;
    }
    
    .company-news__grid {
        gap: 30px;
        margin-bottom: 40px;
    }
    
    .news-card {
        min-height: 250px;
    }
    
    .news-card__content {
        padding: 25px;
    }
    
    .news-card__title {
        font-size: 18px;
    }
    
    .news-card__description {
        font-size: 15px;
    }

    /*Настройки для блока FAQ*/
    .faq {
        padding: 80px 30px 60px;
    }
    
    .faq__title {
        font-size: 38px;
        margin-bottom: 50px;
    }
    
    .faq__question span {
        font-size: 17px;
    }
    
    .faq__answer p {
        font-size: 15px;
    }

    /*Настройки для блока contact-form*/
    .contact-form {
        padding: 60px 40px;
    }

    .contact-form__title {
        font-size: 36px;
        margin-bottom: 30px;
    }

    .contact-form__left {
        padding: 30px;
    }
}

@media (min-width: 1145px) and (max-width: 1389px) {
    .achievements-banner__title {
        font-size: 50px; /* Установленный размер для 3 строк в диапазоне 1145-1389px */
        line-height: 1.0;
    }
}

@media (max-width: 1144px) {
    .achievements-banner__title {
        font-size: 48px; /* Уменьшаем размер для логичности */
    }
}

@media (max-width: 1100px) {
    .achievements-banner__content {
        max-width: 800px;
    }
    
    .achievements-banner__title {
        font-size: 46px; /* Логичное уменьшение */
    }
    
    .achievements-banner__visual {
        width: 400px;
        height: 400px;
    }
    
    .rr-logo-3d {
        width: 350px;
        height: 350px;
    }

    .product-card__description {
        font-size: 15px;
    }
}

@media (max-width: 1080px) {
    .achievements-banner__title {
        font-size: 44px; /* Логичное уменьшение */
    }
}

@media (max-width: 1060px) {
    .achievements-banner__title {
        font-size: 42px; /* Логичное уменьшение */
    }
}

@media (max-width: 1024px) {
    /* Настройки для блока "Наши продукты" */
    .our-products__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .our-products .product-card--wide {
        grid-column: span 2;
    }   
}

@media (max-width: 992px) {
    .award-card {
        flex: 0 1 100%;
        max-width: 100%;
    }
    
    .award-card__image-container {
        width: 120px;
        height: 120px;
    }
    
    .award-card__image {
        width: 120px;
        height: auto;
        max-height: 120px;
        object-fit: contain;
    }

    /*Настройки для блока social-media*/
    .social-media__cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .social-card {
        width: 100%;
        height: 200px;
    }

    /*Настройки для блока contact-form*/
    .contact-form {
        padding: 50px 30px;
    }

    .contact-form__content {
        gap: 30px;
    }

    .contact-form__title {
        font-size: 32px;
        margin-bottom: 25px;
    }

    .form-input {
        font-size: 16px;
    }

    .submit-button {
        height: 48px;
        font-size: 16px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .achievements-banner__title {
        font-size: 35px; /* Настроенный размер для 3 строк в диапазоне 768-1024px */
        line-height: 1.0;
        letter-spacing: -0.02em;
    }

    .workflow__container {
        padding: 0;
    }

    .workflow__grid {
        gap: 15px;
    }

    .workflow-card {
        padding: 20px;
    }

    .workflow-card__title {
        font-size: 20px;
    }

    .blog__content {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .lines-image {
        width: 120%;
        height: auto;
        object-fit: contain;
        transform: translateX(-10%);
    }

    /* Настройки для блока достижений */
    .achievements-banner {
        padding: 20px 0; /* Уменьшаем отступы чтобы поднять выше */
    }
    
    .achievements-banner__container {
        gap: 0px;
        padding: 0px 0px 20px 20px; /* Убираем верхний отступ */
        justify-content: flex-start;
        max-width: 100%;
        width: 100%;
    }
    
    .achievements-banner__content {
        flex: 1;
        margin-right: 0px;
        min-width: 100%;
        padding-left: 0;
        padding-right: 20px; /* Небольшой отступ справа */
        width: 100%;
    }
    
    .achievements-banner__title {
        font-size: 56px; /* Увеличиваем размер, обычная толщина */
        text-align: left; /* Выравнивание по левой границе */
        line-height: 0.95; /* Плотная упаковка для 3 строк */
        max-width: 100%;
        width: 100%;
        margin: 0;
        letter-spacing: -0.02em; /* Оптимизируем интервалы */
    }
    
    .achievements-banner__visual {
        display: none; /* Скрываем изображение в мобильной версии */
    }
    
    .rr-logo-3d {
        display: none;
    }

    /* Настройки для блока наград */
    .awards {
        padding: 40px 0;
        margin-bottom: 0px;
    }
    
    .awards__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-bottom: 30px;
        padding: 0 20px;
    }
    
    .awards__subtitle {
        font-size: 18px;
        width: auto;
    }
    
    .awards__title {
        font-size: 28px;
        line-height: 1.2;
        max-width: none;
    }
    
    .awards__carousel-container {
        margin: 0;
        padding: 0 20px;
        overflow: visible;
    }
    
    .awards__carousel-track {
        gap: 20px;
        animation-duration: 60s;
    }
    
    .award-card {
        flex: 0 0 320px;
        min-width: 320px;
        max-width: 320px;
        height: 180px;
        padding: 15px;
        gap: 8px;
        display: flex;
        align-items: center; /* Выравниваем элементы по центру вертикально */
    }
    
    .award-card__image-container {
        width: 120px;
        height: 120px;
        flex-shrink: 0;
        display: flex;
        align-items: center; /* Выравниваем изображения по центру вертикально */
        justify-content: center; /* Выравниваем изображения по центру горизонтально */
    }
    
    .award-card__image {
        width: 120px;
        height: auto;
        max-height: 120px;
        object-fit: contain;
    }
    
    .award-card__content {
        display: flex;
        flex-direction: column;
        justify-content: center; /* Центрируем контент по вертикали */
        flex: 1;
        min-height: 0;
    }
    
    .award-card__main-content {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    
    .award-card__year {
        font-size: 16px;
        line-height: 1.1;
    }
    
    .award-card__bottom {
        margin-top: 0 !important;
        margin-bottom: 8px !important;
        order: 1 !important; /* "Рейтинг Рунета" сверху в мобильной версии */
    }
    
    .award-card__main-content {
        order: 2 !important; /* Основной контент вторым */
    }
    
    .award-card__year--first-place { /* Единообразные стили для "1 место" */
        font-size: 16px !important;
        color: #000 !important;
        margin-bottom: 4px !important;
    }

    .award-card__bottom .award-card__year { /* Единообразные стили для "Рейтинг Рунета" */
        font-size: 12px !important;
        color: #999 !important;
        margin: 0 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
    }

    /* Настройки для блока "Наши продукты" */
    .our-products {
        padding: 60px 0;
    }

    .our-products__title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .our-products .our-products__grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 1fr;
        gap: 15px;
        align-items: stretch;
    }

    .our-products .product-card--wide {
        grid-column: span 2;
    }

    .our-products .product-card {
        padding: 30px 20px;
        min-height: 250px;
    }

    .product-card__title {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .product-card__description {
        font-size: 16px;
    }

    /*Настройки для блока principle*/
    .principle {
        padding: 40px 20px;
    }
    
    .principle__container {
        padding: 0;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .principle__title {
        font-size: 24px;
        line-height: 1.3;
        margin-bottom: 30px;
    }
    
    .principle__title .line1,
    .principle__title .line2 {
        display: inline;
    }
    
    .principle__button {
        width: 100%;
    }

    /*Настройки для блока cases*/
    .cases {
        padding: 40px 0 30px;
    }
    .cases__button {
        font-size: 16px;
    }

    .cases__button-container {
        margin-top: 30px;
    }

    .cases__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }

    .case-card:nth-child(n) { /* Сбрасываем все отрицательные отступы на планшетах */
        margin-top: 0;
    }

    .case-card__title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .case-card__buttons {
        flex-wrap: wrap;
    }

    .case-card__button {
        padding: 8px 16px;
        font-size: 13px;
    }

    /*Настройки для блока video-section*/
    .video-section {
        height: auto;
        width: 100%;
        padding: 0;
        margin: 0;
        overflow: hidden;
    }
    
    .video-section video {
        width: 100% !important;
        height: auto !important;
        object-fit: contain;
        display: block;
    }

    /*Настройки для блока workflow*/
    .workflow {
        padding: 30px 20px;
    }

    .workflow__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-bottom: 20px;
    }

    .workflow__title {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .workflow-card {
        padding: 25px;
    }

    .workflow-card__title {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .workflow-card__number {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .workflow-card__description {
        font-size: 15px;
    }

    .workflow .principle {
        padding: 40px 20px;
    }
    
    .workflow .principle__container {
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        gap: 30px;
    }
    
    .workflow .principle__title {
        font-size: 24px;
        text-align: left;
        padding: 0;
        margin: 0;
    }
    
    .workflow .principle__button {
        align-self: flex-start;
        width: auto;
        margin: 0;
    }

    /*Настройки для блока отзывов*/
    .testimonials {
        padding: 40px 20px 40px;
    }

    .testimonials__title {
        font-size: 32px;
        margin-bottom: 40px;
    }
    
    .testimonials__nav {
        margin-top: 30px;
        gap: 20px;
    }
    
    .testimonials__nav-button {
        width: 40px;
        height: 40px;
    }
    
    .testimonials__nav-button svg {
        width: 20px;
        height: 20px;
    }
    
    .testimonials__dots {
        gap: 10px;
    }

    .testimonial-card {
        padding: 30px;
        min-width: auto;
        width: 100%;
    }

    .testimonial-card__header {
        padding-left: 70px;
        min-height: 60px;
        margin-bottom: 15px;
    }

    .testimonial-card__avatar {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        overflow: hidden;
        position: absolute;
        left: 30px;
        top: 30px;
    }

    .testimonial-card__name {
        font-size: 16px;
        line-height: 1.2;
    }

    .testimonial-card__position {
        font-size: 13px;
        line-height: 1.2;
    }

    .testimonial-card__text {
        font-size: 14px;
        line-height: 1.5;
        padding-left: 20px;
    }

    .testimonial-card__text:before {
        font-size: 32px;
    }

    .testimonial-card[data-clone="true"], /* Обязательно скрываем все клоны и дубликаты */
    .testimonials__slider .testimonial-card:not([data-id]) {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        position: absolute !important;
        z-index: -9999 !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        pointer-events: none !important;
    }

    /*Настройки для модального окна отзывов*/
    .modal {
        padding: 15px;
    }

    .modal-content {
        padding: 30px 20px;
        margin: 20px auto;
        width: calc(100% - 30px);
        border-radius: 15px;
    }
    
    .modal-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }
    
    .modal-avatar {
        width: 60px;
        height: 60px;
    }
    
    .modal-name {
        font-size: 18px;
        margin-bottom: 4px;
    }
    
    .modal-position {
        font-size: 14px;
    }

    .modal-text {
        font-size: 15px;
        line-height: 1.5;
    }
    
    .modal-body {
        font-size: 16px;
    }

    .modal-close {
        top: 10px;
        right: 10px;
        width: 25px;
        height: 25px;
    }

    /*Настройки для блока social-media*/
    .social-media {
        padding: 40px 20px;
    }

    .social-media__container {
        padding: 0;
    }

    .social-media__title {
        font-size: 32px;
        margin-bottom: 25px;
    }
    
    .social-media__content {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 40px;
    }
    
    .social-media__text-left,
    .social-media__text-right {
        max-width: 100%;
    }
    
    .social-media__text-left p,
    .social-media__text-right p {
        font-size: 18px;
        line-height: 1.3;
    }
    
    .social-media__cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .social-card {
        width: 100%;
        height: 180px;
    }
    
    .social-card__title {
        font-size: 32px;
    }
    
    .social-card::after {
        width: 80px;
        height: 80px;
        bottom: 15px;
        right: 15px;
    }

    .social-card:hover {
        transform: none;
        box-shadow: none;
    }

    /*Настройки для блока Блог компании*/
    .blog {
        padding: 50px 20px 50px;
    }
    
    .blog__title {
        font-size: 32px;
        margin-bottom: 35px;
    }
    
    .blog__content {
        flex-direction: column;
        gap: 40px;
    }
    
    .blog__image,
    .blog__text {
        flex: 0 0 100%;
        max-width: 100%;
        margin-left: 0;
        padding-left: 0;
    }

    .blog__image {
        margin-bottom: 10px;
    }
    
    .blog__image img {

        width: 100%;
        max-width: 422px;
        height: auto;
        border-radius: 30px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    }
    
    .blog__heading {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .blog__description {
        font-size: 18px;
        margin-bottom: 30px;
        line-height: 1.5;
    }
    
    .blog__description br {
        display: none;
    }
    
    .blog__link {
        display: inline-block;
        font-size: 18px;
        padding: 10px 20px;
        background-color: #FF6B00;
        color: #fff;
        border-radius: 50px;
        text-decoration: none;
        font-weight: 500;
        box-shadow: 0 4px 10px rgba(255, 107, 0, 0.3);
        transition: transform 0.2s, box-shadow 0.2s;
    }

    .blog__link::after {
        display: none;
    }

    /*Настройки для блока Новости компании*/
    .company-news {
        padding: 40px 20px;
    }
    
    .company-news__title {
        font-size: 32px;
        margin-bottom: 30px;
    }
    
    .company-news__grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 30px;
    }
    
    .news-card {
        min-height: 220px;
    }
    
    .news-card__content {
        padding: 20px;
    }
    
    .news-card__meta {
        gap: 10px;
        margin-bottom: 10px;
    }
    
    .news-card__date {
        font-size: 12px;
    }
    
    .news-card__category {
        font-size: 10px;
        padding: 3px 8px;
    }
    
    .news-card__title {
        font-size: 15px;
        margin-bottom: 10px;
        line-height: 1.4;
    }
    
    .news-card__description {
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    .news-card__link {
        font-size: 13px;
    }
    
    .company-news__more-button {
        font-size: 14px;
        padding: 10px 25px;
        width: 100%;
        text-align: center;
    }

    /*Настройки для блока FAQ*/
    .faq {
        padding: 0px 15px 30px;
    }
    
    .faq__title {
        font-size: 28px;
        margin-top: 40px;
        margin-bottom: 30px;
    }
    
    .faq__list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .faq__question {
        padding: 16px 0;
    }
    
    .faq__question span {
        font-size: 16px;
        padding-right: 30px;
    }
    
    .faq__icon {
        right: 0;
        width: 20px;
        height: 20px;
    }
    
    .faq__answer p {
        font-size: 14px;
        padding-right: 0;
    }
    
    .faq__item.active .faq__answer {
        padding: 0 0 20px;
    }

    /*Настройки для блока contact-form*/
    .contact-form {
        padding: 30px 15px;
    }

    .contact-form__container {
        padding: 0;
    }

    .contact-form__left {
        padding: 25px;
        width: 100%;
        min-height: 400px;
    }

    .contact-form__right {
        display: none;
    }

    .contact-form__title {
        font-size: 28px;
        margin-bottom: 20px;
        text-align: center;
    }

    .submit-button {
        max-width: 100%;
        height: 50px;
    }

    /*Настройки для футера главной страницы*/
    .footer__middle {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer__right {
        align-items: flex-start;
        gap: 20px;
    }
    
    .footer__documents {
        text-align: left;
    }
    
    .footer__documents a {
        text-align: left;
    }

    /*Настройки для блока cookie-popup*/
    .cookie-popup__content {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
        text-align: center;
    }
    
    .cookie-popup__actions {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-popup__button {
        min-width: 140px;
    }
    
    .cookie-settings-modal__content {
        width: 95%;
        margin: 20px;
    }
    
    .cookie-settings-modal__header,
    .cookie-settings-modal__body,
    .cookie-settings-modal__footer {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .cookie-setting {
        padding: 16px;
    }
}

@media (max-width: 750px) {
    .achievements-banner__title {
        font-size: 52px; /* Увеличиваем размер */
        text-align: left;
        line-height: 0.95;
        letter-spacing: -0.02em;
    }
}

@media (max-width: 650px) {
    .achievements-banner__title {
        font-size: 48px; /* Увеличиваем размер */
        text-align: left;
        line-height: 0.95;
        letter-spacing: -0.02em;
    }
}

@media (max-width: 550px) {
    .achievements-banner__title {
        font-size: 44px; /* Увеличиваем размер */
        text-align: left;
        line-height: 0.95;
        letter-spacing: -0.02em;
    }
}

@media (max-width: 480px) {
    /* Настройки для блока наград */
    .awards {
        padding: 0px 0;
    }
    
    .awards__header {
        padding: 0 15px;
        margin-bottom: 25px;
    }
    
    .awards__subtitle {
        font-size: 16px;
    }
    
    .awards__title {
        font-size: 24px;
        line-height: 1.1;
    }
    
    .awards__carousel-container {
        margin: 0;
        padding: 0 15px;
        overflow: visible;
    }
    
    .awards__carousel-track {
        gap: 18px;
        animation-duration: 70s;
    }
    
    .award-card {
        flex: 0 0 300px;
        min-width: 300px;
        max-width: 300px;
        height: 160px;
        padding: 12px;
        gap: 8px;
        display: flex;
        align-items: center; /* Выравниваем элементы по центру вертикально */
    }
    
    .award-card__image-container {
        width: 110px;
        height: 110px;
        display: flex;
        align-items: center; /* Выравниваем изображения по центру */
        justify-content: center;
    }
    
    .award-card__image {
        width: 110px;
        height: auto;
        max-height: 110px;
        object-fit: contain;
    }
    
    .award-card__main-content {
        gap: 6px;
        display: flex;
        flex-direction: column;
    }
    
    .award-card__year {
        font-size: 14px;
    }
    
    .award-card__provider {
        font-size: 13px;
        line-height: 1.3;
        -webkit-line-clamp: 3;
    }
    
    .award-card__bottom .award-card__year {
        font-size: 11px;
        margin-top: -6px;
    }

    /* Настройки для блока "Наши продукты" */
    .our-products {
        padding: 0px 0;
    }

    .our-products__container {
        padding: 0 15px;
    }

    .our-products__title {
        font-size: 24px;
        margin-bottom: 0px;
    }

    .our-products .our-products__grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .product-card__content {
        padding: 8px 12px 20px 12px;
    }

    .product-card {
        padding: 30px 15px;
        min-height: 200px;
    }

    .product-card__title {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .product-card__description {
        font-size: 16px;
    }

    .our-products .our-products__grid .product-card--wide {
        grid-column: span 1
    }

    /*Настройки для блока principle*/
    .principle {
        padding: 30px 20px;
    }

    .principle__container {
        padding: 0;
    }

    .principle__title {
        font-size: 22px;
        line-height: 1.4;
    }

    .principle__title .line1,
    .principle__title .line2 {
        display: inline;
    }

    /*Настройки для блока cases*/
    .cases {
        padding: 30px 0 25px;
    }

    .cases__button-container {
        margin-top: 36px;
    }
    
    .cases__button {
        width: 45%;
        font-size: 15px;
    }

    .cases__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .case-card:nth-child(n+7) { /* Скрываем последние 3 кейса на мобильной версии */
        display: none;
    }
    
    .case-card:nth-child(1) .case-card__image-container { /* Сохраняем оригинальные пропорции для каждой карточки */ /* Lassie - горизонтальное */
        padding-bottom: 114%;
    }

    .case-card:nth-child(2) .case-card__image-container { /* Street Beat - горизонтальное */
        padding-bottom: 66.56%;
    }

    .case-card:nth-child(3) .case-card__image-container { /* Idol - вертикальное */
        padding-bottom: 132.69%;
    }

    .case-card:nth-child(4) .case-card__image-container { /* Lusio - вертикальное */
        padding-bottom: 115%;
    }

    .case-card:nth-child(5) .case-card__image-container { /* Gulliver - горизонтальное */
        padding-bottom: 122%;
    }

    .case-card:nth-child(6) .case-card__image-container { /* Вольный странник - горизонтальное */
        padding-bottom: 77.04%;
    }

    .case-card__content {
        padding: 10px 0; /* Уменьшили отступ для мобильных устройств */
    }

    .case-card__title {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .case-card__buttons {
        gap: 8px;
    }

    .case-card__button {
        flex: 1;
        text-align: center;
        min-width: 80px;
    }

    /*Настройки для блока video-section*/
    .video-section {
        height: auto;
        width: 100%;
        padding: 0;
        margin: 0;
        overflow: hidden;
    }
    
    .video-section video {
        width: 100% !important;
        height: auto !important;
        object-fit: contain;
        display: block;
    }

    /*Настройки для блока workflow*/
    .workflow {
        padding: 25px 15px;
    }

    .workflow__grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 20px;
    }

    .workflow__title {
        font-size: 28px;
        margin-bottom: 0px;
    }

    .workflow-card {
        padding: 20px;
    }

    .workflow-card__number {
        font-size: 24px;
    }

    .workflow-card__title {
        font-size: 18px;
    }

    .workflow-card__description {
        font-size: 14px;
    }

    /* Стили для блока principle внутри workflow */
    .workflow .principle {
        padding: 30px 0;
    }

    .workflow .principle__container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding: 0;
    }

    .workflow .principle__title {
        font-size: 22px;
        line-height: 1.3;
        text-align: left;
        margin: 0;
        max-width: 100%;
    }

    .workflow .principle__title span {
        display: inline;
        margin-right: 4px;
    }

    .workflow .principle__title .line1 {
        margin-bottom: 0;
    }

    .workflow .principle__button {
        width: 80%;
        max-width: 280px;
        height: 48px;
        font-size: 14px;
        padding: 0 24px;
        border-radius: 26px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #000000;
    }

    /*Настройки для блока testimonials*/
    .testimonials {
        padding: 15px 15px 0px;
    }

    .testimonials__title {
        font-size: 28px;
        margin-bottom: 16px;
    }
    
    .testimonial-card {
        padding: 15px;
    }

    .testimonial-card__header {
        padding-left: 75px;
        min-height: 45px;
    }

    .testimonial-card__avatar {
        width: 50px;
        height: 50px;
        min-width: 50px;
        border-radius: 50%;
        overflow: hidden;
        position: absolute;
        left: 25px;
        top: 15px;
    }

    .testimonial-card__name {
        font-size: 15px;
    }

    .testimonial-card__position {
        font-size: 14px;
    }

    .testimonial-card__text {
        font-size: 14px;
        padding-left: 18px;
    }

    .testimonial-card__text:before {
        font-size: 28px;
    }

    .testimonials__nav {
        margin-top: 25px;
        gap: 15px;
    }

    .testimonials__nav-button {
        width: 32px;
        height: 32px;
    }

    .testimonials__nav-button svg {
        width: 20px;
        height: 20px;
    }

    .testimonials__dots {
        gap: 8px;
    }
    
    .testimonials__dot {
        width: 6px;
        height: 6px;
    }
    
    .testimonials__dot.active {
        width: 16px;
    }

    /*Настройки для модального окна отзывов*/
    .modal {
        padding: 10px;
    }

    .modal-content {
        padding: 25px 15px;
        margin: 15px auto;
        width: calc(100% - 20px);
        border-radius: 12px;
    }

    .modal-avatar {
        width: 50px;
        height: 50px;
    }

    .modal-name {
        font-size: 16px;
    }

    .modal-position {
        font-size: 13px;
    }

    .modal-text {
        font-size: 14px;
        line-height: 1.4;
    }

    /*Настройки для блока social-media*/
    .social-media {
        padding: 30px 15px;
    }
    
    .social-media__title {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .social-media__content {
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .social-media__text-left p,
    .social-media__text-right p {
        font-size: 16px;
        line-height: 1.2;
    }
    
    .social-media__cards {
        flex-direction: column;
        gap: 12px;
        margin-top: 30px;
    }
    
    .social-card {
        width: 100%;
        padding: 15px 20px 20px;
        min-height: 150px;
        height: 160px;
    }
    
    .social-card__title {
        font-size: 28px;
        margin-bottom: 10px;
    }
    
    .social-card::after {
        width: 60px;
        height: 60px;
        bottom: 10px;
        right: 10px;
    }

    .social-card:hover {
        transform: none;
        box-shadow: none;
    }

    /*Настройки для блока Блог компании*/
    .blog {
        padding: 40px 15px 40px;
    }
    
    .blog__title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .blog__content {
        gap: 30px;
    }
    
    .blog__image img {
        height: auto;
        border-radius: 25px;
        width: 100%;
        max-height: 220px;
        object-fit: cover;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }
    
    .blog__heading {
        font-size: 20px;
        margin-bottom: 20px;
        line-height: 1.3;
    }
    
    .blog__description {
        font-size: 16px;
        margin-bottom: 25px;
    }
    
    .blog__link {
        padding: 8px 16px;
        font-size: 16px;
    }

    .blog__description br {
        display: none;
    }

    /*Настройки для блока Новости компании*/
    .company-news {
        padding: 30px 15px;
    }
    
    .company-news__title {
        font-size: 28px;
        margin-bottom: 25px;
    }
    
    .company-news__grid {
        gap: 20px;
        margin-bottom: 25px;
    }
    
    .news-card {
        min-height: 200px;
    }
    
    .news-card__content {
        padding: 15px;
    }
    
    .news-card__meta {
        gap: 10px;
        margin-bottom: 10px;
    }
    
    .news-card__date {
        font-size: 12px;
    }
    
    .news-card__category {
        font-size: 10px;
        padding: 3px 8px;
    }
    
    .news-card__title {
        font-size: 15px;
        margin-bottom: 10px;
        line-height: 1.4;
    }
    
    .news-card__description {
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    .news-card__link {
        font-size: 13px;
    }
    
    .company-news__more-button {
        font-size: 14px;
        padding: 10px 25px;
        width: 100%;
        text-align: center;
    }

    /*Настройки для блока FAQ*/
    .faq {
        padding: 0px 15px 30px;
    }
    
    .faq__title {
        font-size: 28px;
        margin-top: 10px;
        margin-bottom: 0px;
    }
    
    .faq__list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .faq__question {
        padding: 14px 0;
    }
    
    .faq__question span {
        font-size: 15px;
        padding-right: 25px;
        line-height: 1.4;
    }
    
    .faq__icon {
        width: 18px;
        height: 18px;
    }
    
    .faq__icon::before {
        width: 10px;
    }
    
    .faq__icon::after {
        height: 10px;
    }
    
    .faq__answer p {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .faq__item.active .faq__answer {
        padding: 0 0 16px;
    }

    /*Настройки для блока contact-form*/
    .contact-form {
        padding: 30px 15px;
    }

    .contact-form__container {
        padding: 0;
    }

    .contact-form__left {
        padding: 20px;
        border-radius: 20px;
        width: 100%;
        min-height: 350px;
    }

    .contact-form__title {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-input {
        font-size: 14px;
        height: 40px;
    }

    .checkbox-text {
        font-size: 12px;
    }

    /*Настройки для блока cookie-popup*/
    .cookie-popup__actions {
        width: 100%;
    }
    
    .cookie-popup__button {
        width: 100%;
        max-width: 200px;
    }
    
    .cookie-popup__title {
        font-size: 18px;
    }
    
    .cookie-popup__description {
        font-size: 13px;
    }

    @media (max-width: 768px) {
        .contact-form__content {
            flex-direction: column;
            justify-content: center;
            align-items: center;
            width: 100%;
            padding: 0 16px;
            box-sizing: border-box;
            gap: 0;
        }
        .contact-form__right {
            display: none !important;
        }
        .contact-form__left {
            width: 100%;
            max-width: 100%;
            min-width: 0;
            margin: 0 auto;
            border-radius: 30px;
            min-height: 450px;
            height: auto;
            box-sizing: border-box;
        }
    }
}

@media (max-width: 479px) {
    .achievements-banner {
        padding: 10px 0; /* Минимальные отступы чтобы поднять к первому блоку */
    }
    
    .achievements-banner__container {
        padding: 0px 0px 0px 20px; /* Заполняем всю ширину */
        gap: 0px;
        justify-content: flex-start;
        max-width: 100%;
        width: 100%;
    }
    
    .achievements-banner__content {
        margin-right: 0px;
        min-width: 100%;
        padding-left: 0;
        padding-right: 20px;
        width: 100%;
    }
    
    .achievements-banner__title {
        text-align: left; /* Выравнивание по левой границе */
        line-height: 0.95; /* Плотная упаковка */
        font-size: 40px; /* Увеличиваем размер, обычная толщина */
        letter-spacing: -0.02em;
        width: 100%;
    }
    
    /* Скрываем изображение */
    .achievements-banner__visual {
        display: none;
    }
    
    .rr-logo-3d {
        display: none;
    }
}

@media (max-width: 460px) {
    .achievements-banner__title {
        font-size: 35px; /* Увеличиваем размер, убираем жирность */
        text-align: left;
        line-height: 0.95;
        letter-spacing: -0.02em;
    }
}

@media (max-width: 420px) {
    .achievements-banner__title {
        font-size: 31px; /* Увеличиваем размер, убираем жирность */
        text-align: left;
        line-height: 0.95;
        letter-spacing: -0.02em;
    }
}

@media (max-width: 380px) {
    .achievements-banner__title {
        font-size: 31px; /* Увеличиваем размер, убираем жирность */
        text-align: left;
        line-height: 1.1;
        letter-spacing: -0.02em;
    }
}

/* Медиа запросы для блока наград */
@media (max-width: 375px) {
    /* Основные правила для всех карточек */
    .award-card__content {
        display: flex !important;
        flex-direction: column !important;
    }
    
    /* Правила для всех карточек с контейнерами main-content и bottom */
    .award-card__main-content {
        display: flex !important;
        flex-direction: column !important;
        order: 2 !important; /* Основной контент во второй позиции */
    }
    
    .award-card__bottom {
        order: 1 !important; /* "Рейтинг Рунета" на первое место */
        margin-top: 0 !important;
        margin-bottom: 8px !important;
    }
    
    /* Внутри main-content: сначала место, потом описание */
    .award-card__main-content .award-card__year--first-place {
        order: 1 !important; /* "1 место" первым в основном блоке */
        font-size: 16px !important;
        color: #000 !important;
        margin-bottom: 4px !important;
    }
    
    .award-card__main-content .award-card__provider {
        order: 2 !important; /* Описание вторым в основном блоке */
        font-size: 14px !important;
        color: #333 !important;
        line-height: 1.3 !important;
    }
    
    /* Единообразное оформление текста "Рейтинг Рунета" */
    .award-card__bottom .award-card__year {
        font-size: 12px !important;
        color: #999 !important;
        margin: 0 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
    }
}

@media (max-width: 360px) {
    .achievements-banner {
        padding: 10px 0; /* Минимальные отступы */
    }
    
    .achievements-banner__container {
        padding: 0px 0px 10px 20px; /* Убираем верхний отступ, минимальный нижний */
        gap: 0px;
        justify-content: flex-start;
        max-width: 100%;
        width: 100%;
    }
    
    .achievements-banner__content {
        margin-right: 0px;
        min-width: 100%;
        padding-left: 0;
        padding-right: 20px;
        width: 100%;
    }
    
    .achievements-banner__title {
        font-size: 29px; /* Равномерно увеличиваем размер */
        text-align: left;
        line-height: 0.95;
        letter-spacing: -0.02em;
        width: 100%;
    }
    
    .achievements-banner__visual {
        display: none; /* Скрываем изображение */
    }
    
    .rr-logo-3d {
        display: none;
    }

    /* Настройки для блока наград */
    .awards {
        padding: 25px 0;
    }
    
    .awards__header {
        padding: 0 10px;
        margin-bottom: 20px;
    }
    
    .awards__subtitle {
        font-size: 14px;
    }
    
    .awards__title {
        font-size: 22px;
    }
    
    .awards__carousel-container {
        margin: 0;
        padding: 0 10px;
        overflow: visible;
    }
    
    .awards__carousel-track {
        gap: 15px;
        animation-duration: 80s;
    }
    
    .award-card {
        flex: 0 0 280px;
        min-width: 280px;
        max-width: 280px;
        height: 140px;
        padding: 10px;
        gap: 6px;
        display: flex;
        align-items: center; /* Выравниваем элементы по центру вертикально */
    }
    
    .award-card__image-container {
        width: 100px;
        height: 100px;
        display: flex;
        align-items: center; /* Выравниваем изображения по центру */
        justify-content: center;
    }
    
    .award-card__image {
        width: 100px;
        height: auto;
        max-height: 100px;
        object-fit: contain;
    }
    
    .award-card__main-content {
        gap: 5px;
        display: flex;
        flex-direction: column;
    }
    
    .award-card__year {
        font-size: 12px;
    }
    
    .award-card__provider {
        font-size: 11px;
        line-height: 1.2;
        -webkit-line-clamp: 3;
    }
    
    .award-card__bottom .award-card__year {
        font-size: 10px;
        margin-top: -5px;
    }

    .cases__button {
        width: 55%;
    }

    /*Настройки для блока social-media*/
    .social-card {
        height: 140px;
        padding: 12px 15px 15px;
    }

    .social-card__title {
        font-size: 24px;
    }

    .social-media__text-left p,
    .social-media__text-right p {
        font-size: 16px;
    }

    .social-media__container {
        padding: 0;
    }

    .faq__container {
        padding: 0 12px;
    }

    .form-input::placeholder {
        font-size: 16px;
    }

    .checkbox-container {
        gap: 2px
    }
    
    /*Настройки для футера главной страницы*/
    .footer__documents a {
        font-size: 12px;
    }
}

@media (max-width: 340px) {
    .achievements-banner__title {
        font-size: 27px; /* Равномерно увеличиваем */
        text-align: left;
        line-height: 0.95;
        letter-spacing: -0.02em;
    }
}

@media (max-width: 320px) {
    .achievements-banner__title {
        font-size: 25px; /* Равномерно увеличиваем */
        text-align: left;
        line-height: 0.95;
        letter-spacing: -0.02em;
    }
}

@media (max-width: 300px) {
    .achievements-banner__title {
        font-size: 23px; /* Равномерно увеличиваем */
        text-align: left;
        line-height: 0.95;
        letter-spacing: -0.02em;
    }
}

@media (max-width: 280px) {
    .achievements-banner__title {
        font-size: 21px; /* Равномерно увеличиваем */
        text-align: left;
        line-height: 0.95;
        letter-spacing: -0.02em;
    }
}

.contact-form__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: auto;
}

.contact-form {
    width: 100%;
    height: 100%;
}

@media (max-width: 1331px) {
    .contact-form__content {
        gap: 20px;
    }
    .contact-form__left,
    .contact-form__right {
        min-height: 450px;
        height: 100%;
    }
    
    .contact-form__left {
        width: 100%;
    }
}

@media (max-width: 1100px) {
    .contact-form__left,
    .contact-form__right {
        min-height: 320px;
    }
    
    .contact-form__left {
        width: 100%;
    }
}

@media (max-width: 992px) {
    .contact-form__content {
        flex-direction: column;
        gap: 20px;
    }
    .contact-form__left,
    .contact-form__right {
        min-height: unset;
        height: auto;
    }
}

@media (max-width: 735px) {
    .contact-form__content {
        flex-direction: column;
        gap: 0;
    }
    .contact-form__right {
        display: none !important;
    }
    .contact-form__left {
        width: 100%;
        min-width: 0;
        border-radius: 30px;
        min-height: unset;
        height: auto;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .contact-form__container {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    .contact-form__content {
        width: 100%;
        max-width: 100%;
        padding: 0 16px;
        box-sizing: border-box;
    }
    .contact-form__left {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin: 0;
        border-radius: 30px;
        min-height: unset;
        height: auto;
        box-sizing: border-box;
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    .contact-form__content {
        flex-direction: row;
        align-items: stretch;
        gap: 20px;
        width: 100%;
        padding: 0 16px;
        box-sizing: border-box;
        min-height: 320px;
    }
    .contact-form__left,
    .contact-form__right {
        min-height: 0;
        height: 100%;
        width: 50%;
        max-width: 100%;
        margin: 0;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
    }
    .contact-form__right {
        display: flex !important;
        justify-content: center;
        align-items: flex-end;
    }
}

@media (min-width: 768px) and (max-width: 1110px) {
    .contact-form__right {
        display: none !important;
    }
}

/* Максимально специфичный селектор для черной кнопки */
.modal-feedback .modal-feedback__content .modal-feedback__form .modal-feedback__submit:hover {
    background: #FF6B00 !important;
    color: #fff !important;
    box-shadow: 0 6px 12px rgba(255, 107, 0, 0.2) !important;
    background-image: none !important;
    background-color: #FF6B00 !important;
}

.modal-feedback__submit:hover {
    background: #FF6B00 !important;
    color: #fff !important;
    box-shadow: 0 6px 12px rgba(255, 107, 0, 0.2) !important;
    background-image: none !important;
}

@media (max-width: 479px) {
    .achievements-banner__content {
        padding-top: 20px;
        padding-bottom: 0px;
    }
}

@media (max-width: 900px) {
  .footer__middle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 12px 0;
    align-items: center;
    padding: 0 10px;
  }
  .footer__info {
    grid-column: 1;
    grid-row: 1;
    text-align: left;
    padding-right: 12px;
    width: auto;
  }
  .footer__right {
    grid-column: 1;
    grid-row: 2;
    text-align: left;
    padding-left: 0;
    width: auto;
  }
  .footer__contacts {
    grid-column: 2;
    grid-row: 1 / span 2;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 18px !important;
    width: auto;
    min-width: 0;
  }
  .footer__contacts > div {
    flex-direction: row !important;
    gap: 8px !important;
    justify-content: flex-end;
    align-items: center;
  }
  .footer__contacts a {
    text-align: right;
    display: block;
  }
  .footer__contacts svg {
    margin-left: auto;
    display: block;
  }
}

@media (max-width: 600px) {
  .footer__middle {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 8px 0;
    padding: 0 4px;
  }
  .footer__info, .footer__right {
    font-size: 15px !important;
    width: auto;
    padding: 0;
  }
  .footer__info {
    grid-column: 1;
    grid-row: 1;
    text-align: left;
  }
  .footer__right {
    grid-column: 1;
    grid-row: 2;
    text-align: left;
  }
  .footer__contacts {
    grid-column: 2;
    grid-row: 1 / span 2;
    flex-direction: column;
    gap: 10px !important;
    align-items: flex-end;
    width: auto;
  }
  .footer__contacts a {
    font-size: 16px !important;
    text-align: right;
  }
  .footer__contacts svg {
    width: 22px !important;
    height: 22px !important;
    margin-left: auto;
  }
}

.footer__contacts a,
.footer__right a {
  color: #FF8800;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.footer__contacts a:hover,
.footer__right a:hover {
  color: #fff;
}

.footer__link {
  color: #FF8800 !important;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
  cursor: pointer;
}
.footer__link:hover {
  color: #fff !important;
}