/* /assets/css/components.css - ОПТИМИЗИРОВАНО И АДАПТИРОВАНО */

/* --- БАЗОВЫЕ НАСТРОЙКИ --- */
html {
    font-size: 16px; /* Базовый размер для rem */
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, video {
    width: 100%;
    display: block;
    border-style: none;
}

/* Общие стили для ссылок */
a {
    color: var(--text-color, #5F6065);
    text-decoration: none;
    transition: color 0.3s ease;
}

/* --- HEADER --- */
.header {
    background: var(--bg-light);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(0.625rem); /* 10px */
    background-color: rgba(var(--bg-light-rgb), 0.8);
}

.header__wrap {
    height: 5rem; /* 80px */
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 90rem; /* 1440px */
    margin: 0 auto;
}

.header__left,
.header__right {
    display: flex;
    align-items: center;
    gap: 0.9375rem; /* 15px */
}

/* Стили для социальных иконок в хедере */
.header-socials {
    display: flex;
    align-items: center;
    gap: 1rem; /* 16px - УВЕЛИЧЕННОЕ РАССТОЯНИЕ */
}

/* Улучшенная кликабельность ссылок */
.header-socials__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; /* Увеличенная область клика */
    height: 44px; /* Увеличенная область клика */
}

/* Сохраняем размер SVG */
.header-socials__item svg {
    width: 40px;
    height: 40px;
    display: block;
}

/* Стили для цветов иконок (оставляем без изменений) */
.header-socials__item .icon-bg { fill: var(--footer-bg); transition: fill 0.3s ease; }
.header-socials__item .icon-fg { fill: var(--white); transition: fill 0.3s ease; }
.header-socials__item:hover .icon-bg { fill: var(--text-secondary); }
.header-socials__item:hover .icon-fg { fill: var(--white); }

.platforms div img { width: 20%; }
.platforms.platforms-item img { width: 20%; }

/* Десктопная навигация */
.desktop-nav { display: block; }
.desktop-nav .navbar__list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.625rem; /* 10px */
}
.desktop-nav .navbar__link {
    display: block;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 1rem; /* 16px */
    font-weight: 500;
    padding: 0.625rem 0.9375rem; /* 10px 15px */
    position: relative;
    transition: color 0.3s ease;
}
.desktop-nav .navbar__link:hover { color: var(--text-primary); }
.desktop-nav .navbar__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.9375rem; /* 15px */
    right: 0.9375rem; /* 15px */
    height: 0.125rem; /* 2px */
    background-color: var(--text-secondary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}
.desktop-nav .navbar__link:hover::after,
.desktop-nav .navbar__item.active .navbar__link::after { transform: scaleX(1); }
.desktop-nav .navbar__item.active .navbar__link { color: var(--footer-bg); }

.page-top { border-radius: 3.75rem; /* 60px */ }

/* Скрытие элементов */
.navbar__list .navbar__item:has(a[href="/cases/"]) { display: none; }
.footer-nav__list-box a.footer-nav__item[href="/cases/"] { display: none; }
.socials__item[href="https://wa.me/79111471100"] { display: none; }
.main section.cases { display: none; }


/* --- MOBILE & ADAPTIVE HEADER STYLES --- */
.burger-menu {
    display: none; /* Скрыт по умолчанию на десктопе */
    cursor: pointer;
    width: 1.875rem; /* 30px */
    height: 5rem; /* РАСТЯГИВАЕМ НА ВСЮ ВЫСОТУ ХЕДЕРА (80px / 16px = 5rem) */
    position: relative;
    z-index: 102;
    display: flex; /* Добавляем flex для центрирования полосок */
    flex-direction: column;
    justify-content: center; /* Центрируем полоски по вертикали */
    align-items: center;
}

/* Обновляем позиционирование полосок */
.burger-menu__item { 
    display: block; 
    width: 1.875rem; /* 30px */
    height: 0.1875rem; /* 3px */ 
    background-color: var(--text-primary); 
    border-radius: 0.1875rem; /* 3px */ 
    position: absolute; /* Меняем на relative для работы через justify-content */
    transition: all 0.3s ease; 
}

/* --- MOBILE & ADAPTIVE HEADER STYLES --- */
.burger-menu {
    display: none; /* Скрыт по умолчанию на десктопе */
    cursor: pointer;
    width: 1.875rem; /* 30px */
    height: 5rem; /* РАСТЯГИВАЕМ НА ВСЮ ВЫСОТУ ХЕДЕРА */
    position: relative;
    z-index: 102;
}

/* Оставляем полоски как есть, но позиционируем их относительно увеличенного контейнера */
.burger-menu__item { 
    display: block; 
    width: 100%; 
    height: 0.1875rem; /* 3px */ 
    background-color: var(--text-primary); 
    border-radius: 0.1875rem; /* 3px */ 
    position: absolute; 
    left: 0; /* Выравниваем по левому краю */
    transition: all 0.3s ease; 
}

/* Пересчитываем позиции относительно новой высоты (5rem = 80px) */
.burger-menu__item:nth-child(1) { 
    top: 50%;
    transform: translateY(calc(-50% - 0.5rem)); /* Сдвигаем вверх на половину шага */
}
.burger-menu__item:nth-child(2) { 
    top: 50%;
    transform: translateY(-50%); /* Точно по центру */
}
.burger-menu__item:nth-child(3) { 
    top: 50%;
    transform: translateY(calc(-50% + 0.5rem)); /* Сдвигаем вниз на половину шага */
}

.burger-menu.active .burger-menu__item:nth-child(1) { 
    top: 50%;
    transform: translateY(-50%) rotate(45deg); 
}
.burger-menu.active .burger-menu__item:nth-child(2) { 
    opacity: 0; 
}
.burger-menu.active .burger-menu__item:nth-child(3) { 
    top: 50%;
    transform: translateY(-50%) rotate(-45deg); 
}

.mobile-nav {
    display: none; /* Скрыта по умолчанию */
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 20rem; /* 320px */
    height: 110vh;
    background-color: var(--white);
    box-shadow: -0.625rem 0 1.875rem rgba(0,0,0,0.1); /* -10px 0 30px */
    padding: 6.25rem 1.875rem; /* 100px 30px */
    transition: right 0.4s ease;
    z-index: 101;
}
.mobile-nav.active { right: 0; }
.mobile-nav .navbar__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9375rem; /* 15px */
    list-style: none;
    padding: 0;
}
.mobile-nav .navbar__link {
    font-size: 1.25rem; /* 20px */
    color: var(--text-primary);
    padding: 0.625rem 0; /* 10px 0 */
}
.mobile-nav .navbar__link:hover { color: var(--footer-bg); }

/* --- КНОПКА "Оставить заявку" --- */
.callback-btn-link {
    padding: 0.75rem 1.75rem; /* 12px 28px */
    background-color: var(--footer-bg);
    color: var(--white);
    border-radius: 3.125rem; /* 50px */
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
}
.callback-btn-link:hover {
    background-color: var(--text-secondary);
    box-shadow: 0 0.25rem 0.9375rem var(--text-secondary); /* 0 4px 15px */
    transform: translateY(-0.125rem); /* -2px */
    color: var(--white);
}

/* --- PAGE TOP & BREADCRUMBS --- */
.page-top {
    padding: 6.25rem 0; /* 100px */
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, var(--bg-light), color-mix(in srgb, var(--bg-light) 90%, var(--footer-bg) 100%));
    border-radius: 3.75rem; /* 60px */
    border-bottom: 0.0625rem solid var(--border-color); /* 1px */
}
.breadcrumbs { color: var(--text-secondary); }
.breadcrumbs__item { color: var(--text-secondary); }
.breadcrumbs__item:not(:last-child):hover { color: var(--footer-bg); }

/* --- КАРТОЧКИ УСЛУГ (ОБЩИЕ СТИЛИ) --- */
.services-item {
    background-color: var(--white);
    border-radius: 2.25rem; /* 36px */
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}
.services-item:hover {
    transform: translateY(-0.5rem); /* -8px */
    box-shadow: var(--shadow-md);
}
.services-item__wrap {
    padding: 1.875rem; /* 30px */
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-bottom: 3rem;
}
.services-item__title { margin-bottom: 0.9375rem; /* 15px */ color: var(--text-primary); }
.services-item__desc-item { color: var(--text-secondary); font-size: 1.1rem; }
.services-item__arrow-icon path { transition: fill 0.3s ease; }
.services-item:hover .services-item__arrow-icon path { fill: var(--footer-bg); }


/* --- ПРЕВЬЮ СЕКЦИЯ (ОБЩАЯ) --- */
.preview {
    padding: 6.25rem 0; /* 100px */
    position: relative;
    overflow: hidden;
    border-radius: 3.75rem; /* 60px */
}
.preview__wrap { text-align: center; }
.preview__circle { display: none; }
.preview__title { font-size: 2.5rem; margin-bottom: 1rem; }
.preview-list {
    display: flex;
    justify-content: center;
    gap: 0.9375rem; /* 15px */
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
.preview-list__item a {
    background: rgba(var(--white-rgb), 0.7);
    padding: 0.5rem 1rem; /* 8px 16px */
    border-radius: 1.25rem; /* 20px */
    border: 0.0625rem solid var(--border-color); /* 1px */
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}
.preview-list__item a:hover {
    background-color: var(--white);
    color: var(--footer-bg);
    border-color: var(--footer-bg);
    box-shadow: var(--shadow-sm);
}

/* --- КЛИЕНТЫ (ГЛАВНАЯ СТРАНИЦА) --- */
.clients-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(11.25rem, 1fr)); /* 180px */
    gap: 1.25rem; /* 20px */
}
.clients-item {
    background: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 1.25rem; /* 20px */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.clients-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-sm);
}
.clients-item__img {
    max-width: 100%;
    height: 2.5rem; /* 40px */
    object-fit: contain;
    transition: filter 0.3s ease, opacity 0.3s ease;
}
.clients-item:hover .clients-item__img {
    filter: grayscale(0%);
    opacity: 1;
}

/* --- ФИЛЬТР (ЧИПСЫ) --- */
.filter-chips {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.625rem; /* 10px */
    list-style: none;
    padding: 0;
    margin-bottom: 2.5rem; /* 40px */
}
.filter-chips__item {
    border-radius: 1.25rem; /* 20px */
    cursor: pointer;
    transition: all 0.3s ease;
}
.filter-chips__item a {
    display: block;
    padding: 0.5rem 1.25rem; /* 8px 20px */
    font-weight: 500;
    color: var(--text-secondary);
    background-color: var(--bg-light);
    border-radius: 1.25rem; /* 20px */
    transition: all 0.3s ease;
    pointer-events: none;
}
.filter-chips__item a:hover {
    background-color: var(--border-color);
    color: var(--text-primary);
}
.filter-chips__item.active a {
    background-color: var(--footer-bg);
    color: var(--white);
    box-shadow: 0 0.25rem 0.625rem rgba(62, 60, 65, 0.3); /* 0 4px 10px */
}

/* --- LOGO В КРУГЕ --- */
.logo-circle {
    display: block;
    width: 5rem; /* 80px */
    height: 5rem; /* 80px */
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0.125rem 0.3125rem rgba(0,0,0,0.05); /* 0 2px 5px */
}
.logo-circle .logo__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.header .logo-circle { border: none; box-shadow: none; }
.footer .logo-circle { border: 0.1875rem solid var(--footer-border); /* 3px */ }
.footer .logo-circle .logo__img { opacity: 0.9; }

