/* =========================================================
   TEYA
   Страница — Бухгалтерские услуги
   Файл: css/pages/services.css
   ========================================================= */


/* =========================================================
   1. ОБЩИЕ НАСТРОЙКИ СТРАНИЦЫ
   ========================================================= */

.services-page {
    background: #ffffff;
}


/* =========================================================
   2. ГЛАВНЫЙ ЭКРАН
   ========================================================= */

.services-hero {
    padding: 110px 0 100px;

    background:
        linear-gradient(
            135deg,
            #f7faff 0%,
            #edf5ff 100%
        );
}

.services-hero__content {
    max-width: 820px;
}

.services-hero__eyebrow {
    margin: 0 0 16px;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;

    letter-spacing: 0.08em;
    text-transform: uppercase;

    color: #1672e8;
}

.services-hero__title {
    margin: 0;

    font-size: clamp(40px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.05;

    color: #12233f;
}

.services-hero__title span {
    display: block;

    margin-top: 6px;

    color: #1672e8;
}

.services-hero__description {
    max-width: 720px;

    margin: 26px 0 0;

    font-size: 18px;
    line-height: 1.75;

    color: #637087;
}

.services-hero__actions {
    display: flex;
    flex-wrap: wrap;

    gap: 14px;

    margin-top: 34px;
}


/* =========================================================
   3. ОБЩИЙ ЗАГОЛОВОК СЕКЦИЙ
   ========================================================= */

.services-section-header {
    max-width: 780px;

    margin-bottom: 46px;
}

.services-section-header__eyebrow {
    margin: 0 0 13px;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;

    letter-spacing: 0.08em;
    text-transform: uppercase;

    color: #1672e8;
}

.services-section-header__title {
    margin: 0;

    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.12;

    color: #12233f;
}

.services-section-header__description {
    max-width: 680px;

    margin: 20px 0 0;

    font-size: 17px;
    line-height: 1.7;

    color: #637087;
}


/* =========================================================
   4. КАТАЛОГ УСЛУГ
   ========================================================= */

.services-catalog {
    padding: 96px 0;
}

.services-catalog__grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;
}


/* =========================================================
   5. КАРТОЧКА УСЛУГИ
   ========================================================= */

.service-card {
    position: relative;

    overflow: hidden;

    padding: 32px;

    border: 1px solid #e1e8f0;
    border-radius: 20px;

    background: #ffffff;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-3px);

    border-color: #c5d9f1;

    box-shadow:
        0 18px 45px rgba(18, 35, 63, 0.08);
}

.service-card__number {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    margin-bottom: 22px;

    border-radius: 14px;

    background: #eaf3ff;

    font-size: 13px;
    font-weight: 800;

    color: #1672e8;
}

.service-card__title {
    margin: 0;

    font-size: 23px;
    line-height: 1.25;

    color: #12233f;
}

.service-card__description {
    margin: 14px 0 0;

    font-size: 15px;
    line-height: 1.7;

    color: #68768b;
}

.service-card__list {
    display: grid;

    gap: 10px;

    margin: 24px 0 0;
    padding: 0;

    list-style: none;
}

.service-card__list li {
    position: relative;

    padding-left: 27px;

    font-size: 14px;
    line-height: 1.55;

    color: #34455e;
}

.service-card__list li::before {
    content: "✓";

    position: absolute;

    top: 0;
    left: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 18px;
    height: 18px;

    border-radius: 50%;

    background: #e7f2ff;

    font-size: 11px;
    font-weight: 800;

    color: #1672e8;
}


/* =========================================================
   6. КОМУ ПОДХОДЯТ УСЛУГИ
   ========================================================= */

.services-for {
    padding: 96px 0;

    background: #f7f9fc;
}

.services-for__grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;
}

.services-for__item {
    padding: 30px;

    border: 1px solid #e1e8f0;
    border-radius: 20px;

    background: #ffffff;
}

.services-for__label {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 32px;

    margin-bottom: 20px;
    padding: 0 12px;

    border-radius: 999px;

    background: #e9f3ff;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.06em;

    color: #1672e8;
}

