/* ============================================================
   Страница «Создание сайтов» — /sozdanie-saitov/
   Модернизация дизайна в стиле /ob-avtore/
   ============================================================ */

/* ---- Сброс глобальных ::after подчёркиваний ---- */
.education_main .title::after,
.development_advantages h2::after,
.works .title::after,
.quality .title::after,
.types .title::after,
.why .title::after,
.promotion .title::after,
.services .title::after,
.faq_page-title::after {
    content: none !important;
}

.education_main .title::before,
.quality .title::before,
.types .title::before,
.why .title::before,
.services .title::before {
    display: none !important;
}

/* ---- Hero (.education_main) ---- */
.education_main {
    margin-top: 0;
    padding: 80px 0 70px;
    background: linear-gradient(135deg, #f0f6fd 0%, #e8f0fb 100%);
}

.education_main .title {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 800;
    line-height: 1.15;
    color: #11172D;
    -webkit-text-fill-color: #11172D;
    margin-bottom: 24px;
}

.education_main-text {
    font-size: 18px;
    line-height: 1.75;
    color: #5D6584;
    max-width: 800px;
    padding-left: 0;
}

.education_main-text::before {
    display: none;
}

.education_main-text span {
    color: #005DAC;
    font-weight: 700;
}

/* ---- Преимущества (.development_advantages) ---- */
.development_advantages {
    margin: -40px 0 0;
    position: relative;
    z-index: 1;
    padding-bottom: 80px;
}

.development_advantages-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.development_advantages-item {
    width: auto;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 93, 172, 0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    border: 1px solid rgba(0, 93, 172, 0.06);
}

.development_advantages-item:hover {
    box-shadow: 0 16px 48px rgba(0, 93, 172, 0.16);
    transform: translateY(-6px);
}

.advantages-item_img {
    height: 220px;
    margin-bottom: 0;
}

.advantages-item_img img {
    border-radius: 0;
}

.advantages-item_title {
    padding: 28px 28px 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    color: #11172D;
    margin-bottom: 12px;
}

.advantages-item_title span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(0, 93, 172, 0.08);
    color: #005DAC;
    font-size: 15px;
    font-weight: 800;
    margin-right: 12px;
    vertical-align: middle;
}

.advantages-item_text {
    padding: 0 28px 28px;
    font-size: 15px;
    line-height: 1.7;
    color: #5D6584;
}

/* ---- Портфолио (.works) ---- */
.works {
    margin: 0;
    padding: 80px 0;
    background: #f5f7fb;
}

.works .title {
    color: #11172D;
    -webkit-text-fill-color: #11172D;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    margin-bottom: 40px;
    text-align: center;
}

.works_item-btn {
    border-radius: 6px;
    transition: background 0.3s ease;
}

.works_item-btn:hover {
    background-color: #004a8a;
}

.works_card .slick-dots button {
    border-radius: 6px;
    transition: background 0.3s ease;
}

/* ---- Качество (.quality) ---- */
.quality {
    margin: 0;
    padding: 80px 0;
    background: #fff;
}

.quality .title {
    color: #11172D;
    -webkit-text-fill-color: #11172D;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    text-align: center;
    margin-bottom: 48px;
}

.quality .title br {
    display: none;
}

.quality_subtitle {
    display: block;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #005DAC;
    background: rgba(0, 93, 172, 0.1);
    padding: 6px 16px;
    border-radius: 30px;
    margin: 0 auto 20px;
    width: fit-content;
}

.quality_items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.quality_item {
    width: auto;
    background: #fff;
    border: 1px solid #e8eff8;
    border-radius: 14px;
    padding: 28px 32px;
    margin-bottom: 0;
    transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
    align-items: center;
}

.quality_item::before {
    display: none;
}

.quality_item:hover {
    box-shadow: 0 8px 32px rgba(0, 93, 172, 0.1);
    transform: translateY(-3px);
    border-color: rgba(0, 93, 172, 0.2);
}

.quality_item-number {
    font-size: 28px;
    font-weight: 800;
    color: #005DAC;
    margin-right: 24px;
    min-width: 44px;
    line-height: 1;
}

.quality_item-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    color: #11172D;
}

/* ---- Типы сайтов (.types) ---- */
.types {
    padding: 80px 0;
    background: #f5f7fb;
}

.types .title {
    color: #11172D;
    -webkit-text-fill-color: #11172D;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    text-align: center;
    margin-bottom: 40px;
}

.types_items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 60px;
}

.types_item {
    width: auto;
    padding: 10px 22px;
    background: #fff;
    border: 1px solid #e8eff8;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: #11172D;
    line-height: 1.4;
    margin-bottom: 0;
    transition: all 0.3s ease;
}

