* {
    box-sizing: border-box;
}

body {
    font-family: 'Unbounded', sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #EFEFF1;
    font-weight: 400;
}

h1 {
    font-weight: 400;
}
 
/* =========================================
   ГЛАВНАЯ: ОСНОВНОЙ БЛОК
   ========================================= */

.hero-block {
    position: relative;
    max-width: 1200px; 
    width: 100%;
    min-height: 500px; 
    margin: 0 auto;
    border-radius: 20px; 
    overflow: hidden;
    display: flex;
    align-items: center; 
    color: #ffffff;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-block::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0) 100%);
    z-index: 2;
} 

.hero-content {
    position: relative;
    z-index: 3; 
    padding: 60px 80px;
    width: 100%;
    max-width: 1000px; 
}

.hero-content h1 {
    font-size: 42px;
    line-height: 1.2;
    margin: 0;

}

/* ________СЛАЙДЕР_________ */

.hero-content h1 + h1 {
    margin-top: 5px;
}

.hero-text-slider {
    font-size: 18px;
    line-height: 1.4;
    margin-top: 40px;
    margin-bottom: 50px;
    opacity: 0.9;
    max-width: 400px;
    display: grid;
    grid-template-columns: 1fr;
    min-height: 3.2em; 
    align-items: center;
    position: relative;
    z-index: 1;
}

.slide {
    grid-row: 1;
    grid-column: 1;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
    z-index: 1;
    will-change: opacity, transform;
}

.slide.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    z-index: 10; 
}

.slide.exit {
    opacity: 0;
    transform: translateY(-20px);
    z-index: 5; 
    pointer-events: none;
}

.hero-btn {
    display: inline-block;
    background-color: #ffffff;
    color: #000000;
    text-decoration: none;
    font-size: 16px;
    padding: 14px 30px;
    border-radius: 12px;
    border-bottom-left-radius: 0;
    transition: transform 0.2s ease, background-color 0.2s;
    cursor: pointer;
}

.hero-btn:hover {
    opacity: 0.85;
    transform: translateY(-2px); 
}

@media (max-width: 1024px) {
    .hero-block {
        min-height: 600px;
        align-items: stretch;
    }
    .hero-block::after {
        background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.8) 100%);
    }
    .hero-content {
        padding: 50px 40px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    .hero-content h1 {
        font-size: 36px;
        white-space: normal;
    }
    .hero-text-slider {
        margin-top: auto;
        margin-bottom: auto;
        font-size: 18px;
        max-width: 300px;
    }
    .hero-content p {
        margin-top: auto;
        margin-bottom: auto;
        font-size: 18px;
        max-width: 300px;
    }
    .hero-btn {
        margin-top: 0;
        width: auto;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 30px 25px;
    }
    .hero-content h1 {
        font-size: 28px;
        white-space: normal;
    }
    .hero-text-slider {
        font-size: 16px;
        max-width: 260px;
        min-height: 3.5em; 
    }
    .hero-btn {
        font-size: 14px;
        padding: 15px 30px;
    }
}

/* =========================================
   ГЛАВНАЯ: СТИЛИ МЕНЮ
   ========================================= */

.app-menu, .app-menu * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Unbounded', sans-serif;
}

.app-menu {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
    background: #ffffff;
    height: 50px; 
    border: 1px solid #000000;
    border-radius: 16px;
    padding: 0; 
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.app-backdrop {
    position: absolute;
    background-color: #000000;
    border-radius: 16px; 
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 0;
    z-index: 10; 
}

.app-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 20px; 
    font-size: 14px;
    white-space: nowrap;
    margin-right: auto;
    z-index: 20;
    height: 100%;
}

.app-nav {
    display: flex;
    align-items: center;
    height: 100%;
    z-index: 20;
}

.app-group {
    display: flex;
    align-items: center;
    height: 100%;
}

.app-btn {
    position: relative;
    z-index: 50; 
    background: transparent;
    border: none;
    height: 100%; 
    padding: 0 15px; 
    border-radius: 20px;
    font-size: 14px;
    color: #000000;
    cursor: pointer;
    transition: color 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-btn.active {
    color: #fff !important;
}

.app-mobile-heart { display: none; }

    @media (min-width: 901px) {
        .app-backdrop {
            top: -1px !important;
            bottom: -1px !important;
            height: calc(100% + 2px) !important;
        }
    }

    @media (max-width: 900px) {
        .app-menu { display: block; height: auto; background: transparent; border: none; border-radius: 0; overflow: visible; padding: 0; width: auto; }
        .app-backdrop { z-index: 15; }
        .app-brand { display: none; }

        .app-group {
            position: relative;
            width: 100%;
            height: 44px;
            background: #fff;
            border: 1px solid #000000;
            border-radius: 14px;
            padding: 0;
            margin-bottom: 10px;
            display: flex;
            justify-content: space-between;
            overflow: hidden; 
        }

        .app-nav { display: block; width: 100%; }

        .app-btn {
            flex: 1 1 auto;
            min-width: 0; 
            width: auto;
            height: 100%;
            font-size: clamp(14px, 3vw, 16px);
            padding: 0 10px; 
            white-space: nowrap;
            overflow: hidden; 
            text-overflow: ellipsis; 
            appearance: none;
            -webkit-appearance: none;
            border-radius: 13px; 
            z-index: 10; 
            color: #000000;
            border: none;
            background: transparent;
            position: relative;
        }

        .app-btn.active {
            color: #ffffff !important;
            background: #000000;
            z-index: 20; 
            box-shadow: 0 0 0 1px #000000; 
        }

        .app-mobile-heart {
            display: flex;
            align-items: center;
            justify-content: center;
            flex: 0 0 44px; 
            min-width: 44px; 
            height: 100%;
            z-index: 20;
        }
    }


    @media (max-width: 325px) {
        .app-btn { font-size: 11px; padding: 0 6px; }
        .app-mobile-heart { flex: 0 0 36px; min-width: 36px; }
    }

/* =========================================
   ОБО МНЕ: ОБО МНЕ, ЧТО Я БЕРУ НА СЕБЯ
   ========================================= */
.as-section {
    width: 100%;
    padding: 10px 0 30px;
    box-sizing: border-box;
    font-weight: 400;
    color: #000;
}

.as-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 600px 1fr; 
    gap: 60px;
    align-items: start;
}