.services-for__item h3 {
    margin: 0;

    font-size: 21px;
    line-height: 1.3;

    color: #12233f;
}

.services-for__item p {
    margin: 14px 0 0;

    font-size: 15px;
    line-height: 1.7;

    color: #68768b;
}


/* =========================================================
   7. ПРОЦЕСС РАБОТЫ
   ========================================================= */

.services-process {
    padding: 96px 0;

    background: #ffffff;
}

.services-process__grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;
}

.services-process__item {
    position: relative;

    padding: 28px;

    border: 1px solid #e1e8f0;
    border-radius: 18px;

    background: #f9fbfd;
}

.services-process__item > span {
    display: block;

    margin-bottom: 20px;

    font-size: 28px;
    font-weight: 800;
    line-height: 1;

    color: #1672e8;
}

.services-process__item h3 {
    margin: 0;

    font-size: 19px;
    line-height: 1.3;

    color: #12233f;
}

.services-process__item p {
    margin: 12px 0 0;

    font-size: 14px;
    line-height: 1.65;

    color: #68768b;
}


/* =========================================================
   8. ФИНАЛЬНЫЙ ПРИЗЫВ
   ========================================================= */

.services-cta {
    padding: 0 0 96px;
}

.services-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 50px;

    overflow: hidden;

    padding: 48px;

    border-radius: 26px;

    background:
        linear-gradient(
            145deg,
            #142945 0%,
            #0e2039 100%
        );

    box-shadow:
        0 24px 60px rgba(18, 35, 63, 0.14);
}

.services-cta__content {
    max-width: 680px;
}

.services-cta__eyebrow {
    margin: 0 0 12px;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.08em;
    text-transform: uppercase;

    color: #7db6ff;
}

.services-cta__content h2 {
    margin: 0;

    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.15;

    color: #ffffff;
}

.services-cta__content > p:not(.services-cta__eyebrow) {
    max-width: 620px;

    margin: 18px 0 0;

    font-size: 16px;
    line-height: 1.7;

    color: #cbd7e8;
}

.services-cta__actions {
    display: flex;
    flex-direction: column;

    flex: 0 0 230px;

    gap: 12px;
}

.services-cta__actions .button {
    width: 100%;
    min-height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;

    text-align: center;
}

.services-cta__actions .button--secondary {
    border-color:
        rgba(255, 255, 255, 0.25);

    background:
        rgba(255, 255, 255, 0.06);

    color: #ffffff;
}

.services-cta__actions .button--secondary:hover {
    border-color:
        rgba(255, 255, 255, 0.4);

    background:
        rgba(255, 255, 255, 0.12);
}


/* =========================================================
   9. ПЛАНШЕТ
   ========================================================= */

@media (max-width: 1050px) {

    .services-for__grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .services-process__grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .services-cta__inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .services-cta__actions {
        width: 100%;

        flex: auto;
        flex-direction: row;
    }

    .services-cta__actions .button {
        width: auto;
    }

}


/* =========================================================
   10. МОБИЛЬНАЯ ВЕРСИЯ
   ========================================================= */

@media (max-width: 768px) {

    .services-hero {
        padding: 76px 0 68px;
    }

    .services-hero__description {
        font-size: 16px;
    }

    .services-hero__actions {
        flex-direction: column;
    }

    .services-hero__actions .button {
        width: 100%;

        box-sizing: border-box;

        text-align: center;
    }

    .services-catalog,
    .services-for,
    .services-process {
        padding: 68px 0;
    }

    .services-section-header {
        margin-bottom: 34px;
    }

    .services-section-header__description {
        font-size: 16px;
    }

    .services-catalog__grid,
    .services-for__grid,
    .services-process__grid {
        grid-template-columns: 1fr;
    }

    .service-card,
    .services-for__item,
    .services-process__item {
        padding: 24px;
    }

    .services-cta {
        padding-bottom: 68px;
    }

    .services-cta__inner {
        gap: 30px;

        padding: 30px 24px;

        border-radius: 20px;
    }

    .services-cta__actions {
        flex-direction: column;
    }

    .services-cta__actions .button {
        width: 100%;
    }

}