.types_item::before {
    display: none;
}

.types_item:hover {
    background: #005DAC;
    color: #fff;
    border-color: #005DAC;
}

.types_inner {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 40px rgba(0, 93, 172, 0.1);
    gap: 40px;
}

.type_img {
    width: 480px;
    height: 240px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
}

.types_info {
    width: auto;
    flex: 1;
}

.types_info-title {
    font-size: 20px;
    font-weight: 700;
    color: #11172D;
    line-height: 1.5;
    margin-bottom: 16px;
}

.types_info-text {
    font-size: 15px;
    color: #5D6584;
    line-height: 1.7;
}

/* ---- Почему мы (.why) ---- */
.why {
    margin: 0;
    padding: 80px 0;
    background: #fff;
}

.why .title {
    color: #11172D;
    -webkit-text-fill-color: #11172D;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    text-align: center;
    margin-bottom: 48px;
}

.why_subtitle {
    display: block;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #005DAC;
    background: rgba(0, 93, 172, 0.1);
    padding: 6px 16px;
    border-radius: 30px;
    margin: 0 auto 20px;
    width: fit-content;
}

.why_items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.why_item {
    width: auto;
    background: #fff;
    border: 1px solid #e8eff8;
    border-radius: 16px;
    padding: 32px;
    padding-left: 32px;
    margin-bottom: 0;
    position: relative;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.why_item:hover {
    box-shadow: 0 8px 32px rgba(0, 93, 172, 0.1);
    transform: translateY(-4px);
}

.why_item-img {
    position: static;
    margin-bottom: 20px;
    width: 48px;
    height: 48px;
}

.why_item-img img {
    width: 48px;
    height: 48px;
}

.why_item-title {
    font-size: 19px;
    font-weight: 700;
    color: #11172D;
    margin-bottom: 12px;
    line-height: 1.35;
}

.why_item-text {
    font-size: 15px;
    line-height: 1.7;
    color: #5D6584;
}

/* ---- Промо (.promotion_development) ---- */
.promotion.promotion_development {
    padding: 80px 0;
    background-image: none;
    background: linear-gradient(135deg, #005DAC 0%, #003d75 100%);
}

.promotion_development .promotion_img::before {
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
}

.promotion_development .promotion_img {
    border-radius: 16px;
    overflow: hidden;
}

.promotion_development .promotion_title {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    line-height: 1.25;
}

.promotion_development .promotion_text {
    font-size: 18px;
    line-height: 1.7;
    opacity: 0.9;
}

.promotion_development p {
    opacity: 0.8;
    line-height: 1.7;
}

.promotion_development .promotion_item-img {
    border-radius: 12px;
    overflow: hidden;
}

.promotion_development .promotion_item-img::before {
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
}

/* ---- Этапы (.services) ---- */
.services {
    margin: 0;
    padding: 80px 0;
    background: #fff;
}

.services .title {
    color: #11172D;
    -webkit-text-fill-color: #11172D;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    text-align: center;
    margin-bottom: 48px;
}

.services_subtitle {
    display: block;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #005DAC;
    background: rgba(0, 93, 172, 0.1);
    padding: 6px 16px;
    border-radius: 30px;
    margin: 0 auto 20px;
    width: fit-content;
}

.services_items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.services_item {
    width: auto;
    padding: 0;
    padding-left: 0;
    margin-bottom: 0;
    min-height: auto;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.services_item-img {
    position: relative;
    left: auto;
    top: auto;
    width: 100px;
    height: 100px;
    margin: 0 auto 16px;
    border: 3px solid #e8eff8;
    transition: border-color 0.3s ease;
}

.services_item:hover .services_item-img {
    border-color: #005DAC;
}

.services_item-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    color: #11172D;
}

.services_item-title br {
    display: none;
}

.services_wrapper {
    border-radius: 20px;
    overflow: hidden;
    padding: 60px 80px 60px 560px;
}

.services_wrapper-img {
    left: 60px;
    top: 0;
}

.services_wrapper-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom;
}

.services_wrapper-text {
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 32px;
}

.services_wrapper-btn {
    border-radius: 8px;
    height: 56px;
    width: 220px;
    font-size: 15px;
}

/* ---- FAQ (.faq_page) ---- */
.faq_page {
    margin: 0;
    padding: 80px 0;
    background: #f5f7fb;
}

.faq_page-title {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    color: #11172D;
    margin-bottom: 40px;
}

.faq_page-title::after {
    content: none !important;
}

.faq_page-items {
    max-width: 900px;
    margin: 0 auto;
}

.faq_page-item {
    background: #fff;
    border: 1px solid #e8eff8;
    border-radius: 14px;
    padding: 24px 32px;
    margin-bottom: 12px;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq_page-item:hover {
    border-color: rgba(0, 93, 172, 0.2);
    box-shadow: 0 4px 16px rgba(0, 93, 172, 0.06);
}

.faq_page-item.active {
    border-color: #005DAC;
    box-shadow: 0 4px 20px rgba(0, 93, 172, 0.1);
}

.faq_page-item_title {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
    color: #11172D;
    padding-right: 50px;
}

.faq_page-item_text {
    font-size: 15px;
    line-height: 1.75;
    color: #5D6584;
    padding-right: 50px;
    margin-top: 16px;
}

/* ---- Адаптив ---- */
@media (max-width: 1024px) {
    .development_advantages-items {
        grid-template-columns: repeat(2, 1fr);
    }

    .services_items {
        grid-template-columns: repeat(2, 1fr);
    }

    .type_img {
        width: 360px;
        height: 200px;
    }

    .services_wrapper {
        padding: 60px 40px 60px 400px;
    }

    .services_wrapper-img {
        left: 20px;
        width: 360px;
    }
}

@media (max-width: 991.98px) {
    .education_main {
        padding-top: 140px;
    }

    .development_advantages {
        margin-top: 0;
        padding: 40px 0 60px;
    }

    .works_card {
        min-height: 56vw;
        background-position: top center;
    }

    .works_card-step {
        min-height: 56vw !important;
        height: auto !important;
    }

    .quality_items {
        grid-template-columns: 1fr;
    }

    .why_items {
        grid-template-columns: 1fr;
    }

    .types_inner {
        flex-direction: column-reverse;
    }

    .type_img {
        width: 100%;
        height: 240px;
    }

    .types_info {
        width: 100%;
    }

    .services_wrapper {
        padding: 40px;
    }

    .services_wrapper-img {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        top: auto;
        width: 200px;
        margin: 0 auto 24px;
    }

    .services_wrapper-img img {
        height: auto;
        object-fit: initial;
        object-position: initial;
    }
}

@media (max-width: 768px) {
    .education_main {
        padding: 120px 0 50px;
    }

    .education_main .title {
        font-size: 28px;
        line-height: 1.2;
    }

    .education_main-text {
        font-size: 16px;
    }

    .development_advantages-items {
        grid-template-columns: 1fr;
    }

    .development_advantages-item {
        max-width: 480px;
        margin: 0 auto;
    }

    .works {
        padding: 60px 0;
    }

    .works_card {
        min-height: 65vw;
    }

    .works_card-step {
        min-height: 65vw !important;
    }

    .works_card-title {
        font-size: 18px;
        line-height: 1.3;
    }

    .works_card-text {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 16px;
    }

    .works_item {
        height: 120px;
    }

    .works_item-title {
        font-size: 16px;
        line-height: 1.3;
    }

    .quality,
    .types,
    .why,
    .services,
    .faq_page {
        padding: 60px 0;
    }

    .quality_item {
        padding: 20px 24px;
        flex-direction: row;
        align-items: center;
    }

    .quality_item-number {
        font-size: 22px;
        margin-right: 16px;
        min-width: 36px;
    }

    .quality_item-title {
        font-size: 14px;
    }

    .types_items {
        gap: 8px;
    }

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

    .types_inner {
        padding: 24px;
    }

    .why_item {
        padding: 24px;
    }

    .why_item-title {
        font-size: 17px;
    }

    .services_items {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .services_item-img {
        width: 80px;
        height: 80px;
    }

    .services_wrapper {
        padding: 24px;
    }

    .services_wrapper-btn {
        width: 100%;
        height: 52px;
    }

    .faq_page-item {
        padding: 20px 24px;
    }

    .faq_page-item_title {
        font-size: 15px;
        padding-right: 40px;
    }

    .faq_page-item_text {
        padding-right: 0;
    }

    .promotion.promotion_development {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .quality_item-number {
        font-size: 18px;
        min-width: 30px;
        margin-right: 12px;
    }

    .services_items {
        grid-template-columns: 1fr;
    }

    .types_inner {
        padding: 16px;
    }

    .type_img {
        height: 180px;
    }

    .works_card {
        min-height: 75vw;
        padding: 20px 16px;
    }

    .works_card-step {
        min-height: 75vw !important;
    }

    .works_items {
        flex-direction: column;
        gap: 10px;
    }

    .works_item {
        width: 100%;
        height: 100px;
    }
}