.as-title {
    font-size: 24px;
    font-weight: 400;
    margin: 0 0 20px 0;
    line-height: 1.1;
    color: #000;
}

.as-profile-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
}

.as-photo-wrap {
    width: 160px; 
    height: 210px; 
    flex-shrink: 0;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
}

.as-photo-wrap img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top; 
}

.as-info-wrap {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
    min-width: 0;
}

.as-pill-black {
    background-color: #000;
    color: #fff;
    border-radius: 14px;
    border-bottom-left-radius: 0;
    min-height: 48px; 
    padding: 5px 20px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center; 
    justify-content: flex-start; 
    text-align: left; 
}

.as-desc-text {
    font-size: 15px;
    line-height: 1.5;
    color: #000000;
}

.as-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
}

.as-srv-item {
    border: 1px solid #000;
    border-radius: 14px;
    border-bottom-left-radius: 0;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: default;
    background: transparent;
    width: 100%;
    box-sizing: border-box;
    transition: 0.2s;
    min-height: 48px; 
}

.as-srv-item:hover {
    background-color: #ffffff;
}

    @media (max-width: 1250px) {
        .as-container {
            grid-template-columns: 1fr 420px; 
            gap: 30px;
        }

        .as-srv-item {
            white-space: normal; 
            line-height: 1.2;
            font-size: 13.5px; 
            padding: 5px 6px;
        }
    }

    @media (max-width: 1000px) {
        .as-container {
            grid-template-columns: 100%;
            gap: 30px;
        }

        .as-photo-wrap {
            width: 150px;
            height: auto; 
            aspect-ratio: auto; 
        }

        .as-img {
            height: auto; 
            position: static;
        }

        .as-srv-item {
            white-space: nowrap; 
            font-size: 14px;
            padding: 10px;
        }
    }

    @media (max-width: 600px) {
        .as-section {
            padding: 20px 0;
        }

        .as-container {
            grid-template-columns: 100%; 
            gap: 30px;
        }

        .as-title {
            font-size: 26px;
        }

        .as-profile-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
        }

        .as-photo-wrap {
            width: 100%;
            height: 100%; 
            border-radius: 16px;
            overflow: hidden; 
        }


        .as-photo-wrap img {
            width: 100%;
            height: 100%;
            object-fit: cover; 
            object-position: center center; 
            display: block;
        }

        .as-info-wrap {
            display: contents;
        }

        .as-pill-black {
            width: 100%;
            height: 100%; 
            min-height: auto;
            border-radius: 16px;
            padding: 12px;
            align-items: flex-end; 
            justify-content: flex-start; 
            text-align: left;
            font-size: clamp(14px, 4vw, 24px);
            white-space: normal;
        }

        .as-desc-text {
            grid-column: 1 / -1;
            font-size: 14px;
            margin-top: 5px;
        }

        .as-services-grid {
            gap: 8px;
        }

        .as-srv-item {
            white-space: normal;
            line-height: 1.1;
            padding: 10px 4px;
            min-height: 44px;
            font-size: 12px;
        }
    }

/* =========================================
   ОБО МНЕ: ПРЕИМУЩЕСТВА, ССЫЛКИ, ФОРМАТЫ РАБОТЫ
   ========================================= */

.sec-wrapper {
    width: 100%;
    box-sizing: border-box;
}

.sec-container {
    max-width: 1200px;
    margin: 0 auto;
}

.sec-title-h2 {
    font-size: 24px;
    font-weight: 400;
    margin: 0 0 20px 0;
    line-height: 1.2;
    color: #000;
}

.sec-title-h3 {
    font-size: 24px;
    font-weight: 400;
    margin: 0 0 20px 0;
    line-height: 1.2;
    color: #000;
}

.mt-large {
    margin-top: 30px;
}

.adv-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.adv-card {
    background-color: #fff;
    border-radius: 16px;
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 160px;
    text-align: center;
    transition: transform 0.2s;
    cursor: default;
}

.adv-card:hover {
    transform: translateY(-3px);
}

.lottie-wrap-adv {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    width: 100%;
}

.lottie-size-adv {
    width: 80px;
    height: 80px;
}

.adv-text {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    margin-top: 15px;
}

.info-grid {
    display: grid;
    grid-template-columns: 600px 1fr; 
    gap:60px;
    align-items: start;
}

.link-row {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    align-items: center; 
}

.text-link {
    text-decoration: none;
    color: #000;
    font-size: 14px;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.2s;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
}

.text-link:hover {
    opacity: 0.6;
}

.arrow-icon {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.formats-wrap {
    display: flex;
    flex-wrap: wrap; 
    gap: 10px;
    width: 100%; 
}

.format-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 10px;
    border: 1px solid #000;
    border-radius: 8px;
    border-bottom-left-radius: 0;
    font-size: 12px;
    font-weight: 400;
    background: transparent;
    cursor: default;
    white-space: nowrap; 
}

.format-tag:hover {
    background-color: #ffffff;
}

.contract-row {
    display: flex;
    align-items: flex-start; 
    gap: 15px;
    width: 100%;
}

.contract-icon-box {
    width: 36px; 
    height: 36px;
    border: 1px solid #000;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lottie-size-check {
    width: 20px; 
    height: 20px;
}

.contract-text {
    margin-top: -2px;
    font-size: 15px;
    line-height: 1.4;
    width: 100%; 
}

    @media (max-width: 1024px) {
        .adv-grid {
            grid-template-columns: repeat(3, 1fr);
            gap: 12px;
        }

        .info-grid {
            grid-template-columns: 1fr 1fr;
            gap: 30px;
        }
    }

    @media (max-width: 700px) {
        .sec-wrapper {
            padding: 20px 0;
        }

        .sec-title-h2, .sec-title-h3 {
            font-size: 20px;
            margin-bottom: 20px; 
        }

        .adv-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
            margin-bottom: 30px;
        }

        .adv-card {
            min-height: 140px;
        }

        .info-grid {
            grid-template-columns: 1fr; 
            gap: 30px;
        }

        .mt-large {
            margin-top: 30px;
        }

        .link-row {
            gap: 30px;
            flex-direction: row; 
            align-items: center;
        }

        .text-link {
            font-size: 14px;
        }
    }

    @media (max-width: 480px) {
        .adv-grid {
            grid-template-columns: 1fr; 
        }

        .adv-card {
            min-height: auto; 
            padding-top: 20px;
            padding-bottom: 20px;
        }
    }