/* --- FOOTER --- */
.footer {
    color: var(--white);
    font-size: 0.9rem;
    background-color: transparent;
    padding: 0;
}
.footer__wrap {
    background: var(--footer-bg);
    border-radius: 3.125rem; /* 50px */
    padding: 3.125rem; /* 50px */
    margin-bottom: 5rem; /* 80px */
    display: flex;
    gap: 7.875rem; /* 126px */
    flex-wrap: wrap;
}
.footer__left-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: max-content;
}
.footer__copyright {
    margin-top: 1.25rem; /* 20px */
    color: var(--footer-text-muted);
    font-size: 0.875rem; /* 14px */
    margin-bottom: 0;
}
.footer__right-box {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.footer-header {
    width: 100%;
    border-bottom: 0.0625rem solid var(--footer-border); /* 1px */
    padding-bottom: 2.25rem; /* 36px */
    margin-bottom: 1.875rem; /* 30px */
}
.footer-header .footer-nav__list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.25rem; /* 20px */
}
.footer-basement { padding-top: 0.625rem; /* 10px */ }
.footer-basement__box {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1.25rem; /* 20px */
}
.footer-nav__title {
    color: var(--white);
    font-size: 1.125rem; /* 18px */
    font-weight: 700;
    margin-bottom: 1.25rem; /* 20px */
    text-transform: uppercase;
    letter-spacing: 0.03125rem; /* 0.5px */
    text-align: left;
    margin-top: 0;
}
.footer-nav__list-box {
    display: flex;
    flex-direction: column;
    gap: 0.9375rem; /* 15px */
}
.footer-basement .footer-nav__list-box {
    flex-direction: row;
    align-items: center;
    gap: 1.875rem; /* 30px */
}
.footer-nav__item {
    color: var(--footer-text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-nav__item:hover { color: var(--white); }
.socials {
    display: flex;
    align-items: center;
    gap: 0.8125rem; /* 13px */
}
.socials__item svg rect { transition: fill 0.3s ease; }
.socials__item:hover svg rect { fill: var(--footer-bg); }
.socials img {
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.socials a:hover img {
    opacity: 1;
    transform: scale(1.1);
}

/* --- СТИЛИ ДЛЯ СТРАНИЦЫ ДОСТИЖЕНИЙ --- */
.achievements-block { margin-top: 2.5rem; /* 40px */ }
.achievements-list {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr)); /* 280px */
    gap: 1.875rem; /* 30px */
}
.achievements-list.active { display: grid; }
.achievement-card {
    background-color: var(--white);
    border: 0.0625rem solid var(--border-color); /* 1px */
    border-radius: var(--border-radius);
    text-align: center;
    padding: 1.25rem; /* 20px */
}
.achievement-card img { max-width: 100%; height: 11.25rem; /* 180px */ object-fit: contain; margin-bottom: 1.25rem; /* 20px */ }
.achievement-card__info { margin-top: auto; }
.achievement-card__title { margin: 0 0 0.625rem 0; /* 10px */ font-size: 1.75rem; color: var(--footer-bg); }
.achievement-card p { margin: 0; color: var(--text-secondary); }

/* --- СТИЛИ ДЛЯ СТРАНИЦЫ КЛИЕНТОВ --- */
.clients-page .clients-list {
    display: grid;
    /* По умолчанию 3 колонки, каждая занимает равное пространство */
    grid-template-columns: repeat(3, 1fr); 
    gap: 1.875rem; /* 30px - Увеличенный отступ между элементами */
}
.client-item {
    position: relative;
    overflow: hidden;
    /* Увеличенная высота для более широких элементов */
    height: 12.5rem; /* 200px (ранее 120px) - Подстройте по необходимости */
    border-radius: 1.875rem; /* 30px */
    background-color: var(--bg-light);
    border: 0.0625rem solid var(--border-color); /* 1px */
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.client-item:hover {
    transform: scale(1.05);
    border-color: var(--primary-color-light);
    box-shadow: 0 0.3125rem 0.9375rem rgba(0,0,0,0.05); /* 0 5px 15px */
}
.client-item img {
    max-width: 100%;
    max-height: 100%; /* Убедимся, что логотипы заполняют доступное пространство */
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}
.client-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.prices-section .price-item .btn, .technical-support.prices .price-item__btn{
    /* height: 2.666rem; */
    width: 100%;
    padding: 1rem;
    border-radius: 3.125rem;
    background: var(--footer-bg);
    color: var(--white);
    font-family: inherit;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.03125rem 0.46875px;
}

/* --- АДАПТИВНОСТЬ ДЛЯ СТРАНИЦЫ КЛИЕНТОВ --- */
@media screen and (max-width: 1439px) { /* html font-size: 15px */
    .clients-page .clients-list {
        grid-template-columns: repeat(3, 1fr); /* Продолжаем 3 колонки */
        gap: 1.5rem; /* 22.5px */
    }
    .client-item {
        height: 11rem; /* 165px */
    }
}

@media screen and (max-width: 1023px) { /* html font-size: 14px */
    .clients-page .clients-list {
        grid-template-columns: repeat(2, 1fr); /* 2 колонки на планшетах */
        gap: 1.285rem; /* 18px */
    }
    .client-item {
        height: 10rem; /* 140px */
    }
}

@media screen and (max-width: 767px) { /* html font-size: 13px */
    .clients-page .clients-list {
        grid-template-columns: repeat(1, 1fr); /* 1 колонка на мобильных */
        gap: 0.923rem; /* 12px */
    }
    .client-item {
        height: 8rem; /* 104px */
    }
}

/* --- СТИЛИ ДЛЯ СЛАЙДЕРА КЛИЕНТОВ --- */
.client-slider {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.client-slider__track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}
.client-slider__track img {
    height: 100%;
    object-fit: contain;
    flex-shrink: 0;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease;
}
.client-item:hover .client-slider__track img {
    filter: grayscale(0%);
    opacity: 1;
}
.client-slider__dots {
    position: absolute;
    bottom: 0.5rem; /* 8px */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.3125rem; /* 5px */
}
.client-slider__dots .dot {
    width: 0.5rem; /* 8px */
    height: 0.5rem; /* 8px */
    border-radius: 50%;
    background-color: var(--text-secondary);
    opacity: 0.4;
    cursor: pointer;
    transition: all 0.3s ease;
}
.client-slider__dots .dot.active {
    background-color: var(--footer-bg);
    opacity: 1;
}
#clients-filter { display: none; }

/* --- СТИЛИ ДЛЯ СТРАНИЦЫ КОНТАКТОВ --- */
.contacts__wrap {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3.125rem; /* 50px */
}
.contacts-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem; /* 40px */
    margin: 1.875rem; /* 30px */
}
.contacts-block__title { font-size: 1.5rem; margin: 0 0 1.25rem 0; /* 20px */ color: var(--text-primary); }
.contacts-box__item { margin-bottom: 1.25rem; /* 20px */ }
.contacts-box__label { display: block; color: var(--text-secondary); margin-bottom: 0.3125rem; /* 5px */ font-size: 0.9rem; }
.contacts-box__link {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}
.contacts-box__link:hover { color: var(--footer-bg); }
.requisites-list { list-style: none; padding: 0; margin: 0; color: var(--text-secondary); line-height: 1.7; }

/* Форма на странице контактов */
.form-container {
    background-color: var(--bg-light);
    padding: 1.875rem; /* 30px */
    border-radius: var(--border-radius);
    margin-bottom: 1.875rem; /* 30px */
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.9375rem; /* 15px */
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 0.9375rem; /* 12px 15px */
    border: 0.0625rem solid var(--border-color); /* 1px */
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem; /* 16px */
    background-color: var(--white);
    transition: border-color 0.3s ease;
}
.contact-form textarea { min-height: 7.5rem; /* 120px */ resize: vertical; }

/* Карта */
.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    line-height: 0;
}
.map-container iframe {
    width: 100%;
    border: none;
}

/* --- СТИЛИ ДЛЯ МОДАЛЬНОГО ОКНА --- */
.callback-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.25rem; /* 20px */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.callback-modal.active {
    opacity: 1;
    visibility: visible;
}
.callback-modal__wrap {
    background: var(--white);
    padding: 1.875rem 2.5rem; /* 30px 40px */
    border-radius: 1.25rem; /* 20px */
    max-width: 34.375rem; /* 550px */
    width: 100%;
    box-shadow: 0 0.3125rem 1.5625rem rgba(0,0,0,0.15); /* 0 5px 25px */
    transform: scale(0.9);
    transition: transform 0.3s ease;
}
.callback-modal.active .callback-modal__wrap { transform: scale(1); }

.callback-form {
    /*background-color: var(--bg-light);*/
    padding: 0;
    border-radius: var(--border-radius, 1.25rem); /* 20px */
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.25rem; /* 20px */
}
.callback-form__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5625rem; /* 25px */
}
.callback-form__title { margin: 0; font-size: 1.8rem; }
.callback-form__close { cursor: pointer; }

/* --- Стили для полей ввода формы --- */
.callback-form__inputs-block {
    display: flex;
    flex-direction: column;
    gap: 0.9375rem; /* 15px */
    margin-bottom: 1.5625rem; /* 25px */
}
.callback-form__item-input,
.callback-form__item-textarea {
    width: 100%;
    padding: 0.75rem 0.9375rem; /* 12px 15px */
    border: 0.0625rem solid var(--border-color); /* 1px */
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem; /* 16px */
    background-color: var(--white);
    transition: border-color 0.3s ease;
}
.callback-form__item-input:focus,
.callback-form__item-textarea:focus { outline: none; border-color: var(--footer-bg); }
.callback-form__item-textarea { min-height: 6.25rem; /* 100px */ resize: vertical; }

/* --- Стили для выбора способа связи (радио-кнопки) --- */
.callback-form__contact-label { font-size: 0.9rem; color: var(--text-secondary); margin: 0 0 0.625rem 0; /* 10px */ }
.callback-form__contact-list {
    display: flex;
    gap: 0.625rem; /* 10px */
    flex-wrap: wrap;
    margin-bottom: 0.9375rem; /* 15px */
}
.callback-form__contact-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.9375rem; /* 8px 15px */
    border: 0.0625rem solid var(--border-color); /* 1px */
    border-radius: 3.125rem; /* 50px */
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: var(--white);
}
.callback-form__contact-item:hover { border-color: var(--text-secondary); }
.callback-form__contact-item.active {
    background-color: var(--footer-bg);
    border-color: var(--footer-bg);
    color: var(--white);
}
.callback-form__contact-item.active span { color: var(--white); }
.callback-form__contact-radio { display: none; }

.callback-modal.active .callback-form__wrap .callback-form{
    background-color: var(--white);
}

/* --- Стили для кнопки "Отправить заявку" и чекбокса согласия --- */
.callback-form__submit-block {
    display: flex;
    flex-direction: column;
    gap: 0.9375rem; /* 15px */
    align-items: center;
    margin-top: 1.5625rem; /* 25px */
}
.callback-form__submit {
    width: 100%;
    padding: 0.9375rem; /* 15px */
    border-radius: 3.125rem; /* 50px */
    background: var(--footer-bg);
    color: var(--white);
    font-family: "Inter", sans-serif;
    font-size: 1rem; /* 16px */
    font-weight: 500;
    line-height: normal;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, transform 0.2s ease;
}
.callback-form__submit:hover {
    background: var(--text-secondary);
    transform: translateY(-0.125rem); /* -2px */
}

