.info p {
    margin-bottom: 15px;
}
/* Секция и контейнер */
.intro-block {
    padding: 40px 0;
}

/* Главная двухколоночная сетка */
.intro-block-content {
    display: flex;
    gap: 30px;
    align-items: stretch;
}

/* Левая колонка (Контентная часть) */
.intro-block-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 30px;
}

/* Белая карточка с заголовком и текстом */
.intro-block-main {
    background: #ffffff;
    border-radius: 24px;
    padding: 50px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.intro-block-main h1 {
    font-weight: 500;
    font-size: 48px;
    line-height: 110%;
    margin: 0 0 20px 0;
}

.intro-block-text {
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-text);
    margin: 0 0 40px 0;
    max-width: 480px;
}

/* Правая колонка с изображением */
.intro-block-image {
    flex: 1;
    border-radius: 0px; 
    overflow: hidden;
}

.intro-block-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-md)
}

/* Базовые стили кнопок */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    white-space: nowrap;
}
.btn-secondary {
    background: var(--white);
    color: var(--main-text-color);
}
.btn-secondary:hover {
    background: var(--accent);
    color: var(--white);
}
/* Нижняя плашка "Корпоративным клиентам" */
.blockquote {
    background-color: #E5EFF0;
    border: 1px solid var(--accent);
    border-radius: 18px;
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.blockquote-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.blockquote-title {
    font-weight: 700;
    font-size: 15px;
    color: var(--color-dark);
}

.blockquote-text {
    font-size: 14px;
    line-height: 1.4;
}

.blockquote-text p {
    margin-bottom: 15px;
}

/* Адаптивность для планшетов и мобильных устройств */
@media (max-width: 991px) {
    .intro-block-content {
        flex-direction: column;
    }
    
    .intro-block-image {
        height: 350px;
    }
    .intro-block-main {
        padding: 30px 20px;
    }
    .intro-block-main h1 {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .intro-block-main button,
    .blockquote button {
        width: 100%;
    }
    .blockquote {
        flex-direction: column;
        align-items: flex-start;
    }
}

.steps-block {
    background-color: var(--steps-bg);
    padding: 60px 0;
}

/* Заголовки */
.steps-block-header {
    margin-bottom: 40px;
}

.steps-block-header h2 {
    font-weight: 500;
    font-size: 48px;
    line-height: 110%;
    margin: 0 0 12px 0;
}

.steps-block-subtitle {
    font-weight: 400;
    font-size: 20px;
    line-height: 130%;
}

/* Двухколоночная сетка */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* Стили карточки */
.step-card {
    background-color: #F0F2F5;
    border-radius: var(--radius-md);
    padding: 40px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.step-number {
    font-weight: 500;
    font-size: 60px;
    line-height: 110%;
    color: var(--accent);
    margin-bottom: 30px;
}

/* Текст внутри карточки */
.step-title {
    font-weight: 600;
    font-size: 20px;
    line-height: 130%;
    margin: 0 0 12px 0;
}

.step-text {
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    margin: 0;
}

/* Адаптивность для планшетов и мобильных телефонов */
@media (max-width: 991px) {
    .steps-grid {
        grid-template-columns: 1fr; /* Переключаемся в одну колонку */
        gap: 16px;
    }
    
    .step-card {
        padding: 30px; /* Немного уменьшаем внутренние отступы */
    }
    
    .steps-block-header h2 {
        font-size: 28px;
    }
}


.types-block {
    padding: 60px 0;
}

/* Заголовок секции */
.title_types_of_services {
    font-weight: 500;
    font-size: 48px;
    line-height: 110%;
    margin: 0 0 32px 0;
}

/* Сетка карточек */
.types-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* Одиночная карточка, если она последняя в нечетном количестве — встает на всю ширину */
.type-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

/* Стили карточки */
.type-item {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 24px;
    box-sizing: border-box;
    box-shadow: 0px 4px 18px rgba(0, 0, 0, 0.02); 
}

/* Блок с картинкой */
.type-image {
    width: 180px;
    height: 110px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
}

.type-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Текстовая часть */
.type-content {
    flex-grow: 1;
}

.type-title {
    font-weight: 600;
    font-size: 16px;
    line-height: 130%;
    margin: 0 0 8px 0;
}

.type-text {
    font-weight: 400;
    font-size: 14px;
    line-height: 130%;
    margin: 0;
}

/* --- Адаптивность --- */

/* Планшеты */
@media (max-width: 991px) {
    .types-grid {
        grid-template-columns: 1fr; /* Перестраиваем в 1 колонку */
        gap: 16px;
    }
    .title_types_of_services {
        font-size: 28px;
    }
    /* Сбрасываем грид-растягивание на мобильных */
    .type-item:last-child:nth-child(odd) {
        grid-column: auto;
    }
}

/* Мобильные телефоны */
@media (max-width: 576px) {
    .type-item {
        flex-direction: column; /* Картинка встает над текстом */
        align-items: flex-start;
        padding: 20px;
        gap: 16px;
    }

    .type-image {
        width: 100%; /* Картинка на всю ширину карточки */
        height: 160px;
    }
}

.service-includes-block {
    padding: 60px 0;
}

.service-includes-block-items {
    background: var(--white);
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0px 4px 18px rgba(0, 0, 0, 0.01);
}

/* Текст перед списком (вводная фраза) */
.service-includes-block-items p {
    font-size: 20px;
    line-height: 130%;
    font-weight: 600;
    margin: 0 0 30px 0;
}

/* Двухколоночный список через CSS Columns */
.service-includes-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    column-count: 2;
    column-gap: 50px;
}


/* Элемент списка */
.info li,
.service-includes-list li {
    font-weight: 600;
    font-size: 16px;
    line-height: 130%;
    /* margin-bottom: 18px; */
    padding: 12px 12px 12px 28px;
    position: relative;
    break-inside: avoid; /* Предотвращает разрыв элемента между колонками */
}

.info li {
    font-weight: 400;
}


/* Кастомный бирюзовый маркер (точка) */
.info li::before,
.service-includes-list li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background-color: var(--accent);
    border-radius: 50%;
    z-index: 1;
}
.info li::after,
.service-includes-list li::after {
    content: "";
    position: absolute;
    left: -1px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-color: #E5EFF0;
    border-radius: 50%;
}

/* Нижнее предупреждение (warning) */
.service-includes-block-items .warning {
    background-color: #fff5ee;
    border-radius: 12px;
    padding: 16px 24px 16px 54px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    position: relative;
}

/* Иконка "i" внутри предупреждения */
.service-includes-block-items .warning::before {
    content: "i";
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    border: 1.5px solid #F18736;
    border-radius: 50%;
    color: #F18736;
    font-weight: 600;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: initial; 
    z-index: 1;
}
.service-includes-block-items .warning::after {
    width: 30px;
    height: 30px;
    background: var(--white);
    border-radius: 50%;
    position: absolute;
    content: '';
    display: block;
    left: 13px;
    top: 12px;
}

@media (max-width: 991px) {
    .service-includes-block-items {
        padding: 40px 30px;
    }
    
    .service-includes-block h2 {
        font-size: 28px;
        margin-bottom: 24px;
    }
}

@media (max-width: 768px) {
    .service-includes-list {
        column-count: 1;
        column-gap: 0;
        margin-bottom: 30px;
    }
    .specialists-block {
        position: relative;
        padding: 60px 0 100px;
    }
    .specialists-nav {
        position: absolute;
        bottom: 0;
    }
    .specialists-header-text {
        max-width: 100%
    }
    
    .service-includes-list li {
        margin-bottom: 14px;
    }

    .service-includes-block-items .warning {
        padding: 16px 20px 16px 50px;
    }
    
    .service-includes-block-items .warning::before {
        left: 16px;
        top: 28px;
    }
    .service-includes-block-items .warning::after {
        left: 10px;
        top: 13px;
    }
}

.services-bento__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 50px 0;
}