/* =========================================
   ГЛАВНАЯ: КНОПКА ДЕЙСТВИЯ
   ========================================= */

.cta-wrapper {
    width: 100%;
    padding: 20px 0 20px 0; 
    box-sizing: border-box;
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
}

.cta-card {
    background-color: #fff;
    border-radius: 20px; 
    padding: 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.cta-title {
    font-size: 26px;
    font-weight: 400;
    color: #000;
    margin: 10px 0 5px 0;
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 14px;
    font-weight: 400;
    color: #888;
    margin: 0 0 20px 0;
    line-height: 1.4;
    max-width: 600px; 
}

.cta-btn {
    display: inline-block;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
    padding: 14px 40px; 
    border-radius: 12px; 
    border-bottom-left-radius: 0;
    transition: transform 0.2s, opacity 0.2s;
    cursor: pointer;
    border: none;
}

.cta-btn:hover {
    opacity: 0.85;
    transform: translateY(-2px); 
}

@media (max-width: 768px) {
    .cta-wrapper {
        padding: 20px 0 20px 0;
    }

    .cta-card {
        padding: 40px 15px;
        border-radius: 16px;
    }

    .cta-title {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .cta-subtitle {
        font-size: 15px;
    }

    .cta-btn {
        font-size: 16px;
        padding: 16px 40px;
        width: 100%; 
        max-width: 300px;
        box-sizing: border-box;
    }
}

 
/* =========================================
   ПОДВАЛ
   ========================================= */

.site-footer {
    margin-left: -20px;
    margin-right: -20px;
    margin-bottom: -20px;
    width: calc(100% + 40px);
    background-color: #000;
    color: #fff;
    padding: 60px 0;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    box-sizing: border-box;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    box-sizing: border-box;
}

.footer-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 110px;
    max-width: 400px;
}

.footer-tagline {
    font-size: 20px;
    line-height: 1.3;
    margin: 0;
    font-weight: 400;
    color: #EFEFF1;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: #1c1c1e;
    border-radius: 8px;
    transition: background-color 0.2s ease, transform 0.2s ease;
    text-decoration: none;
    color: #fff;
}

.footer-social-link:hover {
    background-color: #888;
    transform: translateY(-2px);
}

.footer-social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: left;
}

.footer-nav a {
    color: #888;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: #ffffff;
}

    @media (max-width: 1240px) {
        .footer-content {
            padding: 0 20px;
        }
    }

    @media (max-width: 600px) {
        .site-footer {
            padding: 40px 0;
        }

        .footer-content {
            padding: 0 20px;
            flex-direction: column;
            align-items: center; 
            text-align: center;
            gap: 40px;
        }

        .footer-left {
            min-height: auto;
            gap: 24px;
            margin-bottom: 0;
            align-items: center; 
            width: 100%;
        }

        .footer-tagline {
            font-size: 20px;
            text-align: center; 
        }

        .footer-right {
            align-items: center;
            width: 100%;
        }

        .footer-nav {
            align-items: center;
            text-align: center;
        }
    }

/* =========================================
   КЕЙСЫ: ГЛАВНАЯ СТРАНИЦА
   ========================================= */

.cases-wrapper {
    max-width: 1200px;
    padding: 10px 0 0;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.cases-header {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 20px;
    margin-top: 0;
    color: #000;
}

.cases-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 20px; 
}

.case-card {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: #000;
    cursor: pointer;
}

.case-card:hover {
    transform: translateY(-4px);
}

.case-img-wrap {
    width: 100%;
    height: 300px;
    background-color: #f0f0f0;
    position: relative;
}

.case-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.case-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 24px;
    min-height: 80px;
    background-color: #fff; 
    z-index: 2;
    position: relative;
}

.case-title {
    font-size: 18px;
    line-height: 1.3;
    font-weight: 400;
    margin: 0;
}

.case-arrow {
    width: 24px;
    height: 24px;
    color: #000;
    transition: transform 0.2s ease;
}

.case-card:hover .case-arrow {
    transform: translate(4px, -4px);
}

 @media (max-width: 768px) {
        .cases-grid {
            grid-template-columns: 1fr; 
        }

        .case-img-wrap {
            height: 200px;
        }

        .cases-header {
            font-size: 28px;
        }

        .case-content {
            padding: 20px;
        }
    }

/* =========================================
   СТРАНИЦА КЕЙСА: ВЕРХНИЙ БЛОК
   ========================================= */

.case-inner {
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    animation: fadeIn 0.4s ease;
    color: #000;
}

.case-hero {
    display: flex;
    justify-content: space-between; 
    align-items: stretch; 
    gap: 40px;
    margin-bottom: 60px;
    margin-top: 40px;
}

.case-hero-text {
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    flex: 1;
    padding-bottom: 5px; 
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #888;
    font-size: 16px;
    transition: color 0.2s;
    cursor: pointer;
    width: fit-content;
}
.back-link:hover { color: #000; }

.case-h1 {
    font-size: 42px;
    line-height: 1.1;
    font-weight: 400;
    margin: 0;
    color: #000;
}

.case-hero-image {
    width: 400px;  
    height: 400px;
    flex-shrink: 0;
    border-radius: 20px;
    overflow: hidden;
    background-color: #eee;
}

.case-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

    @media (max-width: 900px) {

        .cases-grid { 
            grid-template-columns: 1fr; 
        }

        .case-hero {
            flex-direction: column;
            align-items: center;
            gap: 20px;
            margin-bottom: 40px; 
        }

        .case-hero-text {
            align-items: center;
            text-align: center;
            width: 100%;
            padding: 0 15px; 
        }

        .back-link {
            justify-content: center; 
            margin-bottom: 15px;
        }

        .case-h1 {
            font-size: 20px;  
            line-height: 1.3;
            max-width: 100%;
        }

    }  

/* =========================================
   СТРАНИЦА КЕЙСА: АККОРДЕОН РЕЗУЛЬТАТЫ
   ========================================= */

.results-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-bottom: 10px;
    margin-top: 20px;
}