/* --- Стили для кастомного чекбокса "Я согласен" --- */
.callback-form__agreement-box {
    display: flex;
    align-items: center;
    gap: 0.625rem; /* 10px */
    cursor: pointer;
    user-select: none;
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.callback-form__check-input { display: none; } /* Скрываем стандартный инпут чекбокса */

.callback-form__check {
    width: 1.25rem; /* 20px */
    height: 1.25rem; /* 20px */
    border: 0.125rem solid var(--border-color); /* 2px */
    border-radius: 0.25rem; /* 4px */
    background-color: var(--white);
    display: flex; /* Используем flexbox для центрирования SVG */
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* Стили для SVG-галочки внутри .callback-form__check */
.callback-form__check svg {
    visibility: hidden; /* Скрываем SVG по умолчанию */
    opacity: 0;
    transform: scale(0.5); /* Уменьшаем размер и начинаем с невидимого состояния */
    transition: all 0.2s ease; /* Плавный переход */
}

/* Когда чекбокс отмечен: */
.callback-form__check-input:checked + .callback-form__check {
    background-color: var(--footer-bg); /* Меняем фон "коробочки" */
    border-color: var(--footer-bg); /* Меняем цвет рамки */
}

/* Когда чекбокс отмечен, показываем SVG-галочку */
.callback-form__check-input:checked + .callback-form__check svg {
    visibility: visible; /* Делаем SVG видимым */
    opacity: 1;
    transform: scale(1); /* Возвращаем SVG к оригинальному размеру */
}

.callback-form__check-desc { color: var(--text-secondary); }

/* --- Стили для загрузки файлов в форме обратной связи --- */
.callback-form__attachment-input { display: none; }
.callback-form__attachment-label {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem; /* 10px */
    cursor: pointer;
    padding: 0.625rem 1.25rem; /* 10px 20px */
    border: 0.0625rem solid var(--footer-bg); /* 1px */
    border-radius: 3.125rem; /* 50px */
    background-color: var(--white);
    color: var(--footer-bg);
    font-weight: 500;
    transition: all 0.3s ease;
    user-select: none;
}
.callback-form__attachment-label:hover {
    background-color: var(--footer-bg);
    color: var(--white);
    box-shadow: 0 0.25rem 0.625rem rgba(143, 61, 255, 0.3); /* 0 4px 10px */
    border-color: var(--footer-bg);
}
.callback-form__attachment-label .callback-form__attachment-icon {
    width: 1.125rem; /* 18px */
    height: 1.125rem; /* 18px */
    flex-shrink: 0;
    transition: filter 0.3s ease;
}
.callback-form__attachment-label:hover .callback-form__attachment-icon {
    filter: invert(100%) sepia(0%) saturate(7500%) hue-rotate(360deg) brightness(120%);
}
.callback-form__attached-file {
    display: flex;
    align-items: center;
    gap: 0.625rem; /* 10px */
    padding: 0.5rem 0.9375rem; /* 8px 15px */
    border: 0.0625rem solid var(--border-color); /* 1px */
    border-radius: 3.125rem; /* 50px */
    background-color: var(--bg-light);
    margin-top: 0.625rem; /* 10px */
    font-size: 0.9rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}
.callback-form__attached-file .file-name {
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.callback-form__attached-file-del {
    display: flex;
    align-items: center;
    gap: 0.3125rem; /* 5px */
    cursor: pointer;
    flex-shrink: 0;
    padding: 0.375rem 0.75rem; /* 6px 12px */
    border: 0.0625rem solid var(--border-color); /* 1px */
    border-radius: 1.875rem; /* 30px */
    background-color: var(--white);
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}
.callback-form__attached-file-del::before {
    content: '\2715';
    font-size: 0.875rem; /* 14px */
    line-height: 1;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}
.callback-form__attached-file-del:hover {
    background-color: var(--footer-bg);
    color: var(--white);
    box-shadow: 0 0.25rem 0.625rem rgba(58, 56, 59, 0.3); /* 0 4px 10px */
    border-color: var(--footer-bg);
}
.callback-form__attached-file-del:hover::before { color: var(--white); }

/* --- Стили для блока успешной отправки --- */
.callback-success {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem 1.25rem; /* 40px 20px */
    width: 100%;
    height: 100%;
    justify-content: center;
}
.callback-success__wrap { padding-top: 1.25rem; /* 20px */ }
.callback-success__icon-warp {
    width: 5rem; /* 80px */
    height: 5rem; /* 80px */
    border-radius: 50%;
    background-color: color-mix(in srgb, var(--secondary-accent) 20%, var(--white));
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.25rem; /* 20px */
}
.callback-success__icon { width: 3.125rem; /* 50px */ height: 3.125rem; /* 50px */ }
.callback-success__text { font-size: 1.2rem; color: var(--text-primary); margin: 0; }

/* --- СТИЛИ ДЛЯ CTA-БЛОКА И СВЕТЛОЙ КНОПКИ --- */
.cta-section h2 { color: var(--footer-bg); }
.btn-light {
    background-color: var(--white);
    color: var(--footer-bg);
    font-weight: 600;
}

.cta-section a:hover{
    color: var(--footer-bg);
    padding: 1.7rem;
    border: var(--footer-bg);
}

.btn-light:hover {
    background-color: var(--border-color);
    color: var(--footer-bg);
}

/* Скрытие пункта "Достижения" в мобильном меню */
.mobile-nav .navbar__list .navbar__item:has(a[href="/achievement/"]) {
    display: none;
}

/* --- СТИЛИ ДЛЯ БЛОКА "ОТРАСЛИ" --- */
.industries-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.9375rem; /* 15px */
    list-style: none;
    padding: 0;
    margin: 0;
}
.industries-list__item {
    background: var(--white);
    padding: 0.625rem 1.25rem; /* 10px 20px */
    border-radius: 3.125rem; /* 50px */
    border: 0.0625rem solid var(--border-color); /* 1px */
    font-weight: 500;
    color: var(--text-secondary);
}

/* --- СТИЛИ ДЛЯ БЛОКА "РЕЙТИНГИ" --- */
.ratings-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr)); /* 280px */
    gap: 1.875rem; /* 30px */
    text-align: center;
}
.ratings-item {
    background-color: var(--white);
    padding: 1.875rem; /* 30px */
    border-radius: var(--border-radius);
    border: 0.0625rem solid var(--border-color); /* 1px */
}
.ratings-item__value { font-size: 1.2rem; font-weight: 500; color: var(--text-secondary); margin-bottom: 0.625rem; /* 10px */ }
.ratings-item__value span { display: block; font-size: 4rem; color: var(--footer-bg); line-height: 1.1; }
.ratings-item__text { color: var(--text-secondary); }

/* --- СТИЛИ ДЛЯ СТРАНИЦЫ КЕЙСОВ --- */
.cases-page { padding: 3.75rem 0; /* 60px */ }
.cases-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); /* 320px */
    gap: 1.875rem; /* 30px */
}
.case-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.case-card.hidden { display: none; }
.case-card:hover { transform: translateY(-0.5rem); /* -8px */ box-shadow: var(--shadow-md); }
.case-card__img-wrap { display: block; aspect-ratio: 4 / 3; background-color: var(--bg-light); }
.case-card__img { width: 100%; height: 100%; object-fit: cover; }
.case-card__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; /* 8px */ padding: 0.9375rem 1.25rem 0; /* 15px 20px 0 */ }
.case-card__tag {
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.25rem 0.625rem; /* 4px 10px */
    background-color: var(--bg-light);
    border-radius: 1.25rem; /* 20px */
    color: var(--text-secondary);
}
.case-card__title { font-size: 1.25rem; margin: 0.9375rem 1.25rem 0.3125rem; /* 15px 20px 5px */ }
.case-card__title a { color: var(--text-primary); }
.case-card__desc { font-size: 1rem; color: var(--text-secondary); padding: 0 1.25rem 1.25rem; /* 0 20px 20px */ margin-top: auto; }

/* --- СТИЛИ ДЛЯ СТРАНИЦЫ "ТЕХПОДДЕРЖКА БИТРИКС" (и других аналогичных) --- */
.technical-support-preview { padding: 3.75rem 0; /* 60px */ /*background-color: var(--white);*/ border-radius: 60px; }
.tsp__wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.125rem; /* 50px */
    align-items: center;
}
.tsp__text { font-size: 1.1rem; line-height: 1.7; margin-bottom: 1.875rem; /* 30px */ text-align: justify; }
.tsp__list { list-style: none; padding: 0; margin: 0; display: flex; gap: 1.25rem; /* 20px */ }
.tsp__item {
    font-weight: 500;
    padding: 0.5rem 1rem; /* 8px 16px */
    background-color: var(--bg-light);
    border-radius: 3.125rem; /* 50px */
    position: relative;
    padding-left: 1.875rem; /* 30px */
}
.tsp__item::before {
    content: '✓';
    color: var(--footer-bg);
    position: absolute;
    left: 0.75rem; /* 12px */
    top: 50%;
    transform: translateY(-50%);
}
.tsp__image{border-radius: 60px;}
.tsp__image img { width: 100%; border-radius: var(--border-radius); }

/* Секция "Почему мы?" */
.why-us { background-color: var(--bg-light); }
.why-us__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.875rem; /* 30px */
}
.why-us__item { display: flex; align-items: flex-start; gap: 1.25rem; /* 20px */ }
.why-us__icon { flex-shrink: 0; }
.why-us__icon img { border-radius: 50%; }
.why-us__text h3 { margin-top: 0; margin-bottom: 0.3125rem; /* 5px */ font-size: 1.2rem; }
.why-us__text p { margin: 0; font-size: 0.95rem; }

/* Секция с ценами (общая) */
.price-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.875rem; /* 30px */
}
.price-item {
    display: flex; /* Делаем карточку flex-контейнером */
    flex-direction: column; /* Элементы внутри карточки будут располагаться по вертикали */
    justify-content: space-between; /* Распределяем пространство, чтобы .price-item__bottom прижался к низу */
    
    padding: 1.875rem; /* 30px - Внутренний отступ карточки */
    border-radius: 1.25rem; /* 20px */
    background-color: var(--bg-light);
    border: 0.0625rem solid var(--border-color); /* 1px */
    box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,0.05); /* 0 4px 8px */
    transition: all 0.3s ease;
    text-align: center; /* Центрируем весь текст внутри карточки по умолчанию */
}

.price-item:hover {
    transform: translateY(-0.3125rem); /* -5px */
    border-color: var(--primary-color-light);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1); /* 0 8px 16px */
}

/* 2. Центрируем элементы внутри .price-item__bottom */
.price-item__bottom {
    display: flex; /* Делаем flex-контейнером для кнопки и цены */
    flex-direction: column; /* Располагаем элементы внутри вертикально */
    align-items: center; /* Горизонтальное центрирование дочерних элементов */
    gap: 1.25rem; /* 20px - Отступ между кнопкой и ценой */
    width: 100%; /* Занимаем всю доступную ширину родителя */
    margin-top: auto; /* Важно: "прижимает" этот блок к низу flex-контейнера .price-item */
}

/* 3. Стили для кнопки "Заказать" */
.service-prices .price-item__btn {
    /* Переопределяем или устанавливаем новые стили, как у .callback-btn-link */
    padding: 0.75rem 1.75rem; /* 12px 28px */
    background-color: var(--footer-bg);
    color: var(--white);
    border-radius: 3.125rem; /* 50px */
    font-weight: 500; /* Уже 500, оставляем */
    transition: all 0.3s ease; /* Изменяем на 'ease' */
    
    /* Убираем фиксированные ширину/высоту, чтобы кнопка адаптировалась к padding и контенту */
    width: auto;
    height: auto;
    /* Убираем старую границу */
    border: none;

    /* Оставляем flex-свойства для центрирования текста внутри кнопки */
    display: flex;
    justify-content: center;
    align-items: center;
    
    /* Убедимся, что фон кнопки прозрачен для hover-эффекта по умолчанию, 
       если он не задан явно другим цветом, отличным от --footer-bg */
    /* background-color: transparent; */ /* Это было старое значение, теперь делаем как у callback-btn-link */
    
    /* text-decoration: none; - обычно наследуется или задается глобально для ссылок */
    /* cursor: pointer; - обычно наследуется */
}
.service-prices .price-item__btn:hover {
    background-color: var(--primary-color); /* Пример: основной акцентный цвет на hover */
    color: var(--white); /* Убеждаемся, что текст остается белым */
    /* Если у вас был border на :hover, его также нужно убрать или скорректировать */
}

/* 4. Стили для цены */
.price-item__price {
    font-size: 1.8rem; /* 28.8px */
    font-weight: 700;
    color: var(--text-primary);
    /* Удаляем старые vertical margins, так как теперь их регулирует `gap` на родителе */
    margin: 0; 
    text-align: center; /* Убедимся, что текст цены центрирован */
}
.price-item__price span {
    color: var(--primary-color);
}

.price-item__bottom {
    display: flex;
    flex-direction: column;
    align-items: center; /* Центрирует дочерние элементы по горизонтали */
    gap: 1.25rem; /* Отступ между кнопкой и ценой */
    width: 100%;
    margin-top: auto;
}

.price-item__bottom a{
    padding: 0.75rem 1.75rem;
    background-color: var(--footer-bg);
    color: var(--white);
    border-radius: 3.125rem;
    font-weight: 500;
    transition: all 0.3s 
ease;
    text-align: center;
}

/* 5. Дополнительные стили для заголовков и описаний, если они не центрированы */
.price-item__title {
    font-size: 1.3rem; /* Примерно 20.8px */
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-color);
    margin-bottom: 0.625rem; /* 10px */
    /* text-align: center; // Уже в .price-item, но можно переопределить */
}
.price-item__desc {
    font-size: 1rem; /* 16px */
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1.25rem; /* 20px */
    /* text-align: center; // Уже в .price-item, но можно переопределить */
}

.price-item--highlight {
    /*border: 0.125rem solid var(--footer-bg);*/ /* 2px */
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}
.price-item__title { font-size: 1.5rem; font-weight: 600; margin-bottom: 0.9375rem; /* 15px */ }
.price-item__desc { flex-grow: 1; margin-bottom: 1.875rem; /* 30px */ color: var(--text-secondary); }
.price-item__price { font-size: 1.8rem; font-weight: 700; color: var(--text-primary); margin-bottom: 1.25rem; /* 20px */ margin-top: 1.25rem;}
.btn-secondary { background-color: var(--bg-light); color: var(--text-primary); }
.btn-secondary:hover { background-color: var(--border-color); }