.services-bento__card {
    position: relative;
    background-color: var(--white, #fff);
    border-radius: var(--radius-md, 20px);
    padding: 30px;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1;
}

/* Скрытая по умолчанию preview-картинка */
.services-bento__card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.35s ease, transform 0.4s ease;
    transform: scale(1.05);
}

/* Затемнение подложки для читаемости текста при ховере */
.services-bento__card-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(13, 101, 101, 0.9) 0%, rgba(9, 74, 74, 0.85) 100%);
}

.services-bento__header,
.services-bento__footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.services-bento__footer {
    align-items: flex-end;
    margin-top: auto;
}

.services-bento__title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin: 0;
    transition: color 0.3s ease;
}

.services-bento__price {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent);
    white-space: nowrap;
    transition: color 0.3s ease;
}

.services-bento__desc {
    font-size: 14px;
    color: var(--dark-gray);
    line-height: 1.4;
    margin: 0;
    max-width: 80%;
    transition: color 0.3s ease;
}

.services-bento__arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #f4f6f6;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

/* --- Эффекты наведения --- */
.services-bento__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.services-bento__card:hover .services-bento__card-bg {
    opacity: 1;
    transform: scale(1);
}

.services-bento__card:hover .services-bento__title,
.services-bento__card:hover .services-bento__price,
.services-bento__card:hover .services-bento__desc {
    color: var(--white);
}