.accordion-item {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-header {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    user-select: none;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.acc-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accordion-header h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 400;
    color: #000;
}

.acc-chevron {
    flex-shrink: 0;
    transition: transform 0.3s ease; 
}

.accordion-item.active .acc-chevron {
    transform: rotate(180deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-content {
    padding: 0 24px 24px 63px; 
}

.accordion-content p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #888;
}

.accordion-item.active .accordion-body {
    max-height: 300px; 
}

/* =========================================
   КНОПКА "УЗНАТЬ СТОИМОСТЬ"
   ========================================= */

.accordion-price-btn {
    width: 100%;
    padding: 20px 24px;
    margin-top: 15px;
    background-color: #000 !important; 
    color: #fff !important;           
    border: none;
    border-radius: 20px;  
    border-bottom-left-radius: 0;
    display: flex;
    justify-content: space-between;    
    align-items: center;
    font-size: 18px;
    font-weight: 400;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
    white-space: normal;    
    word-wrap: break-word;  
    line-height: 1.2;  
}

.accordion-price-btn:active {
    transform: scale(0.98);
    opacity: 0.9;
}

.accordion-price-btn svg {
    flex-shrink: 0;
    margin-left: 10px;
}

/* =========================================
   СТРАНИЦА УСЛУГ
   ========================================= */

.services-wrapper {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  animation: fadeIn 0.3s ease;
}

.services-header {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 24px;
  margin-top: 0;
  color: #000;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.service-card {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: #000;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-img-wrap {
  width: 100%;
  height: 300px;
  background-color: #f0f0f0;
  position: relative;
  flex-shrink: 0;
}

.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-content {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background-color: #fff;
  flex-grow: 1;
}

.service-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

.service-title {
  font-size: 18px;
  line-height: 1.2;
  font-weight: 400;
  margin: 0;
  max-width: 90%;
}

.service-arrow {
  width: 24px;
  height: 24px;
  color: #000;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.service-card:hover .service-arrow {
  transform: translate(4px, -4px);
}

.service-tags {
  display: flex;
  flex-wrap: wrap; 
  gap: 8px 20px;
}

.service-tags span {
  font-size: 14px;
  color: #888;
  line-height: 1.4;
  white-space: normal; 
  max-width: 100%; 
}

    @media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    .service-img-wrap {
        height: 300px;
    }
    .service-tags {
        gap: 6px 15px;
    }
    .service-tags span {
        white-space: normal;
    }
    }

/* =========================================
   УСЛУГА ОФОРМЛЕНИЕ СОЦСЕТЕЙ: ВЕРХНИЙ БЛОК, АККОРДЕОН ПОДУСЛУГ
   ========================================= */

.smm-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    animation: fadeIn 0.4s ease;
    color: #000;
}

.smm-hero {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 40px;
    margin-bottom: 60px;
    margin-top: 30px;
}

.smm-hero-text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.smm-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #888;
    font-size: 16px;
    transition: color 0.2s;
    cursor: pointer;
    width: fit-content;
}

.smm-back-link:hover {
    color: #000;
}

.smm-title {
    font-size: 42px;
    line-height: 1.1;
    font-weight: 400;
    margin: 0;
    color: #000;
}

.smm-hero-image {
    width: 400px;
    height: 400px;
    flex-shrink: 0;
    border-radius: 20px;
    overflow: hidden;
    background-color: #ffffff;
}

.smm-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.smm-section-title {
    font-size: 24px;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 20px;
    color: #000;
}

.smm-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-bottom: 20px;
}

.accordion-item {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    user-select: none;
}

.acc-title {
    margin: 0;
    font-size: 20px;
    font-weight: 400;
    color: #000;
}