/* Секция FAQ (Аккордеон) */
.faq-section { background-color: var(--bg-light); }
.faq-list { max-width: /*50rem;*//*63rem;*/100rem; /* 800px */ margin: 0 auto; }
.accordion { border-bottom: 0.0625rem solid var(--border-color); /* 1px */ }
.accordion-btn {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 1.25rem 0; /* 20px */
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.accordion-question { font-size: 1.2rem; font-weight: 500; color: var(--text-primary); }
.accordion-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--footer-bg);
    transition: transform 0.3s ease;
}
.accordion.active .accordion-icon { transform: rotate(45deg); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; }
.accordion-content p { padding-bottom: 1.25rem; /* 20px */ margin: 0; }
.accordion-btn span, .accordion-btn * { pointer-events: none; }

/* --- СТИЛИ ДЛЯ СТРАНИЦЫ "ПОДДЕРЖКА БИТРИКС24" (и других аналогичных) --- */
.support-details__wrap {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3.125rem; /* 50px */
    align-items: flex-start;
    margin-top: 5rem;
}
.support-details__list { list-style: none; padding: 0; margin: 0; }
.support-details__item {
    padding-left: 1.875rem; /* 30px */
    position: relative;
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-bottom: 1.25rem; /* 20px */
}
.support-details__item::before {
    content: '✓';
    color: var(--footer-bg);
    font-weight: 600;
    position: absolute;
    left: 0;
    top: 0.125rem; /* 2px */
}
.support-details__text .section__title { margin-top: 0; }
.support-details__text p { margin-bottom: 1.5rem; text-align: justify; }

/* --- СТИЛИ ДЛЯ СТРАНИЦЫ "ПОДДЕРЖКА LARAVEL" --- */
.support-services-grid { padding: 5rem 0; /* 80px */ background-color: var(--bg-light); }
.ssg__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr)); /* 280px */
    gap: 0.9375rem; /* 15px */
    max-width: 62.5rem; /* 1000px */
    margin: 0 auto;
}
.ssg__item {
    background-color: var(--white);
    padding: 1.25rem; /* 20px */
    border-radius: var(--border-radius);
    border: 0.0625rem solid var(--border-color); /* 1px */
    text-align: center;
    font-weight: 500;
}

/* Ссылки на другие платформы */
.platform-links-section { padding: 5rem 0; /* 80px */ }
.platform-links__wrap { max-width: 50rem; /* 800px */ margin: 0 auto; text-align: center; }
.platform-links__title { font-size: 2rem; font-weight: 700; margin-bottom: 1rem; }
.platform-links__text { margin-bottom: 2rem; }
.platform-links__list {
    display: flex;
    justify-content: center;
    gap: 0.9375rem; /* 15px */
    flex-wrap: wrap;
}
.platform-links__item {
    padding: 0.625rem 1.25rem; /* 10px 20px */
    background-color: var(--bg-light);
    border: 0.0625rem solid var(--border-color); /* 1px */
    border-radius: 3.125rem; /* 50px */
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.3s ease;
}
.platform-links__item:hover {
    color: var(--footer-bg);
    border-color: var(--footer-bg);
    background-color: var(--white);
}

/* --- СТИЛИ ДЛЯ СТРАНИЦЫ ЦЕН (ОБЩАЯ) --- */
.prices-preview { padding: 3.75rem 0; /* 60px */ background-color: var(--white); border-radius: 60px; margin-top: 3rem;}
.prices-preview__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.125rem; /* 50px */
    align-items: center;
}
.prices-preview__text { font-size: 1.1rem; line-height: 1.7; margin-bottom: 1.875rem; /* 30px */ }
.prices-preview__order-button { margin-top: 1.25rem; /* 20px */ display: inline-block; width: 100%; text-align: center;}
.prices-preview__info { background-color: var(--bg-light); border-radius: var(--border-radius); padding: 1.875rem; /* 30px */ }
.prices-preview__price { font-size: 1.5rem; color: var(--text-secondary); margin-bottom: 1.5625rem; /* 25px */ }
.prices-preview__price span { font-size: 3rem; font-weight: 700; color: var(--footer-bg); }
.prices-preview__list { list-style: none; padding:0; margin: 0; }
.prices-preview__list li {
    padding-left: 1.5625rem; /* 25px */
    position: relative;
    margin-bottom: 0.75rem; /* 12px */
}
.prices-preview__list li::before {
    content: '✓';
    color: var(--footer-bg);
    position: absolute;
    left: 0;
    top: 0.125rem; /* 2px */
}
.prices-about { background-color: var(--bg-light); }
.prices-about__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18.75rem, 1fr)); /* 300px */
    gap: 1.25rem; /* 20px */
}
.prices-about__item {
    display: flex;
    align-items: center;
    gap: 0.9375rem; /* 15px */
    background-color: var(--white);
    padding: 1.25rem; /* 20px */
    border-radius: var(--border-radius);
    font-weight: 500;
}
.prices-about__icon {
    flex-shrink: 0;
    width: 1.5rem; /* 24px */
    height: 1.5rem; /* 24px */
}
.prices-about__item p { margin: 0; }

/* Стили для кнопок "Заказать" в блоке цен на страницах услуг */
.prices-section .price-item .btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 11.875rem; /* 190px */
    height: 2.875rem; /* 46px */
    margin: 0 auto;
    padding: 0.625rem 1rem; /* 10px 16px */
    border-radius: 1.875rem; /* 30px */
    transition: all 0.3s ease-in-out;
}

/* --- СТИЛИ ДЛЯ ТАБЛИЦЫ ЦЕН (VARIANT) --- */
.prices-variants { background-color: var(--bg-light); padding: 3.75rem 0; /* 60px */ }

/* --- ИСПРАВЛЕННЫЕ СТИЛИ ДЛЯ ТАБЛИЦЫ ЦЕН (VARIANT) - ГАРАНТИРОВАННОЕ ВЫРАВНИВАНИЕ --- */
/* --- ИСПРАВЛЕННЫЕ СТИЛИ ДЛЯ ТАБЛИЦЫ ЦЕН (VARIANT) - МАКСИМАЛЬНЫЙ ПРИОРИТЕТ ДЛЯ WRAP --- */
.prices-variant {
    padding-top: 3rem;
    border-radius: 60px;
}

.variant__table {
    display: flex;
    border-radius: 1.25rem;
    border: 0.0625rem solid var(--border-color);
    background: var(--white);
    overflow: hidden;
    width: 100%;
}

.variant__col {
    display: flex;
    flex-direction: column;
    text-align: center;
    min-width: 0;
}

/* ПЕРВАЯ КОЛОНКА - АВТОМАТИЧЕСКАЯ ШИРИНА */
.variant__col:first-child {
    flex: 0 0 auto;
    text-align: left;
    border-left: none;
}

/* Остальные колонки занимают оставшееся пространство */
.variant__col:not(:first-child) {
    flex: 1 1 0;
    min-width: 150px;
}

.variant__col + .variant__col {
    border-left: 0.0625rem solid var(--border-color);
}