.services-bento__card:hover .services-bento__arrow {
    background-color: var(--white);
    color: var(--accent);
    transform: rotate(-45deg);
}

/* --- Динамический баннер --- */
.services-bento__banner {
    grid-column: span var(--banner-span, 1);
    border-radius: var(--radius-md, 20px);
    overflow: hidden;
    height: 100%;
    min-height: 220px;
}

.services-bento__banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- Мобильная адаптация --- */
@media (max-width: 992px) {
    .services-bento__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .services-bento__banner {
        grid-column: span 2 !important; /* На планшетах всегда бьем во всю строку */
    }
}

@media (max-width: 680px) {
    .services-bento__grid {
        grid-template-columns: 1fr;
    }
    .services-bento__banner {
        display: none; /* На мобилках скрываем баннер согласно макету */
    }
}

/* Базовые параметры */
.questions-block {
    padding: 40px 0;
    background-color: #f8fafb;
}

/* Баннер с фоновым градиентом и картинкой */
.questions-banner {
    position: relative;
    background-color: #1b939e;
    background-image: url('/assets/images/design/request-bg.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

/* Заголовок */
.questions-title {
    font-size: 40px;
    font-weight: 500;
    margin: 0 0 16px 0;
    line-height: 110%;
    letter-spacing: -0.01em;
}

/* Описание */
.questions-text {
    font-size: 20px;
    line-height: 130%;
    text-align: center;
    max-width: 600px;
    margin: 0 0 32px 0;
    opacity: 0.9;
}

/* Блок кнопок */
.questions-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

/* Общие стили для кнопок внутри баннера */
.questions-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 32px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease-in-out;
    box-sizing: border-box;
    white-space: nowrap;
}

/* Белая кнопка «Позвонить» */
.btn-call {
    background-color: #ffffff;
    color: #1a1a1a;
    border: none;
}

.btn-call:hover {
    background-color: #f0f5f6;
    transform: translateY(-1px);
}

/* Прозрачная кнопка «Контакты» с рамкой */
.btn-contacts {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-contacts:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

/* --- Адаптивность (Переход к мобильной версии со 2 скрина) --- */

@media (max-width: 768px) {
    .questions-banner {
        padding: 50px 24px;
        background-position: center top;
    }

    .questions-title {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .questions-text {
        font-size: 15px;
        margin-bottom: 30px;
    }

    /* На мобильных кнопки встают друг под друга и растягиваются на всю ширину */
    .questions-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .questions-actions .btn {
        width: 100%;
        max-width: 320px;
    }
}