.acc-chevron {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.accordion-item.active .acc-chevron {
    transform: rotate(180deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-item.active .accordion-body {
    max-height: 500px;
}

.accordion-content {
    padding: 0 24px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px; 
}

.acc-result-box {
    position: relative; 
    background-color: #EFEFF1;
    border: 1px solid #000;
    border-radius: 14px;
    padding: 12px 70px 12px 20px; 
    font-size: 15px;
    line-height: 1.4;
    color: #000;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
}

    @media (max-width: 900px) {
        .smm-hero {
            flex-direction: column;
            align-items: center;
            gap: 20px;
            margin-bottom: 40px;
        }

        .smm-hero-text {
            align-items: center;
            text-align: center;
            width: 100%;
            padding: 0 15px;
        }

        .smm-back-link {
            justify-content: center;
            margin-bottom: 15px;
        }

        .smm-title {
            font-size: 20px;
            line-height: 1.3;
        }

        .smm-section-title {
            font-size: 24px;
            padding-left: 15px;
        }

        .smm-hero-image {
            width: 250px;
            height: 250px;
        }
    }

 /* ________СКРЕПКА_________ */

.acc-clip {
    position: absolute;
    top: -25px;   
    right: 30px;  
    width: 50px; 
    height: 50px; 
    pointer-events: none; 
    z-index: 10;
}

@media (max-width: 900px) {
   
    .acc-clip {
        width: 60px;
        height: 60px;
        top: -25px;
        right: 15px;
    }
}

/* =========================================
   СММ УСЛУГИ: ПОДОЙДЕТ ВАМ, РЕЗУЛЬТАТЫ
   ========================================= */

.isol-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    color: #000;
}
 
.isol-section-title {
    font-size: 24px;
    font-weight: 400; 
    margin: 30px 0 20px 0 !important;
    color: #000;
}

.isol-grid-large {
    display: flex;
    flex-direction: column;
    gap: 15px; 
}

.isol-card-large {
    display: flex;
    align-items: flex-start; 
    gap: 20px; 
    background-color: #EFEFF1; 
    border: 1px solid #000;    
    border-radius: 20px;       
    border-bottom-left-radius: 0;
    padding: 24px;
    box-sizing: border-box;
}

.isol-card-large:hover {
    background: transparent;
    cursor: default;
    background-color: #ffffff;
}

.isol-icon-box-large {
    width: 70px;  
    height: 70px; 
    flex-shrink: 0; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.isol-icon-box-large lottie-player {
    width: 100%;
    height: 100%;
}

.isol-content {
    display: flex;
    flex-direction: column;
    gap: 8px; 
}

.isol-card-title {
    margin: 0;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.2;
}

.isol-card-desc {
    margin: 0;
    font-size: 15px;
    line-height: 1.4;
    color: #888; 
}

.isol-grid-small {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.isol-card-small {
    display: flex;
    align-items: center; 
    gap: 15px;
    background-color: #fff; 
    border-radius: 20px;    
    padding: 15px 25px;
    box-sizing: border-box;
}

.isol-icon-box-small {
    width: 30px; 
    height: 30px;
    flex-shrink: 0;
}

.isol-icon-box-small lottie-player {
    width: 100%;
    height: 100%;
}

.isol-text-small {
    font-size: 16px;
    line-height: 1.4;
    color: #000;
}

    @media (max-width: 768px) {
        .isol-section-title {
            font-size: 24px;
            padding-left: 10px;
        }

        .isol-card-large {
            flex-direction: column; 
            align-items: flex-start;
            padding: 20px;
        }

        .isol-icon-box-large {
            width: 60px;
            height: 60px;
            margin-bottom: 10px;
        }

        .isol-card-small {
            padding: 15px;
        }

        .isol-text-small {
            font-size: 15px;
        }
    }

/* =========================================
   УСЛУГА СММ: ФОРМАТ, УСЛУГА
   ========================================= */

.isol-main-title {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 20px;
    margin-top: 30px;
    line-height: 1.5;
}

.isol-subtitle {
    font-size: 18px;
    margin-bottom: 25px;
    margin-top: -15px; 
    color: #000;
}

.isol-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}

.isol-fmt-card {
    background-color: #EFEFF1;
    border: 1px solid #000;
    border-radius: 20px;
    border-bottom-left-radius: 0;
    padding: 24px;
    height: 200px; 
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    box-sizing: border-box;
}

.isol-fmt-card:hover {
    background: transparent;
    cursor: default;
    background-color: #ffffff;
}

.isol-fmt-title {
    margin: 0;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.2;
}

.isol-fmt-desc {
    margin: 0;
    font-size: 15px;
    color: #888; 
    line-height: 1.4;
}

.isol-cost-card {
    background-color: #EFEFF1;
    border: 1px solid #000;
    border-radius: 20px;
    border-bottom-left-radius: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.isol-cost-card:hover {
    background: transparent;
    cursor: default;
    background-color: #ffffff;
}

.isol-cost-anim {
    width: 100%; 
    height: 180px; 
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.isol-cost-anim lottie-player {
    width: 100%;
    height: 100%;
}

.isol-cost-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1; 
}

.isol-cost-title {
    margin: 0 0 5px 0;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.2;
    min-height: 54px; 
    display: flex;
    align-items: flex-end; 
}

.isol-cost-sub {
    margin: 0 0 15px 0;
    font-size: 15px;
    color: #888; 
    font-weight: 400;
}

.isol-cost-text {
    margin: 0;
    font-size: 15px;
    line-height: 1.4;
    color: #000;
}

    @media (max-width: 900px) {
        .isol-grid-3 {
            grid-template-columns: 1fr; 
            gap: 15px;
        }

        .isol-fmt-card {
            height: auto; 
            gap: 20px; 
        }

        .isol-cost-title {
            min-height: auto; 
        }

        .isol-main-title {
            font-size: 24px;
            margin-top: 30px;
        }
    }

/* =========================================
   ПРАЙС-ЛИСТ
   ========================================= */

.pricewrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    color: #000;
    box-sizing: border-box;
    font-family: inherit;
}

.pricewrapper * {
    box-sizing: border-box;
}

.pr-category {
    margin-bottom: 12px;
}

.pr-accordion-header {
    background: #fff;
    border: 1px solid #000;
    border-radius: 20px;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 400;
    font-size: 18px;
    user-select: none;
}

.pr-accordion-header:hover {
    background: #f7f7f7;
}

.pr-arrow {
    transition: transform 0.4s ease;
    width: 24px; 
    height: 24px;
    flex-shrink: 0;
    display: block;
}

.pr-category.active .pr-arrow {
    transform: rotate(180deg);
}

.pr-category-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 0;
}

.pr-inner-animation {
    overflow: hidden;
    min-height: 0;
}

.pr-category.active .pr-category-body {
    grid-template-rows: 1fr;
    opacity: 1;
    margin-top: 12px;
}

.pr-service-item {
    margin-bottom: 12px;
}

.pr-row {
    border: 1px solid #000;
    border-radius: 20px;
    display: flex;
    align-items: stretch;
    min-height: 52px;
    overflow: hidden; 
    position: relative;
    z-index: 2;
    padding: 0;
}

.pr-left {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px 0 24px;
    gap: 15px;
    background-color: #EFEFF1;
}

.pr-name {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
}

.pr-q-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #000;
    border-radius: 8px;
    border-bottom-left-radius: 0;
    background: transparent;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
    padding: 0;
    font-size: 18px;               
    font-weight: 400;              
    line-height: 1;               
}

.pr-subtext {
    color: #888 !important;
    font-size: 12px;
}

.pr-q-btn svg,
.pr-q-btn img {
    width: 16px; 
    height: 16px;
    object-fit: contain; 
    display: block;
    margin: 0;
}

.pr-service-item.active .pr-q-btn {
    background: #000;
    color: #fff;
}

.pr-q-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

.pr-service-item.active .pr-q-btn:hover {
    background: #000;
}

.pr-right {
    flex: 0 0 150px;
    width: 150px;
    background: #000;
    color: #fff;
    border-radius: 20px 0 0 20px;
    border: none;
    margin: 0;
    font-weight: 400;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    white-space: nowrap;
}

.pr-link {
    font-size: 14px;
    gap: 6px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.pr-link:hover {
    opacity: 0.8;
}

.pr-desc-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.pr-desc {
    min-height: 0;
    overflow: hidden;
    background: transparent;
    border-radius: 20px;
    font-size: 15px;
    line-height: 1.5;
    padding: 0 24px;
    opacity: 0;
    transform: translateY(-10px);
    margin-top: 0;
    border: 1px solid transparent;
    color: transparent;
    transition: 
        margin-top 0.4s cubic-bezier(0.25, 1, 0.5, 1),
        opacity 0.3s ease-in-out,
        transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
        border-color 0.3s ease,
        color 0.1s ease,
        padding-top 0.4s ease,
        padding-bottom 0.4s ease;
}

.pr-service-item.active .pr-desc-wrapper {
    grid-template-rows: 1fr;
}

.pr-service-item.active .pr-desc {
    opacity: 1;
    transform: translateY(0);
    margin-top: 8px;
    padding-top: 15px;
    padding-bottom: 15px;
    border-color: #000;
    color: #000;
}

    @media (max-width: 600px) {
        .t-accordion__header,
        .t668__opener {
            padding-left: 20px !important;
            padding-right: 20px !important;
        }

        .pricewrapper .pr-row {
            display: flex !important;
            flex-direction: column !important;
            background-color: #EFEFF1;
            border: 1px solid #000 !important;
            border-radius: 20px !important;
            overflow: hidden !important;
            padding: 0 !important;
            margin-bottom: 8px !important; 
            height: auto !important;
            position: relative !important;
        }

        .pricewrapper .pr-left {
            order: 1 !important;
            width: 100% !important;
            display: flex !important;
            justify-content: space-between !important;
            align-items: center !important;
            padding: 10px 20px !important; 
            background: transparent !important;
            border: none !important;
            z-index: 5;
            min-height: 60px !important; 
        }

        .pricewrapper .pr-name {
            text-align: left !important;
            padding-right: 10px !important;
            line-height: 1.2 !important;
            margin: 0 !important;
        }

        .pricewrapper .pr-q-btn {
            margin: 0 !important;
            flex-shrink: 0 !important;
        }

        .pricewrapper .pr-row > div:not(.pr-left):not(.pr-right),
        .pricewrapper .pr-desc {
            order: 2 !important;
            width: 100% !important;
            box-sizing: border-box !important;
            border: none !important;
            background-color: transparent !important;
            border-radius: 0 !important;
            margin: 0 !important;
            padding-left: 20px !important; 
            padding-right: 20px !important;
            padding-top: 0 !important;
            padding-bottom: 0 !important;
        }

        .pricewrapper .pr-desc > * {
            display: block !important;
            padding-top: 5px !important;
            padding-bottom: 15px !important;
            margin: 0 !important;
        }

        .pricewrapper .pr-desc::before {
            content: "" !important;
            display: block !important;
            height: 10px !important;
        }
        
        .pricewrapper .pr-desc::after {
            content: "" !important;
            display: block !important;
            height: 10px !important;
        }

        .pricewrapper .pr-right {
            order: 3 !important;
            width: 100% !important;
            flex: 0 0 auto !important;
            margin: 0 !important;
            border-radius: 16px !important; 
            background-color: #000 !important;
            color: #fff !important;
            padding: 15px 0 !important; 
            justify-content: center !important;
            z-index: 5;
        }

        .t-accordion__icon,
        .t668__icon,
        .t-trigger__icon {
            transform: scale(1.3);
            transform-origin: center;
        }
    }

/* =========================================
   ПОРЯДОК РАБОТЫ: ПУНКТ ВАЖНО и 1
   ========================================= */

.wp-section {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    font-family: inherit;
    color: #000;
}

.wp-block {
    margin-bottom: 30px;
}

.blocking {
    margin-bottom: 0;
}

.wp-header-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.wp-badge {
    background-color: #000;
    color: #fff;
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 6px;
    line-height: 1;
    letter-spacing: 0.05em;
    font-weight: 400;
    white-space: nowrap; 
    flex-shrink: 0;   
}

.wp-subtitle {
    margin: 0;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.2;
}

.wp-card {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-sizing: border-box;
}

.wp-card--flex {
    display: flex;
    gap: 40px;
    align-items: center; 
}

.wp-visual-square {
    width: 140px; 
    height: 140px;
    flex-shrink: 0;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.wp-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wp-text {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #000;
}

.wp-text--light {
    color: #888;
}

.wp-text--grey {
    color: #888;
    font-size: 16px;
    margin-top: 10px;
}

.wp-black-box {
    background-color: #000;
    color: #fff;
    padding: 18px 30px;
    border-radius: 20px;
    border-bottom-left-radius: 0;
    font-size: 18px;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.3;
}

.wp-downloads-wrapper {
    background-color: transparent;
    border: 1px solid #000;
    border-radius: 14px;
    border-bottom-left-radius: 0;
    padding: 20px 40px 20px 40px;
    margin-top: 10px;
    margin-bottom: 30px; 
}

.wp-downloads-title {
    margin: 0 0 15px 0;
    font-size: 15px;
    color: #888;
    font-weight: 400;
}

.wp-files-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.wp-file-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 24px;
    background-color: transparent;
    border: 1px solid #000;
    border-radius: 10px;
    border-bottom-left-radius: 0;
    text-decoration: none;
    color: #000;
    font-size: 15px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wp-btn-text {
    white-space: nowrap;
}

.wp-arrow-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.wp-file-btn:hover {
    background-color: #fff;
}

.wp-file-btn:hover .wp-arrow-icon {
    transform: translate(3px, -3px);
}

    @media (max-width: 768px) {
        .wp-block {
            margin-bottom: 20px;
        }

        .blocking {
            margin-bottom: 0;
        }

        .wp-card, 
        .wp-downloads-wrapper {
            padding: 20px 20px;
            border-radius: 20px;
        }

        .wp-card--flex {
            flex-direction: column;
            gap: 25px;
            align-items: center; 
        }

        .wp-visual-square {
            width: 180px;  
            height: 180px; 
            margin: 0 auto; 
        }

        .wp-content {
            width: 100%;
            align-items: flex-start;
        }

        .wp-subtitle {
            font-size: 20px;
        }

        .wp-black-box {
            font-size: 16px;
            padding: 15px 20px;
            text-align: left;
            margin-bottom: 15px;
        }

        .wp-text {
            font-size: 16px;
        }

        .wp-file-btn {
            width: 100%;
            box-sizing: border-box;
        }

        .wp-btn-text {
            white-space: normal;
            text-align: left;
        }
    }

/* =========================================
   ПОРЯДОК РАБОТЫ: ПУНКТ 2 И 3
   ========================================= */

.wp-grid-row {
    display: flex;
    gap: 20px;
    align-items: stretch; 
}

.wp-info-card {
    flex: 1; 
    background-color: #fff; 
    border-radius: 20px;
    overflow: hidden; 
    display: flex;
    flex-direction: column;
}

.wp-card-header {
    background-color: #000;
    color: #fff;
    padding: 18px 20px;
    border-radius: 20px;
    text-align: center;
    font-size: 18px;
    font-weight: 400;
}

.wp-card-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-grow: 1; 
    justify-content: space-between; 
}

.wp-check-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.wp-check-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.wp-check-json {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px; 
}

    @media (max-width: 768px) {
        .wp-grid-row {
            flex-direction: column; 
            gap: 20px;
        }

        .wp-card-body {
            padding: 25px 20px;
        }
    }

/* =========================================
   ПОРЯДОК РАБОТЫ: ПУНКТ 4
   ========================================= */

.wp-card ol {
    margin: 15px 0 0 0;
    padding-left: 25px; 
}

.wp-card ol li {
    font-size: 15px; 
    line-height: 1.5;
    margin-bottom: 8px;
    padding-left: 5px;
}

.wp-note-text {
    color: #888; 
    font-size: 15px;
    margin-top: 10px; 
    line-height: 1.4;
}

    @media (max-width: 768px) {
        .wp-card ol li {
            font-size: 16px;
        }
    }

 
/* _______ДОП АККОРДЕОН_________ */
.acc-footer-row {
    display: flex;
    gap: 12px;
    align-items: stretch;
    width: 100%;
}

.acc-footer-row .acc-result-box {
    flex: 1; 
    margin: 0; 
}

.acc-btn-black {
    flex: 1;
    background-color: #000;
    color: #fff;
    border-radius: 12px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    transition: opacity 0.2s ease;
    cursor: pointer;
}

.acc-btn-black:hover {
    opacity: 0.8;
}

.acc-btn-text {
    font-size: 13px;
    line-height: 1.2;
    font-weight: 400;
}

.acc-btn-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

    @media (max-width: 900px) {
        .acc-footer-row {
            flex-direction: column;
        }
    }

.isol-grid-2 {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        width: 100%;
}

    @media (max-width: 900px) {
        .isol-grid-2 {
            grid-template-columns: 1fr; 
        }
    }

/* =========================================
   ДОКУМЕНТАЦИЯ
   ========================================= */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-title {
    font-size: 42px;
    margin: 60px 0 20px;
    text-align: left;
    color: var(--text-color);

}

.date {
    text-align: left;
    color: #666;
    font-size: 10px;
    margin-bottom: 20px;
}

.content {
    margin: 0 auto;
    font-size: 12px;
    line-height: 1.3;
}

.content h2 {
    font-size: 18px;
    text-align: left;
    margin: 20px 0 20px;
    color: #000;
    font-weight: 400;
}
.content p,
.content ol li {
    margin-bottom: 10px;        
}

.content ol {
    padding-left: 10px;
}

.content ol li {
    margin-bottom: 16px;
}

.subparagraph {
    padding-left: 15px;
}

    @media (max-width: 768px) {
      .page-title {font-size: 20px; margin: 40px 0 20px;}
      .content { font-size: 10px;}
    }

/* =========================================
   КЕЙС: ВЕРХНИЙ БЛОК + АККОРДЕОН
   ========================================= */
  
.case-bottom-grid {
   display: grid;
    grid-template-columns: 1fr; 
    gap: 20px; 
    width: 100%;
}

.case-accordion-item {
    border: 1px solid #000;
    border-radius: 20px;
    overflow: hidden;
    background-color: #ffffff; 
    display: flex;
    flex-direction: column;
}

.case-header-black {
    background-color: #ffffff;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.case-header-title {
    color: #000000;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.2;
}

.case-accordion-item .white-arrow {
    transition: transform 0.3s ease;
}
.case-accordion-item.active .white-arrow {
    transform: rotate(180deg);
}

.case-body-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.case-accordion-item.active .case-body-wrapper {
    max-height: 600px; 
}

.case-inner-content {
    padding: 15px 24px; 
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 15px; 
    min-height: auto; 
    height: auto;
}

.case-text {
    margin: 0;
    font-size: 15px;
    line-height: 1.4;
    color: #888;
}

    @media (max-width: 900px) {
        .case-bottom-grid {
            grid-template-columns: 1fr;
        }
    }

/* =========================================
   КЕЙС: АККОРДЕОН РЕЗУЛЬТАТЫ + ГАЛЕРЕЯ АВТО
   ========================================= */
.results-section {
    display: flex;
    flex-direction: column;
    gap: 20px; 
    margin-top: 20px; 
    width: 100%;
}

.result-card {
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    overflow: hidden; 
}

.result-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 16px;
    margin-bottom: 24px;
}

.result-gallery img {
    width: 100%;
    height: auto; 
    aspect-ratio: 1080 / 1350; 
    object-fit: cover; 
    border-radius: 12px;
}

.result-content h3 {
    font-size: 24px;
    margin-bottom: 8px;
    font-weight: 400;
    color: #000;
}

.result-content .result-subtitle {
    display: block;
    font-size: 15px;
    color: #888; 
    margin-bottom: 16px;
    font-weight: 400;
}

.result-content p {
    font-size: 15px;
    line-height: 1.5;
    max-width: 100%; 
}

    @media (max-width: 768px) {

        .result-card {
            padding: 16px;
        }

        .result-gallery {
            display: block; 
            position: relative;
            height: auto; 
            width: 100%;
            aspect-ratio: 1080 / 1350;
            margin-bottom: 20px;
        }

        .result-gallery img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border-radius: 12px; 
            opacity: 0;
            animation: imageCycle 16s infinite ease-in-out; 
        }

        .result-gallery img:nth-child(1) { animation-delay: 0s; }
        .result-gallery img:nth-child(2) { animation-delay: 4s; }
        .result-gallery img:nth-child(3) { animation-delay: 8s; }
        .result-gallery img:nth-child(4) { animation-delay: 12s; }

        /* Уменьшаем шрифт заголовков для мобилки */
        .result-content h3 { font-size: 22px; }
        .result-content .result-subtitle { font-size: 16px; }
    }

 /* ________АНИМАЦИЯ ИСЧЕЗНОВЕНИЯ ФОТО_________ */

    @keyframes imageCycle {
        0% {
            opacity: 0;
        }
        5% {
            opacity: 1; 
        }
        25% {
            opacity: 1; 
        }
        30% {
            opacity: 0; 
        }
        100% {
            opacity: 0; 
        }
    }

