@import url("./base.css");
@import url("./layout.css");
@import url("./components.css");
@import url("./sections.css");
@import url("./pages.css");
@import url("./responsive.css");
@import url("./calculator.css");
@import url("./header.css");
@import url("./textpage.css");
@import url("./inner-landing.css");
/* Уникальный текст страниц услуг */
.service-seo-content {
    padding: 80px 0;
    background: #f7f8fa;
}

.service-seo-content__inner {
    max-width: 1000px;
    margin: 0 auto;
    color: #333;
    font-size: 18px;
    line-height: 1.65;
}

.service-seo-content__inner h2 {
    margin: 0 0 24px;
    font-size: 40px;
    line-height: 1.15;
}

.service-seo-content__inner h3 {
    margin: 36px 0 14px;
    font-size: 26px;
    line-height: 1.25;
}

.service-seo-content__inner p {
    margin: 0 0 18px;
}

.service-seo-content__inner ul {
    margin: 0 0 24px;
    padding-left: 24px;
}

.service-seo-content__inner li + li {
    margin-top: 8px;
}

@media (max-width: 768px) {
    .service-seo-content {
        padding: 48px 0;
    }

    .service-seo-content__inner {
        font-size: 16px;
    }

    .service-seo-content__inner h2 {
        font-size: 30px;
    }

    .service-seo-content__inner h3 {
        font-size: 22px;
    }
}
/* Раскрывающийся SEO-блок */
.service-seo-content__details {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e4e7eb;
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.service-seo-content__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 26px 32px;
    color: #333;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
    cursor: pointer;
    list-style: none;
}

.service-seo-content__summary::-webkit-details-marker {
    display: none;
}

.service-seo-content__summary::after {
    content: "+";
    display: grid;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    place-items: center;
    color: #fff;
    background: #0868d7;
    border-radius: 50%;
    font-size: 28px;
    font-weight: 400;
    line-height: 1;
}

.service-seo-content__details[open] .service-seo-content__summary {
    border-bottom: 1px solid #e4e7eb;
}

.service-seo-content__details[open] .service-seo-content__summary::after {
    content: "−";
}

.service-seo-content__details .service-seo-content__inner {
    padding: 32px;
}

@media (max-width: 768px) {
    .service-seo-content__summary {
        padding: 20px;
        font-size: 19px;
    }

    .service-seo-content__summary::after {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
        font-size: 24px;
    }

    .service-seo-content__details .service-seo-content__inner {
        padding: 24px 20px 28px;
    }
}

/* Усиленный дизайн кнопки SEO-блока */
.service-seo-content__details {
    max-width: 1180px;
    margin: 0 auto;
    border: 0;
    border-radius: 32px;
    box-shadow: 0 14px 45px rgba(8, 47, 91, 0.16);
}

.service-seo-content__summary {
    min-height: 120px;
    padding: 32px 42px;
    color: #fff;
    background: linear-gradient(135deg, #0b2f59 0%, #0868d7 100%);
    border-radius: 32px;
    font-size: 30px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-seo-content__summary:hover {
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.18);
}

.service-seo-content__summary::after {
    flex-basis: 54px;
    width: 54px;
    height: 54px;
    color: #0868d7;
    background: #fff;
    font-size: 34px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.service-seo-content__details[open] .service-seo-content__summary {
    border-bottom: 0;
    border-radius: 32px 32px 0 0;
}

.service-seo-content__details .service-seo-content__inner {
    max-width: none;
    padding: 42px 44px 48px;
    background: #fff;
}

@media (max-width: 768px) {
    .service-seo-content__details {
        border-radius: 24px;
    }

    .service-seo-content__summary {
        min-height: 96px;
        padding: 24px;
        border-radius: 24px;
        font-size: 22px;
    }

    .service-seo-content__summary::after {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
        font-size: 28px;
    }

    .service-seo-content__details[open] .service-seo-content__summary {
        border-radius: 24px 24px 0 0;
    }

    .service-seo-content__details .service-seo-content__inner {
        padding: 28px 22px 34px;
    }
}
/* Только кнопка раскрытия */
.service-seo-content__details {
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.service-seo-content__summary {
    min-height: 110px;
    padding: 26px 30px;
    color: #333;
    background: #fff;
    border: 1px solid #dedede;
    border-radius: 22px;
    box-shadow: none;
    font-size: 27px;
    font-weight: 700;
}

.service-seo-content__summary::after {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
    color: #333;
    background: #f2f2f2;
    font-size: 28px;
    box-shadow: none;
}

.service-seo-content__details[open] > .service-seo-content__summary {
    background: #fff;
    border: 1px solid #dedede;
    border-radius: 22px;
}

@media (max-width: 768px) {
    .service-seo-content__summary {
        min-height: 92px;
        padding: 22px;
        font-size: 21px;
    }

    .service-seo-content__summary::after {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
        font-size: 24px;
    }
}
/* Точное центрирование плюса */
.service-seo-content__summary::after {
    content: "";
    display: block;
    padding: 0;
    background:
        linear-gradient(#333, #333) center / 22px 3px no-repeat,
        linear-gradient(#333, #333) center / 3px 22px no-repeat,
        #f2f2f2;
}

.service-seo-content__details[open] .service-seo-content__summary::after {
    content: "";
    background:
        linear-gradient(#333, #333) center / 22px 3px no-repeat,
        #f2f2f2;
}
/* Блок перелинковки «Читайте также» */
.knowledge-related {
    margin-top: 48px;
}

.knowledge-related__title {
    margin: 0 0 24px;
    font-size: 32px;
    line-height: 1.2;
    color: #303030;
}

.knowledge-related__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.knowledge-related__card {
    min-width: 0;
    border: 1px solid #dedede;
    border-radius: 22px;
    background: #fff;
    overflow: hidden;
}

.knowledge-related__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 28px;
    color: inherit;
    text-decoration: none;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.knowledge-related__card:hover {
    border-color: #1670df;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(20, 70, 120, 0.1);
}

.knowledge-related__badge {
    margin-bottom: 14px;
    color: #1670df;
    font-size: 14px;
    font-weight: 600;
}

.knowledge-related__card-title {
    margin: 0 0 14px;
    font-size: 22px;
    line-height: 1.25;
    color: #303030;
}

.knowledge-related__excerpt {
    display: -webkit-box;
    margin: 0 0 22px;
    color: #777;
    font-size: 16px;
    line-height: 1.5;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.knowledge-related__cta {
    margin-top: auto;
    color: #1670df;
    font-weight: 600;
}

@media (max-width: 900px) {
    .knowledge-related__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .knowledge-related {
        margin-top: 36px;
    }

    .knowledge-related__title {
        margin-bottom: 18px;
        font-size: 27px;
    }

    .knowledge-related__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .knowledge-related__link {
        padding: 22px;
    }

    .knowledge-related__card-title {
        font-size: 20px;
    }
}