/* ОСНОВНОЙ СТИЛЬ ДЛЯ ВСЕХ ЯЧЕЕК */
.variant__cell {
    padding: 0.9375rem;
    font-size: 1rem;
    border-bottom: 0.0625rem solid var(--border-color);
    line-height: 1.5;
    font-weight: 500;
    min-height: 4.375rem;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

/* СБРАСЫВАЕМ ВСЕ ВОЗМОЖНЫЕ СТИЛИ ДЛЯ ЗАГОЛОВКА В ПЕРВОЙ КОЛОНКЕ */
.variant__col:first-child .variant__cell--title,
.variant__col:first-child .variant__cell.variant__cell--title {
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    text-overflow: clip !important;
    overflow: visible !important;
    max-width: 100% !important;
    min-width: 0 !important;
    width: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    
    /* Остальные стили */
    background-color: transparent;
    height: 12.5rem;
    min-height: 12.5rem;
    max-height: 12.5rem;
    padding: 1.25rem 0.9375rem;
    border-bottom: 0.0625rem solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 10;
    box-sizing: border-box;
}

/* ГЛАВНОЕ ПРАВИЛО - для подзаголовка в первой колонке */
.variant__col:first-child .variant__cell--title .variant__subtitle {
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    text-overflow: clip !important;
    overflow: visible !important;
    
    /* Явно указываем, что это блочный элемент для правильного переноса */
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    
    /* Стили оформления */
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.4;
}

/* Дублируем для p, на всякий случай */
.variant__col:first-child .variant__cell--title p {
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    text-overflow: clip !important;
    overflow: visible !important;
    
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.4;
}

/* Стили для заголовка h2 в первой колонке */
.variant__col:first-child .variant__cell--title .variant__title,
.variant__col:first-child .variant__cell--title h2 {
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    font-size: 1.8rem;
    margin-bottom: 0.3125rem;
    width: 100%;
    line-height: 1.2;
    display: block;
}

/* ВСЕ ОСТАЛЬНЫЕ ЯЧЕЙКИ В ПЕРВОЙ КОЛОНКЕ - БЕЗ ПЕРЕНОСОВ */
.variant__col:first-child .variant__cell:not(.variant__cell--title) {
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    display: flex;
    align-items: center;
}

/* СТИЛИ ДЛЯ ЗАГОЛОВОЧНЫХ ЯЧЕЕК В ОСТАЛЬНЫХ КОЛОНКАХ */
.variant__col:not(:first-child) .variant__cell--title {
    align-items: center;
    justify-content: space-between;
    height: 12.5rem;
    min-height: 12.5rem;
    max-height: 12.5rem;
    padding: 1.25rem 0.9375rem;
    display: flex;
    flex-direction: column;
    background-color: var(--bg-light);
    border-bottom: 0.0625rem solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 10;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

/* Стили для заголовков в других колонках */
.variant__cell--title h3 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-color);
    margin: 0 0 0.5rem 0;
    width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

/* Стили для кнопки */
.variant__btn {
    padding: 0.5rem 1rem;
    border: 0.0625rem solid var(--footer-bg);
    color: var(--footer-bg);
    border-radius: 1.25rem;
    background: var(--white);
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    width: fit-content;
    margin-top: auto;
    white-space: nowrap;
}

.variant__btn:hover {
    background: var(--footer-bg);
    color: var(--white);
}

/* Стили для ячеек в остальных колонках */
.variant__col:not(:first-child) .variant__cell:not(.variant__cell--title) {
    white-space: normal;
    word-wrap: break-word;
    justify-content: center;
    text-align: center;
}

/* Стили для иконок галочек */
.variant__cell svg {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
}

.variant__cell svg path {
    fill: #4CAF50;
}

.variant__col .variant__cell:last-child {
    border-bottom: none;
}

/* --- АДАПТИВНОСТЬ ДЛЯ ТАБЛИЦЫ ЦЕН --- */
@media screen and (max-width: 1023px) {
    .variant__table {
        flex-direction: column;
    }
    
    .variant__col:first-child {
        display: none;
        flex: none;
    }
    
    .variant__col:not(:first-child) {
        flex: none;
        width: 100%;
        min-width: 100%;
    }
    
    .variant__col + .variant__col {
        border-left: none;
        border-top: 0.0625rem solid var(--border-color);
    }
    
    .variant__cell--title {
        height: 10rem;
        min-height: 10rem;
        max-height: 10rem;
        padding: 1rem 0.625rem;
    }
}

@media screen and (max-width: 767px) {
    .variant__cell--title {
        height: 8rem;
        min-height: 8rem;
        max-height: 8rem;
        padding: 0.75rem 0.5rem;
    }
    
    .variant__cell {
        min-height: 3.5rem;
        padding: 0.75rem 0.5rem;
        font-size: 0.9rem;
    }
    
    .variant__cell--title h3 {
        font-size: 1.3rem;
    }
    
    .variant__btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* --- Общие стили для всех SVG галочек с классом .svg-checkmark-icon --- */
.svg-checkmark-icon {
    width: 1.25rem; /* Размер иконки, например, 20px (1.25 * 16px) */
    height: 1.25rem;
    flex-shrink: 0; /* Предотвращает сжатие иконки */
    vertical-align: middle; /* Помогает выровнять иконку по центру строки текста, если она рядом с текстом */
}

.svg-checkmark-icon path {
    fill: var(--success-color, #4CAF50); /* Зеленый цвет, используем CSS-переменную или fallback */
}

.variant__cell .svg-checkmark-icon path {
    fill: var(--success-color, #108514); /* Зеленый цвет, используем CSS-переменную или fallback */
}

.variant__col:first-child .variant__cell { justify-content: flex-start; }
.variant__col .variant__cell:last-child { border-bottom: none; }
.variant__cell--title {
    min-height: 8.75rem; /* 140px */
    flex-direction: column;
    justify-content: space-around;
    background-color: var(--bg-light);
}
.variant__col:first-child .variant__cell--title {
    background-color: transparent;
    align-items: flex-start;
}
.variant__title { font-size: 1.8rem; margin-bottom: 0.3125rem; /* 5px */ }
.variant__subtitle { font-size: 0.9rem; color: var(--text-secondary); }
.variant__cell--title h3 { font-size: 1.5rem; }
.variant__btn {
    padding: 0.5rem 1rem; /* 8px 16px */
    border: 0.0625rem solid var(--footer-bg); /* 1px */
    color: var(--footer-bg);
    border-radius: 1.25rem; /* 20px */
    background: var(--white);
    cursor: pointer;
    font-size: 0.875rem; /* 14px */
    font-weight: 500;
    transition: all 0.3s ease;
}
.variant__btn:hover { background: var(--footer-bg); color: var(--white); }
.variant__cell--check { width: 1.25rem; /* 20px */ height: 1.25rem; /* 20px */ border-radius: 50%; color: #4CAF50; }
.variant__cell--check-icon { width: 1.5rem; /* 24px */ height: 1.5rem; /* 24px */ fill: var(--v-color); }

/* --- Стили для карточек с ценами на страницах услуг (Yii2 и др.) --- */
.service-prices .price-list .price-item {
    border-radius: 2.5rem; /* 40px */
    background: var(--white);
    box-shadow: 0px 0.25rem 0.9375rem 0px rgba(0, 0, 0, 0.10); /* 0 4px 15px */
    padding: 2rem; /* 32px */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-prices .price-item__btn {
    display: flex;
    width: 11.875rem; 
    height: 2.875rem; 
    padding: 0.75rem 1.75rem;
    background-color: var(--footer-bg);
    color: var(--white);
    border-radius: 3.125rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.service-prices .price-item__btn:hover {
    background-color: var(--text-secondary);
    box-shadow: 0 0.25rem 0.9375rem var(--text-secondary);
    transform: translateY(-0.125rem);
    color: var(--white);
}

/* --- Стили для вводного блока на страницах цен (Prices-intro) --- */
.prices-intro { padding: 3.75rem 0; /* 60px */ }
.prices-intro__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem; /* 40px */
    align-items: center;
}
.prices-intro__desc p { font-size: 1.1rem; line-height: 1.6; margin-bottom: 1.875rem; /* 30px */ }
.prices-intro__desc .btn {
    display: flex;
    padding: 0.75rem 1.75rem; /* 12px 28px */
    background-color: var(--footer-bg);
    color: var(--white);
    border-radius: 3.125rem; /* 50px */
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    justify-content: center;
}
.prices-intro__desc .btn:hover { background-color: var(--text-secondary); }

/* Стили для правой карточки с ценой и списком */
.prices-intro__features {
    background-color: var(--white);
    border-radius: 2.5rem; /* 40px */
    padding: 2.125rem; /* 34px */
    box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.08); /* 0 4px 20px */
}
.prices-intro__price {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5625rem; /* 25px */
    color: var(--text-primary);
}
.prices-intro__price span { font-size: 2.8rem; font-weight: 700; color: var(--footer-bg); }
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li {
    padding-left: 2.1875rem; /* 35px */
    position: relative;
    font-weight: 500;
}
.feature-list li:not(:last-child) { margin-bottom: 0.9375rem; /* 15px */ }
.feature-list li::before {
    content: '';
    display: block;
    width: 1.5rem; /* 24px */
    height: 1.5rem; /* 24px */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%234CAF50' d='M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm4.3 7.61l-4.57 6a1 1 0 0 1-.79.39 1 1 0 0 1-.79-.38l-2.44-3.11a1 1 0 0 1 1.58-1.23l1.63 2.08 3.78-5a1 1 0 1 1 1.6 1.22z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* --- Стили для карточек услуг (Web Development & Design) --- */
.web-development { padding: 3.75rem 0; /* 60px */ background-color: var(--bg-light); }
.development-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18.75rem, 1fr)); /* 300px */
    gap: 1.875rem; /* 30px */
}
.development-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 3rem; /* 48px */
    background: var(--white);
    padding: 2.125rem; /* 34px */
    min-height: 17.5rem; /* 280px */
    text-decoration: none;
    margin-bottom: 3rem;
    color: inherit;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    box-shadow: var(--shadow-sm);
}
.development-item:hover {
    transform: translateY(-0.3125rem); /* -5px */
    box-shadow: var(--shadow-md);
}
.development-item__icon-wrap {
    width: 5rem; /* 80px */
    height: 5rem; /* 80px */
    background-color: var(--bg-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.25rem; /* 20px */
    flex-shrink: 0;
}
.development-item__icon {
    max-width: 3.125rem; /* 50px */
    max-height: 3.125rem; /* 50px */
    object-fit: contain;
}
.development-item__descr {
    display: flex;
    flex-direction: column;
    gap: 0.625rem; /* 10px */
    width: 100%;
}
.development-item__title { font-size: 1.5rem; font-weight: 600; color: var(--text-primary); }
.development-item__text { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.6; margin: 0; }

/* --- СТИЛИ ДЛЯ ОБЩЕЙ СЕКЦИИ technical-support (для всех страниц услуг) --- */
.technical-support {
    margin-bottom: 5rem; /* 80px */
}

/* Секция preview на страницах услуг */
.technical-support.preview .preview__wrap {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    align-items: center;
    gap: 2.5rem; /* 40px */
    margin-bottom: 1.875rem; /* 30px */
}
.technical-support.preview .preview-desc { grid-column: span 5; }
.technical-support.preview .preview-image { grid-column: span 3; }
.technical-support.preview .preview-image__img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
/* --- Стили для preview-desc__list (список "чипсов") --- */
.technical-support.preview .preview-desc__list {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0 0; /* 20px */
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem; /* 8px */
}
.technical-support.preview .preview-desc__item {
    display: flex;
    align-items: center;
    gap: 0.5rem; /* 8px */
    font-weight: 500;
    color: var(--text-primary);
    background-color: var(--bg-light);
    padding: 0.5rem 0.9375rem; /* 8px 15px */
    border-radius: 1.25rem; /* 20px */
}
/* Стилизация SVG-иконки через background-image */
.technical-support.preview .preview-desc__item-icon {
    display: inline-block;
    width: 1.125rem; /* 18px */
    height: 1.125rem; /* 18px */
    flex-shrink: 0;
    background-image: url("/assets/images/icons/check-green.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.technical-support.preview .preview-desc__item-title { font-size: 0.95rem; }

/* --- СТИЛИ ДЛЯ СЕКЦИИ technical-support about (для страниц услуг) --- */
.technical-support.about .about__wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.875rem; /* 30px */
    align-items: flex-start;
}
.technical-support.about .about-list {
    flex-shrink: 0;
    width: 38%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem; /* 12px */
    padding: 1.875rem; /* 30px */
    border-radius: 2.875rem; /* 46px */
    background: #ffffff;
    list-style: none;
    box-shadow: var(--shadow-sm);
}
.technical-support.about .about-desc {
    flex-grow: 1;
    width: 58%;
}
.technical-support.about .about-list__item {
    display: flex;
    align-items: center;
    gap: 0.625rem; /* 10px */
}
.technical-support.about .about-list__item-icon {
    display: inline-block;
    width: 1.25rem; /* 20px */
    height: 1.25rem; /* 20px */
    flex-shrink: 0;
    /*filter: invert(70%) sepia(50%) saturate(1400%) hue-rotate(300deg) brightness(100%) contrast(100%);*/
    background-image: url("/assets/images/icons/check-broken.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.technical-support.about .about-list__item-text { font-size: 0.9rem; }

/* --- СТИЛИ ДЛЯ СЕКЦИИ technical-support services (ДОПОЛНИТЕЛЬНО) --- */
.technical-support.services {
    /*padding: 3.75rem 0;*/ /* 60px */
    /*background-color: var(--white);*/
    border-radius: 3.75rem; /* 60px */
}
.technical-support.services .services__wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem; /* 40px */
    align-items: flex-start;
}
.technical-support.services .services-desc .services-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.9375rem; /* 15px */
}
.technical-support.services .services-desc .services-list__item {
    display: flex;
    align-items: center;
    gap: 0.625rem; /* 10px */
}
.technical-support.services .services-desc .services-list__item-icon {
    display: inline-block;
    width: 1.25rem; /* 20px */
    height: 1.25rem; /* 20px */
    flex-shrink: 0;
    /*filter: invert(70%) sepia(50%) saturate(1400%) hue-rotate(300deg) brightness(100%) contrast(100%);*/
    background-image: url("/assets/images/icons/check-broken.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.technical-support.services .services-desc .services-list__item-text {
    font-size: 1rem; /* 16px */
    color: var(--text-primary);
}
.technical-support.services .platforms {
    background: var(--bg-light);
    border-radius: 2.5rem; /* 40px */
    padding: 1.875rem; /* 30px */
    box-shadow: 0 0.3125rem 0.9375rem rgba(0,0,0,0.05); /* 0 5px 15px */
}

.technical-support.services .services-list__item {
    display: flex; /* Делаем элемент списка flex-контейнером */
    align-items: center; /* Выравниваем иконку и текст по центру вертикали */
    gap: 0.625rem; /* 10px - отступ между иконкой и текстом */
    margin-bottom: 0.625rem; /* 10px - Отступ между элементами списка */
    /* text-align: left; - если хотите, чтобы текст был выровнен по левому краю */
}

.technical-support.services .services-list__item:last-child {
    margin-bottom: 0; /* Убираем отступ у последнего элемента списка */
}

.services-list__item-icon {
    display: inline-block; /* Важно: чтобы можно было задать фиксированную ширину/высоту */
    width: 1.25rem; /* 20px - Желаемый размер иконки */
    height: 1.25rem; /* 20px */
    flex-shrink: 0; /* Предотвращает сжатие иконки в flex-контейнере */
    object-fit: contain; /* Убедимся, что SVG корректно масштабируется внутри заданных размеров */
}

.technical-support.services .platforms__desc { margin-bottom: 1.25rem; /* 20px */ }
.technical-support.services .platforms__text { color: var(--text-secondary); margin: 0; font-size: 0.9rem; }
.technical-support.services .platforms__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.625rem; /* 10px */
}
.technical-support.services .platforms__list-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}
.technical-support.services .platforms__list-link:hover { color: var(--footer-bg); }

/* --- СТИЛИ ДЛЯ БЛОКА УСЛУГ НА ГЛАВНОЙ СТРАНИЦЕ (.main-page .services-list) --- */
.main-page .services-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.875rem; /* 30px */
}
.main-page .services-item:first-child { grid-column: span 2; }
.main-page .services-item__wrap {
    min-height: 14.75rem; /* 236px */
    padding: 1.875rem; /* 30px */
}
.main-page .services-item__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem; /* 24px */
    margin-bottom: auto;
}
.main-page .services-item__header .services-item__title { margin-bottom: 0; }
.main-page .services-item__desc { margin-top: 0.9375rem; /* 15px */ }

/* Стили для ссылки "Все услуги" чтобы она выглядела как карточка без описания */
.main-page .services-item__wrap-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.main-page .services-item__wrap-link .services-item__header { margin-bottom: 0; display: block; }
.main-page .services-item__wrap-link .services-item__title {
    font-size: 1.5rem;
    color: var(--footer-bg);
    transition: color 0.3s ease;
}
.main-page .services-item__wrap-link:hover .services-item__title { color: var(--text-secondary); }
.main-page .services-item__wrap-link .services-item__desc { display: none; }

/* --- СТИЛИ ДЛЯ БЛОКА УСЛУГ НА СТРАНИЦЕ УСЛУГ (.services-page) --- */
.services-page { padding: 2.5rem 0; /* 40px */ }
.services-page .services-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.875rem; /* 30px */
}
.services-page .services-item:first-child { grid-column: span 2; }
.services-page .services-item__wrap {
    min-height: 14.75rem; /* 236px */
    padding: 1.875rem; /* 30px */
}
.services-page .services-item__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem; /* 24px */
    margin-bottom: auto;
}
.services-page .services-item__header .services-item__title { margin-bottom: 0; }
.services-page .services-item__desc { margin-top: 0.9375rem; /* 15px */ }
.services-page .services-item__wrap-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.services-page .services-item__wrap-link .services-item__header { margin-bottom: 0; display: block; }
.services-page .services-item__wrap-link .services-item__title {
    font-size: 1.5rem;
    color: var(--footer-bg);
    transition: color 0.3s ease;
}
.services-page .services-item__wrap-link:hover .services-item__title { color: var(--text-secondary); }
.services-page .services-item__wrap-link .services-item__desc { display: none; }