/* =========================================
   КЕЙС:ГАЛЕРЕЯ КАРТИНОК РАЗНОГО РАЗМЕРА
   ========================================= */

.result-card--full {
    padding: 0; 
}

.single-image-wrapper img {
    width: 100%;
    height: auto;
    display: block; 
    border-radius: 20px 20px 0 0; 
}

.result-card--full .result-content {
    padding: 24px;
}

.gallery-square img {
    aspect-ratio: 1 / 1; 
}

.gallery-insta img {
    aspect-ratio: 1080 / 1350; 
}
.gallery-menu img {
    aspect-ratio: 3 / 2; 
}

    @media (max-width: 768px) {

        .single-image-wrapper img {
            border-radius: 20px 20px 0 0;
        }

        .gallery-square {
            aspect-ratio: 1 / 1; 
        }

        .gallery-insta {
            aspect-ratio: 1080 / 1350;
        }
        .gallery-menu {
            width: 220px; 
            margin: 0 auto 20px auto; 
            aspect-ratio: 3 / 2; 
        }

        .gallery-menu img {
            object-fit: contain; 
            background-color: transparent; 
        }
    }

/* =========================================
   КЕЙС: СПЕЦСТИЛЬ ДЛЯ 5 КАРТИНОК
   ========================================= */