/* --- СТИЛИ ДЛЯ БЛОКА УСЛУГ НА СТРАНИЦЕ ВЕБ-РАЗРАБОТКИ (.web-development-services-list) --- */
.web-development-services-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.875rem; /* 30px */
}
.web-development-services-list .services-item {
    background: var(--white);
    border-radius: 2.25rem; /* 36px */
    transition: 0.3s ease-in-out;
    box-shadow: var(--shadow-sm);
    border: none;
}
.web-development-services-list .services-item:hover {
    transform: translateY(-0.5rem); /* -8px */
    box-shadow: var(--shadow-md);
}
.web-development-services-list .services-item__wrap {
    min-height: 14.75rem; /* 236px */
    padding: 1.875rem; /* 30px */
}
.web-development-services-list .services-item__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem; /* 24px */
    margin-bottom: auto;
}
.web-development-services-list .services-item__header .services-item__title { margin-bottom: 0; }
.web-development-services-list .services-item__desc { margin-top: 0.9375rem; /* 15px */ }
.web-development-services-list .services-item__wrap-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.web-development-services-list .services-item__wrap-link .services-item__header { margin-bottom: 0; display: block; }
.web-development-services-list .services-item__wrap-link .services-item__title {
    font-size: 1.5rem;
    color: var(--footer-bg);
    transition: color 0.3s ease;
}
.web-development-services-list .services-item__wrap-link:hover .services-item__title { color: var(--text-secondary); }
.web-development-services-list .services-item__wrap-link .services-item__desc { display: none; }

.webplatorm img { width: 16%; display: block; border-style: none; }

.ratings-section{
    display: none;
}

.contacts-box__item .header-socials{
    display: block;
}

/* Общие стили для контейнеров списков платформ/логотипов */
.platforms-list,
.webplatorm {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem; /* 40px */
    flex-wrap: nowrap; /* По умолчанию держим в один ряд */
    margin: 3.125rem 0; /* 50px - пример отступа сверху/снизу */
}

/* Стили для оберток элементов (platforms-item) */
.platforms-list .platforms-item,
.webplatorm .platforms-item {
    flex-shrink: 0; /* Предотвращаем сжатие элементов при недостатке места */
    display: flex; /* Чтобы центрировать изображение внутри */
    justify-content: center;
    align-items: center;
    /* Если карточки должны иметь фон/тень, добавьте здесь */
}

/* Стили для самих изображений логотипов */
.platforms-list .platforms-item img,
.webplatorm .platforms-item img {
    max-height: 3rem; /* 48px - Единая максимальная высота для всех логотипов */
    width: auto; /* Сохраняем пропорции */
    max-width: 100%; /* Убедимся, что изображение не вылезает за пределы своего контейнера */
    display: block;
    /*filter: grayscale(100%);*/ /* Пример: черно-белые лого */
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

/* Эффект при наведении на логотип */
.platforms-list .platforms-item:hover img,
.webplatorm .platforms-item:hover img {
    /*filter: grayscale(0%);*/ /* Цветные лого при наведении */
    opacity: 1;
}

/* --- АДАПТИВНОСТЬ ДЛЯ БЛОКОВ ПЛАТФОРМ/ЛОГОТИПОВ --- */
@media screen and (max-width: 1023px) { /* Планшеты */
    .platforms-list,
    .webplatorm {
        flex-wrap: wrap; /* Разрешаем перенос на следующую строку */
        gap: 1.5rem; /* 24px - Уменьшаем отступ */
        margin: 2.5rem 0; /* 40px */
    }
    .platforms-list .platforms-item img,
    .webplatorm .platforms-item img {
        max-height: 2.5rem; /* 40px - Немного уменьшаем высоту */
    }
}

@media screen and (max-width: 767px) { /* Мобильные */
    .platforms-list,
    .webplatorm {
        gap: 1rem; /* 16px - Еще уменьшаем отступ */
        margin: 1.875rem 0; /* 30px */
    }
    .platforms-list .platforms-item img,
    .webplatorm .platforms-item img {
        max-height: 2rem; /* 32px - Еще уменьшаем высоту */
    }
}

/* --- АДАПТИВНОСТЬ (Медиа-запросы, от большего к меньшему) --- */
@media screen and (max-width: 1439px) {
    html { font-size: 15px; } /* Масштабируем все rem на 15px */

    /* Общие отступы секций */
    .technical-support { margin-bottom: 4.375rem; /* 70px */ } /* 70/15 = 4.66rem, но 4.375rem (70/16) более удобно для общей сетки */
    .footer__wrap { padding: 2.5rem; /* 40px */ gap: 1.5rem; /* 24px */ margin-bottom: 2.5rem; /* 40px */ margin-top: 2.5rem; }
    .footer-nav__title { font-size: 1.066rem; /* 16px / 15px = 1.066rem */ }

    /* Карточки разработки */
    .development-list { gap: 1.333rem; /* 20px */ }
    .development-item { padding: 1.866rem; /* 28px */ min-height: 16rem; /* 240px */margin-bottom: 3rem;}
    .development-item__icon-wrap { width: 4.666rem; /* 70px */ height: 4.666rem; /* 70px */ margin-bottom: 1rem; /* 15px */ }
    .development-item__icon { max-width: 3rem; /* 45px */ max-height: 3rem; /* 45px */ }
    .development-item__title { font-size: 1.3rem; } /* 1.3 * 15px = 19.5px */
    .development-item__text { font-size: 0.9rem; } /* 0.9 * 15px = 13.5px */

    /* Секция about на страницах услуг */
    .technical-support.about .about__wrap { gap: 2rem; /* 30px */ }
    .technical-support.about .about-list {
        max-width: 50%;
        padding: 1.866rem; /* 28px */
        gap: 0.666rem; /* 10px */
        border-radius: 2.666rem; /* 40px */
    }
    .technical-support.about .about-list__item-text { font-size: 0.95rem; }

    /* Цены на страницах услуг */
    .prices-section .price-item .btn,
    .technical-support.prices .price-item__btn { /*height: 2.666rem;*/ /* 40px */ width: 100%;
        padding: 1rem;
        border-radius: 3.125rem;
        background: var(--footer-bg);
        color: var(--white);
        font-family: inherit;
        font-size: 1.125rem;
        font-weight: 600;
        line-height: 1;
        border: none;
        cursor: pointer;
        transition: all 0.3s ease;
        text-transform: uppercase;
        letter-spacing: 0.03125rem 0.46875px;}
    .technical-support.prices .price-list { gap: 1.333rem; /* 20px */ }

    /* Карточки сервисов */
    .service-prices .price-list .price-item { padding: 1.866rem; /* 28px */ }

    /* Карточки услуг на главной странице, странице услуг и веб-разработки */
    .main-page .services-list,
    .services-page .services-list,
    .web-development-services-list {
        gap: 1.733rem 1.333rem; /* 26px 20px */
    }
    .main-page .services-item__wrap,
    .services-page .services-item__wrap,
    .web-development-services-list .services-item__wrap {
        min-height: 14rem; /* 210px */
        padding: 1.733rem; /* 26px */
    }
}

@media screen and (max-width: 1023px) {
    html { font-size: 14px; } /* Масштабируем все rem на 14px */

    /* HEADER (Mobile specific) */
    .desktop-nav { display: none; }
    .header__right .callback-btn-link { display: none; }
    .burger-menu { display: block; }
    .mobile-nav { display: block; }
    .navbar.mobile-nav .header-socials { /*display: block;*/display: flex; gap: 1.5rem; } /* Показываем соц. иконки в моб. меню */
    .header__right .header-socials{display: none;}

    /* Общие отступы секций */
    .technical-support { margin-bottom: 2.857rem; /* 40px */ }
    .page-top { padding: 4.285rem 0; /* 60px */ }

    /* Контакты */
    .contacts__wrap { grid-template-columns: 1fr; }

    /* Футер */
    .footer__wrap { flex-direction: column; gap: 2.857rem; /* 40px */ border-radius: 2.142rem; /* 30px */ padding: 2.142rem; /* 30px */ }
    .footer-header .footer-nav__list { flex-direction: column; gap: 2.142rem; /* 30px */ }
    .footer-nav__list-box { min-width: calc(50% - 0.714rem); /* 10px */ } /* Учитываем gap */
    .footer-basement .footer-nav__list-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.071rem; /* 15px */
    }

    /* Достижения */
    .achievements-list { gap: 1.428rem; /* 20px */ }

    /* Секции техподдержки */
    .tsp__wrap, .why-us__list, .support-details__wrap { grid-template-columns: 1fr; }

    /* Цены на страницах услуг */
    .price-list { grid-template-columns: 1fr; }
    .prices-preview__wrapper { grid-template-columns: 1fr; }
    .prices-intro__grid { grid-template-columns: 1fr; }

    /* Карточки разработки */
    .development-item { padding: 1.428rem; /* 20px */ min-height: 15.714rem; /* 220px */ border-radius: 2.142rem; /* 30px */margin-bottom: 3rem;}
    .development-item__icon-wrap { width: 4.285rem; /* 60px */ height: 4.285rem; /* 60px */ margin-bottom: 0.714rem; /* 10px */ }
    .development-item__icon { max-width: 2.857rem; /* 40px */ max-height: 2.857rem; /* 40px */ }
    .development-item__title { font-size: 1.2rem; } /* 1.2 * 14px = 16.8px */
    .development-item__text { font-size: 0.85rem; } /* 0.85 * 14px = 11.9px */

    /* Секция preview на страницах услуг */
    .technical-support.preview .preview__wrap { grid-template-columns: 1fr; gap: 2.142rem; /* 30px */ }
    .technical-support.preview .preview-desc,
    .technical-support.preview .preview-image { grid-column: span 1; }
    .technical-support.preview .preview-desc__list { justify-content: center; }

    /* Секция about на страницах услуг */
    .technical-support.about .about__wrap {
        flex-direction: column;
        gap: 1.428rem; /* 20px */
    }
    .technical-support.about .about-list,
    .technical-support.about .about-desc {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 1.785rem; /* 25px */
        border-radius: 2.142rem; /* 30px */
    }
    .technical-support.about .about-list { order: 2; }
    .technical-support.about .about-desc { order: 1; }
    .technical-support.about .about-list__item-icon { width: 1.285rem; /* 18px */ height: 1.285rem; /* 18px */ }
    .technical-support.about .about-list__item-text { font-size: 1rem; /* 14px */ }

    /* Цены на страницах техподдержки */
    .technical-support.prices .price-list { grid-template-columns: 1fr; gap: 1.285rem; /* 18px */ }

    /* Таблица тарифов */
    .variant__table { flex-direction: column; }
    .variant__col + .variant__col { border-left: none; border-top: 0.0714rem solid var(--border-color); /* 1px */ }
    .variant__col:first-child { display: none; }
    .variant__cell--title { min-height: auto; padding-bottom: 1.428rem; /* 20px */ }

    /* Карточки услуг на главной странице, странице услуг и веб-разработки */
    .main-page .services-list,
    .services-page .services-list,
    .web-development-services-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.714rem 1.428rem; /* 24px 20px */
    }
    .main-page .services-item:first-child,
    .services-page .services-item:first-child {
        grid-column: span 1;
    }
    .main-page .services-item__wrap,
    .services-page .services-item__wrap,
    .web-development-services-list .services-item__wrap {
        min-height: 13.428rem; /* 188px */
        padding: 1.714rem; /* 24px */
    }
}

@media screen and (max-width: 767px) {
    html { font-size: 13px; } /* Масштабируем все rem на 13px */

    /* Общие отступы секций */
    .technical-support { margin-bottom: 2.307rem; /* 30px */ }
    .page-top { padding: 4.615rem 0; /* 60px */ margin-bottom: 3rem;}
    .footer__wrap { padding: 1.923rem; /* 25px */ gap: 2.307rem; /* 30px */ margin-bottom: 1.538rem; /* 20px */ border-radius: 2.307rem; /* 30px */ }
    .footer-basement .footer-basement__box { flex-direction: column; align-items: flex-start; gap: 1.538rem; /* 20px */ }
    .footer-nav__list-box { min-width: 100%; }
    .header__right .header-socials{display: none;}
    .navbar.mobile-nav .header-socials { display: flex; gap: 1.5rem; }

    /* Карточки услуг на главной странице, странице услуг и веб-разработки */
    .main-page .services-list,
    .services-page .services-list,
    .web-development-services-list {
        grid-template-columns: repeat(1, 1fr);
        gap: 1.538rem; /* 20px */
    }
    .main-page .services-item__wrap,
    .services-page .services-item__wrap,
    .web-development-services-list .services-item__wrap {
        min-height: 12.307rem; /* 160px */
        padding: 1.538rem; /* 20px */
    }
}

@media screen and (max-width: 479px) {
    html { font-size: 12px; } /* Масштабируем все rem на 12px */

    .technical-support.prices .price-item__bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    .technical-support.prices .price-item__price { margin-top: 0.833rem; /* 10px */ }
    .callback-modal__wrap { padding: 1.666rem 2.083rem; /* 20px 25px */ border-radius: 1.25rem; /* 15px */ }
    .callback-form__title { font-size: 1.5rem; }
    .callback-form__contact-item { padding: 0.5rem 1rem; /* 6px 12px */ font-size: 0.85rem; }
    .callback-form__attachment-label { padding: 0.666rem 1.25rem; /* 8px 15px */ font-size: 0.85rem; }
    .callback-form__attached-file-del { font-size: 0.75rem; padding: 0.333rem 0.666rem; /* 4px 8px */ }
    .callback-form__agreement-box { font-size: 0.8rem; }
    .header__right .header-socials{display: none;}
    .navbar.mobile-nav .header-socials{display: flex; gap: 1.5rem;}
}

.form-wrapper {
    width: 100%;
    max-width: 42rem;
    margin: 0 auto;
}

/* ОСНОВНЫЕ СТИЛИ ФОРМЫ */
.form-container {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 2rem;
    box-shadow: 0 1.5625rem 3.125rem rgba(0,0,0,0.15);
}

.callback-form {
    /*background-color: var(--bg-light);*/
    padding: 2rem;
    border-radius: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.callback-form__title {
    margin: 0 0 0.5rem 0;
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
}

.callback-form__inputs-block {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.callback-form__item-input,
.callback-form__item-textarea {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 0.0625rem solid var(--border-color);
    border-radius: 3.125rem;
    font-family: inherit;
    font-size: 1rem;
    background-color: var(--white);
    transition: all 0.3s ease;
}

.callback-form__item-textarea {
    border-radius: 1.5rem;
    min-height: 6.25rem;
    resize: vertical;
}

.callback-form__item-input:focus,
.callback-form__item-textarea:focus {
    outline: none;
    border-color: var(--footer-bg);
    box-shadow: 0 0 0 0.1875rem rgba(82, 79, 87, 0.1);
}

.callback-form__contact-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0 0 0.625rem 0;
    font-weight: 500;
}

.callback-form__contact-list {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.callback-form__contact-item {
    display: flex;
    align-items: center;
    padding: 0.625rem 1.25rem;
    border: 0.0625rem solid var(--border-color);
    border-radius: 3.125rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: var(--white);
    user-select: none;
    position: relative;
}

.callback-form__contact-item:hover {
    border-color: var(--text-secondary);
    transform: translateY(-0.125rem);
}

.callback-form__contact-item.active {
    background-color: var(--footer-bg);
    border-color: var(--footer-bg);
    color: var(--white);
}

.callback-form__contact-item.active span {
    color: var(--white);
}

.callback-form__contact-title {
    font-weight: 500;
    font-size: 0.95rem;
}

.callback-form__contact-radio {
    display: none;
}

.callback-form__attachment {
    margin-top: 0.5rem;
}

.callback-form__attachment-input {
    display: none;
}

.callback-form__attachment-label {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    cursor: pointer;
    padding: 0.75rem 1.5rem;
    border: 0.125rem dashed var(--footer-bg);
    border-radius: 3.125rem;
    background-color: var(--white);
    color: var(--footer-bg);
    font-weight: 600;
    transition: all 0.3s ease;
    user-select: none;
}

.callback-form__attachment-label:hover {
    background-color: var(--footer-bg);
    color: var(--white);
    border-style: solid;
    transform: translateY(-0.125rem);
    box-shadow: 0 0.25rem 0.9375rem rgba(89, 86, 92, 0.3);
}

.callback-form__attachment-icon {
    width: 1.25rem;
    height: 1.25rem;
    /*filter: invert(35%) sepia(94%) saturate(2476%) hue-rotate(240deg) brightness(95%) contrast(101%);*/
    transition: filter 0.3s ease;
}

/* .callback-form__attachment-label:hover .callback-form__attachment-icon {
    filter: invert(100%) sepia(0%) saturate(0%) brightness(200%);
}*/

.callback-form__attached-file {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 1.25rem;
    border: 0.0625rem solid var(--border-color);
    border-radius: 3.125rem;
    background-color: var(--white);
    margin-top: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-primary);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-0.625rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.callback-form__attached-file .file-name {
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.callback-form__attached-file-del {
    display: flex;
    align-items: center;
    gap: 0.3125rem;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0.375rem 0.875rem;
    border: 0.0625rem solid var(--border-color);
    border-radius: 1.875rem;
    background-color: var(--bg-light);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.callback-form__attached-file-del:hover {
    background-color: #ff4444;
    color: var(--white);
    border-color: #ff4444;
}

.callback-form__attached-file-del::before {
    content: '✕';
    font-size: 0.875rem;
    line-height: 1;
}

.callback-form__submit-block {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
}

.callback-form__submit {
    width: 100%;
    padding: 1rem;
    border-radius: 3.125rem;
    background: var(--footer-bg);
    color: var(--white);
    font-family: inherit;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.03125rem;
}

.callback-form__submit:hover {
    background: var(--text-secondary);
    transform: translateY(-0.125rem);
    box-shadow: 0 0.25rem 0.9375rem rgba(73, 71, 75, 0.4);
}

.callback-form__submit:active {
    transform: translateY(0);
}

.callback-form__agreement-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    user-select: none;
    font-size: 0.95rem;
    color: var(--text-secondary);
    justify-content: center;
    flex-wrap: wrap;
}

.callback-form__check-input {
    display: none;
}

.callback-form__check {
    width: 1.375rem;
    height: 1.375rem;
    border: 0.125rem solid var(--border-color);
    border-radius: 0.375rem;
    background-color: var(--white);
    display: block;
    position: relative;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.callback-form__check::after {
    content: '✓';
    color: var(--white);
    font-size: 0.875rem;
    font-weight: bold;
    line-height: 1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: all 0.2s ease;
}

.callback-form__check-input:checked + .callback-form__check {
    background-color: var(--footer-bg);
    border-color: var(--footer-bg);
}

.callback-form__check-input:checked + .callback-form__check::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.callback-form__check-desc {
    color: var(--text-secondary);
    cursor: pointer;
}

.callback-form__check-desc:hover {
    color: var(--text-primary);
}

/* Уведомление об отправке */
.notification {
    position: fixed;
    top: 1.25rem;
    right: 1.25rem;
    padding: 1rem 1.5rem;
    border-radius: 3.125rem;
    background: var(--white);
    box-shadow: 0 0.3125rem 1.5625rem rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transform: translateX(25rem);
    transition: transform 0.3s ease;
    z-index: 1000;
    max-width: 25rem;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    border-left: 0.25rem solid #4CAF50;
}

.notification.error {
    border-left: 0.25rem solid #f44336;
}

.notification__icon {
    font-size: 1.5rem;
}

.notification__message {
    flex-grow: 1;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.notification__close {
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.notification__close:hover {
    color: var(--text-primary);
}

/* Лоадер */
.loader {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    border: 0.1875rem solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
    margin-right: 0.5rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Адаптивность */
@media (max-width: 640px) {
    body {
        padding: 0.75rem;
    }

    .form-container {
        padding: 1rem;
    }

    .callback-form {
        padding: 1.5rem;
    }

    .callback-form__title {
        font-size: 1.75rem;
    }

    .callback-form__contact-item {
        padding: 0.5rem 1rem;
    }

    .callback-form__attachment-label {
        width: 100%;
        justify-content: center;
    }

    .notification {
        left: 1.25rem;
        right: 1.25rem;
        max-width: none;
        display: none;
    }
}

/* --- CLIENTS PAGE --- */
/* Секция clients-page */
.clients-page {
    padding: 3.75rem 0; /* 60px 0 */
}

/* Стили для сетки клиентов */
.clients-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr)); /* 320px */
    gap: 1.875rem; /* 30px */
    padding-top: 2.5rem; /* 40px */
}

/* Стили для карточки клиента */
.client-item {
    background-color: var(--bg-light);
    border-radius: 1.25rem; /* 20px */
    overflow: hidden; 
    border: 0.0625rem solid var(--border-color); /* 1px */
    box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,0.05); /* 0 4px 8px */
    height: 20rem; /* 320px - фиксированная высота для единообразия */
    display: flex; /* Чтобы дочерние элементы растягивались */
    flex-direction: column; /* Элементы внутри будут располагаться вертикально (сейчас только один) */
}

/* Контейнер слайдера - теперь просто контейнер для логотипа */
.client-slider {
    position: relative;
    width: 100%;
    height: 100%; /* Занимает всю высоту родителя .client-item */
    overflow: hidden; /* Обрезает все, что выходит за пределы */
}

/* Дорожка слайдера - теперь просто обертка для одного логотипа */
.client-slider__track {
    display: flex; /* Важно, чтобы .client-logo занял 100% */
    width: 100%; /* Занимает всю ширину .client-slider */
    height: 100%;
    /* transition: transform 0.5s ease-in-out; - УДАЛЯЕМ, так как transform больше не используется */
}

/* Стили для нового DIV с логотипом */
.client-logo {
    width: 100%; /* Важно: логотип занимает всю ширину track */
    height: 100%; /* Важно: логотип занимает всю высоту track */
    flex-shrink: 0; /* Гарантируем, что не сожмется, если вдруг будут другие элементы */
    background-size: contain; /* Логотип полностью заполняет блок */
    background-repeat: no-repeat;
    background-position: center; /* Центрируем логотип */
    background-color: white; /* Фон блока */
    display: flex; /* Если нужно будет центрировать что-то внутри .client-logo */
    align-items: center; 
    justify-content: center;
}

/* --- АДАПТИВНОСТЬ --- */
@media screen and (max-width: 1023px) { /* Tablet breakpoint */
    .clients-page {
        padding: 3rem 0;
    }
    .clients-list {
        grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
        gap: 1.5rem;
        padding-top: 2rem;
    }
    .client-item {
        height: 18rem;
    }
}

@media screen and (max-width: 767px) { /* Mobile breakpoint */
    .clients-page {
        padding: 2.5rem 0;
    }
    .clients-list {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding-top: 1.5rem;
    }
    .client-item {
        height: 16rem;
    }
}

.navbar.mobile-nav.active .navbar__list .navbar__item{
    padding-bottom: 1.27rem;
}

.navbar.mobile-nav.active .navbar__list .navbar__item ul li a{
    padding-bottom: 1.2rem;
    text-decoration: none;
}

.navbar.mobile-nav .navbar__list {
    list-style: none; /* Убираем маркеры для основного списка */
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem; /* 12px - Отступ между основными пунктами навигации (Услуги, Достижения, Клиенты...) */
}

.navbar.mobile-nav .navbar__list .navbar__item {
    /* Если нужно, чтобы элементы navbar__item занимали всю ширину */
    width: 100%; 
    display: flex; /* Делаем flex-контейнером для a и ul, чтобы они располагались по вертикали */
    flex-direction: column;
    align-items: flex-start; /* Выравниваем содержимое по левому краю */
    /* padding-bottom: 0.5rem; /* Отступ между основными li можно тут или через gap на родителе */
}

/* Стили для ссылок верхнего уровня */
.navbar.mobile-nav .navbar__link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    padding: 0.5rem 0; /* Примерный отступ для ссылок */
    display: block; /* Ссылка занимает всю доступную ширину li */
    transition: color 0.3s ease;
}

.navbar.mobile-nav .navbar__link:hover {
    color: var(--footer-bg);
}

/* Стили для ВЛОЖЕННОГО СПИСКА (ПОДМЕНЮ) */
.navbar.mobile-nav .navbar__list .navbar__submenu {
    list-style: none; /* Убираем точки/маркеры перед ссылками подменю */
    padding: 0;
    margin: 0.5rem 0 0 1.25rem; /* 8px сверху, 0 по бокам, 0 снизу, 20px ОТСТУП СЛЕВА для вложенности */
    display: flex;
    flex-direction: column;
    gap: 0.625rem; /* 10px - ВЕРТИКАЛЬНЫЙ ОТСТУП МЕЖДУ ЭЛЕМЕНТАМИ ПОДМЕНЮ */
    width: 100%; /* Подменю занимает всю ширину родителя */
}

/* Стили для элементов списка внутри подменю */
.navbar.mobile-nav .navbar__list .navbar__submenu > li {
    margin: 0; /* Сбрасываем возможные стандартные отступы */
}

/* Стили для ссылок внутри подменю */
.navbar.mobile-nav .navbar__list .navbar__submenu .navbar__sublink {
    color: var(--text-primary); /* Чуть более приглушенный цвет, чем у основного меню */
    font-size: 0.9375rem; /* 15px - Чуть меньший размер шрифта */
    font-weight: 400; /* Более легкий шрифт */
    text-decoration: none;
    padding: 0; /* Убираем внутренние отступы, отступы между ссылками регулируются gap */
    display: block; /* Ссылка занимает всю доступную ширину li */
    transition: color 0.3s ease;
}

.navbar.mobile-nav .navbar__list .navbar__submenu .navbar__sublink:hover {
    color: var(--footer-bg) !important;
}

/* --- СТИЛИ ДЛЯ СЕКЦИИ КЛИЕНТОВ НА ГЛАВНОЙ СТРАНИЦЕ (как на странице /clients/) --- */
/* Основные стили для сетки клиентов на главной */
.main-page .clients-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 колонки на десктопе */
    gap: 30px;
}

/* Стили для карточек клиентов на главной */
.main-page .clients-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background-color: #ffffff;
    border-radius: 30px;
    height: 134px; /* Фиксированная высота как на странице клиентов */
    transition: all 0.3s ease;
    border: 1px solid transparent; /* Для плавного появления рамки при hover */
}