.gallery-stories-5 {
    grid-template-columns: repeat(5, 1fr); 
}

.gallery-stories-5 img {
    aspect-ratio: 9 / 16; 
}

    @media (max-width: 768px) {

        .gallery-stories-5 {
            display: block; 
            aspect-ratio: 9 / 16;
        }

        .gallery-stories-5 img {
            animation-name: imageCycle5; 
            animation-duration: 20s; 
        }

        /* Расчет задержки для 5 картинок (шаг 4 секунды) */
        .gallery-stories-5 img:nth-child(1) { animation-delay: 0s; }
        .gallery-stories-5 img:nth-child(2) { animation-delay: 4s; }
        .gallery-stories-5 img:nth-child(3) { animation-delay: 8s; }
        .gallery-stories-5 img:nth-child(4) { animation-delay: 12s; }
        .gallery-stories-5 img:nth-child(5) { animation-delay: 16s; }
    }

    @keyframes imageCycle5 {
        0% { opacity: 0; }
        5% { opacity: 1; }  
        20% { opacity: 1; }  
        25% { opacity: 0; }  
        100% { opacity: 0; } 
    }

/* =========================================
   КЕЙС: СПЕЦСТИЛЬ ДЛЯ ПСИХОЛОГА
   ========================================= */

.features-section {
    max-width: 1200px;
    margin: 20px auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card-custom {
    border: 1px solid #000; 
    border-radius: 20px;    
    border-bottom-left-radius: 0;  
    background: transparent; 
    overflow: hidden; 
    display: flex;
    flex-direction: column;
}

.feature-card-custom:hover {
    background-color: #ffffff;
}

.media-header {
    width: 100%;
    height: 250px;
    position: relative;
    overflow: hidden;
}

.media-header.gray-header {
    display: flex;
    align-items: center;
    justify-content: center;
}

.json-wrapper {
    width: 50%; 
    height: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.json-wrapper lottie-player, 
.json-wrapper svg {
    width: 100% !important;
    height: 100% !important;
}

.media-header.photo-header {
    background-color: transparent; 
}

.photo-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.photo-slider img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    object-fit: contain;
    opacity: 0;
    animation: cycleFade 16s infinite;
}

.text-body {
    padding: 0 24px 24px 24px;
    background-color: transparent; 
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.text-body h3 {
    font-size: 18px;
    font-weight: 400; 
    margin: 0 0 15px 0;
    line-height: 1.2;
    color: #000;
}

.text-body p {
    font-size: 15px;
    line-height: 1.5;
    color: #000;
    margin: 0;
}

.price-tag {
    margin-top: auto; 
    padding-top: 20px;
    padding-bottom: 5px;
    font-size: 14px;
    color: #888;
}

.price-tag strong {
    font-size: 18px;
    display: block;
    margin-top: 5px;
}

.photo-slider img:nth-child(1) { animation-delay: 0s; }
.photo-slider img:nth-child(2) { animation-delay: 4s; }
.photo-slider img:nth-child(3) { animation-delay: 8s; }
.photo-slider img:nth-child(4) { animation-delay: 12s; }

    @keyframes cycleFade {
        0% { opacity: 0; }
        5% { opacity: 1; }
        25% { opacity: 1; }
        30% { opacity: 0; }
        100% { opacity: 0; }
    }

    @media (max-width: 768px) {
        .features-grid {
            grid-template-columns: 1fr; 
            gap: 30px;
        }
    }

/* =========================================
   КЕЙС: СПЕЦСТИЛЬ ДЛЯ НЕДВИЖИМОСТИ
   ========================================= */

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; 
    gap: 20px; 
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    padding-bottom: 20px;
    
}

/* Карточка */
.showcase-card {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%; 
    box-sizing: border-box;
}

.showcase-media {
    width: 100%;
    margin-bottom: 20px;
}

.showcase-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 9px;
    object-fit: cover;
}

.showcase-text h3 {
    font-size: 20px;
    line-height: 1.3;
    text-align: center;
    font-weight: 400;
    color: #000;
    margin: 0;
}

    @media (max-width: 850px) {
        .showcase-grid {
            grid-template-columns: 1fr;
            padding: 20px 10px; 
        }

        .showcase-card {
            width: 100%;
            max-width: none; 
            padding: 15px; 
        }

        .showcase-text h3 {
            font-size: 18px; 
        }
    }

 /* ________ВЕРНУТЬСЯ К УСЛУГАМ_________ */

.services-back-btn {
    width: 100%;
    padding: 20px 24px;
    margin-top: 15px;
    margin-bottom: 0;
    background-color: transparent !important; 
    color: #888 !important;                  
    border: 1px solid #888;                   
    border-radius: 20px;
    border-bottom-left-radius: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 400;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
}

.services-back-btn:active {
    transform: scale(0.98);
    opacity: 0.9;
}

.services-back-btn svg {
    flex-shrink: 0;
    margin-left: 10px;
}