.main-page .clients-item:hover {
    transform: scale(1.05);
    border-color: var(--primary-color-light, #e0e0e0);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Стили для изображений внутри карточек */
.main-page .clients-item__img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.main-page .clients-item:hover .clients-item__img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Стили для ссылки "Смотреть всех" */
.main-page .clients-item:last-child {
    background-color: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.main-page .clients-item:last-child a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    border-radius: 30px;
    padding: 24px;
    color: var(--text-primary);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.main-page .clients-item:last-child a:hover {
    transform: scale(1.05);
    border-color: var(--primary-color-light, #e0e0e0);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    color: var(--footer-bg);
}

/* --- АДАПТИВНОСТЬ ДЛЯ ГЛАВНОЙ СТРАНИЦЫ --- */
@media screen and (max-width: 1439px) {
    .main-page .clients-list {
        gap: 20px; /* Уменьшаем отступы */
    }
    
    .main-page .clients-item {
        height: 110px; /* Уменьшаем высоту */
        padding: 20px;
    }
}

@media screen and (max-width: 1023px) {
    .main-page .clients-list {
        grid-template-columns: repeat(3, 1fr); /* 3 колонки на планшетах */
        gap: 18px;
    }
    
    .main-page .clients-item {
        height: 100px;
        padding: 18px;
    }
}

@media screen and (max-width: 767px) {
    .main-page .clients-list {
        grid-template-columns: repeat(2, 1fr); /* 2 колонки на мобильных */
        gap: 15px;
    }
    
    .main-page .clients-item {
        height: 90px;
        padding: 15px;
    }
}

@media screen and (max-width: 479px) {
    .main-page .clients-list {
        grid-template-columns: repeat(1, 1fr); /* 1 колонка на маленьких экранах */
    }
}

/* --- АДАПТИВНОСТЬ ДЛЯ prices-preview (по вашему запросу) --- */
/* Десктоп (по умолчанию) */
.prices-preview {
    padding: 3.75rem 0; /* 60px */
    background-color: var(--white);
    border-radius: 60px;
    margin-top: 3rem;
}

.prices-preview__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.125rem; /* 50px */
    align-items: center;
}

.prices-preview__text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.875rem; /* 30px */
    text-align: justify;
}

.prices-preview__order-button {
    margin-top: 1.25rem; /* 20px */
    display: inline-block;
    padding: 0.75rem 1.75rem; /* 12px 28px */
    background-color: var(--footer-bg);
    color: var(--white);
    border-radius: 3.125rem; /* 50px */
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.prices-preview__order-button:hover {
    background-color: var(--text-secondary);
    transform: translateY(-0.125rem);
    box-shadow: 0 0.25rem 0.9375rem rgba(73, 71, 75, 0.4);
    color: var(--white);
}

.prices-preview__info {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 1.875rem; /* 30px */
    box-shadow: var(--shadow-sm);
}

.prices-preview__price {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 1.5625rem; /* 25px */
    text-align: center;
}

.prices-preview__price span {
    font-size: 3rem;
    font-weight: 700;
    color: var(--footer-bg);
}

.prices-preview__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.prices-preview__list li {
    padding-left: 1.5625rem; /* 25px */
    position: relative;
    margin-bottom: 0.75rem; /* 12px */
    font-size: 1rem;
}

.prices-preview__list li::before {
    content: '✓';
    color: var(--footer-bg);
    position: absolute;
    left: 0;
    top: 0.125rem; /* 2px */
    font-weight: 600;
}

/* === АДАПТИВНОСТЬ ДЛЯ prices-preview === */
/* 1440px и меньше */
@media screen and (max-width: 1439px) {
    .prices-preview {
        padding: 3rem 0; /* ~45px */
        margin-top: 2.5rem;
    }
    
    .prices-preview__wrapper {
        gap: 2.5rem; /* ~37.5px */
    }
    
    .prices-preview__info {
        padding: 1.5rem; /* ~22.5px */
    }
    
    .prices-preview__price {
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
    }
    
    .prices-preview__price span {
        font-size: 2.5rem;
    }
}

/* 1024px и меньше (планшеты) */
@media screen and (max-width: 1023px) {
    .prices-preview {
        padding: 2.5rem 0; /* 35px */
        border-radius: 2.5rem; /* 35px */
    }
    
    .prices-preview__wrapper {
        grid-template-columns: 1fr; /* Одна колонка */
        gap: 2rem; /* 28px */
    }
    
    .prices-preview__description {
        text-align: center;
        max-width: 80%;
        margin: 0 auto;
    }
    
    .prices-preview__text {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .prices-preview__info {
        max-width: 80%;
        margin: 0 auto;
        padding: 1.5rem; /* 21px */
    }
}

/* 768px и меньше (мобильные) */
@media screen and (max-width: 767px) {
    .prices-preview {
        padding: 2rem 0; /* 26px */
        border-radius: 2rem; /* 26px */
    }
    
    .prices-preview__wrapper {
        gap: 1.5rem; /* 19.5px */
    }
    
    .prices-preview__description {
        max-width: 100%;
    }
    
    .prices-preview__text {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
        text-align: left;
    }
    
    .prices-preview__info {
        max-width: 100%;
        padding: 1.25rem; /* 16.25px */
    }
    
    .prices-preview__price {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .prices-preview__price span {
        font-size: 2.2rem;
    }
    
    .prices-preview__list li {
        font-size: 0.95rem;
        padding-left: 1.25rem; /* 16.25px */
    }
}

/* 480px и меньше (маленькие мобильные) */
@media screen and (max-width: 479px) {
    .prices-preview {
        padding: 1.5rem 0; /* 18px */
        border-radius: 1.5rem; /* 18px */
        margin-top: 1.5rem;
    }
    
    .prices-preview__wrapper {
        gap: 1rem; /* 12px */
    }
    
    .prices-preview__info {
        padding: 1rem; /* 12px */
    }
    
    .prices-preview__price {
        font-size: 1.1rem;
    }
    
    .prices-preview__price span {
        font-size: 2rem;
    }
    
    .prices-preview__list li {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }
}

/* --- СТИЛИ ДЛЯ ЗЕЛЕНЫХ ГАЛОЧЕК В ТАБЛИЦЕ ЦЕН --- */
/* Способ 1: Если используется класс .variant__cell--check (как в вашем примере) */
.variant__cell--check path {
    fill: #4CAF50; /* Зеленый цвет для галочки */
}

/* Способ 2: Если используется класс .variant__cell--check-icon (как в других частях кода) */
.variant__cell--check-icon path {
    fill: #4CAF50; /* Зеленый цвет для галочки */
}

/* Способ 3: Универсальный - для всех SVG внутри ячеек таблицы (запасной вариант) */
.variant__cell svg path {
    fill: #4CAF50; /* Зеленый цвет для галочки */
}

/* Дополнительно: можно задать размеры для иконок, если нужно */
.variant__cell--check,
.variant__cell--check-icon {
    width: 1.5rem;  /* 24px */
    height: 1.5rem; /* 24px */
    display: inline-block;
    flex-shrink: 0;
}

/* ========== СТИЛИ ДЛЯ ОШИБОК ВАЛИДАЦИИ ========== */
.field-error {
    color: #f44336 !important;
    font-size: 0.85rem !important;
    margin-top: 0.25rem !important;
    padding-left: 0.5rem !important;
    width: 100% !important;
    display: block !important;
    animation: fadeIn 0.3s ease !important;
    font-family: inherit !important;
    line-height: 1.4 !important;
    box-sizing: border-box !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Стили для полей с ошибкой */
.callback-form__item-input.error,
.callback-form__item-textarea.error {
    border-color: #f44336 !important;
    box-shadow: 0 0 0 2px rgba(244, 67, 54, 0.1) !important;
    background-color: rgba(244, 67, 54, 0.02) !important;
}

/* Стили для чекбокса с ошибкой */
.callback-form__agreement-box.error .callback-form__check {
    border-color: #f44336 !important;
    box-shadow: 0 0 0 2px rgba(244, 67, 54, 0.1) !important;
}

/* Специальный класс для ошибки чекбокса */
.callback-form__agreement-box .field-error {
    margin-left: 1.875rem !important; /* 30px - чтобы текст ошибки был под чекбоксом */
    width: calc(100% - 1.875rem) !important;
}

/* Убедимся, что в блоке .form-wrapper .callback-form нет скрытия ошибок */
.form-wrapper .callback-form .field-error,
.callback-form .field-error {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 10 !important;
}

/* Переопределяем возможные конфликтующие стили */
.callback-form__agreement-box .field-error,
.callback-form__item .field-error,
.callback-form__inputs-block .field-error,
.callback-modal .field-error {
    display: block !important;
}

/* Стили для контейнера чекбокса с ошибкой */
.callback-form__agreement-box.error {
    position: relative;
}

/* Убираем возможные display:none из других правил */
.notification,
.field-error {
    display: block !important;
}

/* Стили для поля контакта при ошибке */
.callback-form__item-input.error,
.callback-form__item-textarea.error {
    border-color: #f44336 !important;
    background-color: #fff8f8 !important;
}

/* Убираем браузерную валидацию для скрытых элементов */
.callback-form__check-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    pointer-events: none;
}

/* Стили для фокуса на чекбоксе через JS */
.callback-form__agreement-box.error {
    outline: none;
}

/* Улучшенные стили для ошибок */
.callback-form__agreement-box.error .callback-form__check {
    border-color: #f44336 !important;
    box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.25) !important;
    animation: shake 0.4s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-5px); }
    40% { transform: translateX(5px); }
    60% { transform: translateX(-3px); }
    80% { transform: translateX(3px); }
}

/* Убедимся, что ошибки видны */
.field-error {
    color: #d32f2f !important;
    font-weight: 500 !important;
    background-color: rgba(244, 67, 54, 0.05) !important;
    padding: 0.5rem !important;
    border-radius: 4px !important;
    margin-top: 0.5rem !important;
    border-left: 3px solid #f44336 !important;
}

/* Стили для полей с ошибкой */
.callback-form__item-input.error,
.callback-form__item-textarea.error {
    border-color: #d32f2f !important;
    background-color: #fff5f5 !important;
    border-width: 2px !important;
}