


.case-108,
.case-108 * {
    box-sizing: border-box;
}

.case-108 {
    --text: #29272d;
    --muted: #706b74;
    --accent: #7b3f72;
    --accent-dark: #54264e;
    --accent-light: #f8eff7;
    --green: #247b56;
    --green-light: #edf8f3;
    --yellow-light: #fff8e7;
    --border: #e8e3e9;
    --soft: #faf8fb;
    --white: #ffffff;
    --shadow: 0 14px 40px rgba(55, 34, 53, 0.08);

    width: 100%;
    margin: 0;
    padding: 0;
    color: var(--text);
    background: var(--white);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 1.7;
    text-align: left !important;
    overflow-wrap: break-word;
}

/* Контейнер с жесткими отступами */
.case-108__container {
    width: 100%;
    max-width: 1160px; 
    margin: 0 auto;
    padding: 0 30px; 
}

.case-108__content {
    max-width: 940px;
    margin: 0 auto;
}

.case-108__section {
    padding: 70px 0;
}

.case-108__section--soft {
    background: var(--soft);
}

.case-108__hero {
    position: relative;
    overflow: hidden;
    padding: 84px 0 72px;
    color: var(--white);
    background:
        radial-gradient(circle at 90% 10%, rgba(255,255,255,.15), transparent 30%),
        linear-gradient(135deg, #4a2246 0%, #7b3f72 58%, #a75e91 100%);
}

.case-108__hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
}

.case-108__label {
    display: inline-block;
    margin: 0 0 22px;
    padding: 9px 15px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 999px;
    background: rgba(255,255,255,.1);
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .07em;
    line-height: 1.3;
    text-transform: uppercase;
}

.case-108 h1 {
    max-width: 1000px;
    margin: 0 0 24px;
    color: var(--white);
    font-size: clamp(38px, 5.5vw, 70px);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -.045em;
    text-align: left !important;
}

.case-108 h2 {
    margin: 0 0 27px;
    color: var(--text);
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.035em;
    text-align: left !important;
}

.case-108 h3 {
    margin: 42px 0 16px;
    color: var(--text);
    font-size: clamp(23px, 2.8vw, 31px);
    font-weight: 750;
    line-height: 1.25;
    letter-spacing: -.02em;
    text-align: left !important;
}

.case-108 h4 {
    margin: 27px 0 11px;
    color: var(--text);
    font-size: 21px;
    line-height: 1.35;
    text-align: left !important;
    font-weight: 700;
}

.case-108 p {
    margin: 0 0 20px;
    text-align: left !important;
}

/* Стилизация списков */
.case-108 ul,
.case-108 ol {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 30px !important;
}

.case-108 li {
    position: relative;
    padding-left: 36px;
    margin-bottom: 14px;
    line-height: 1.6;
    text-align: left !important;
    color: var(--text);
}

.case-108 ul li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-light);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.case-108 ul li:hover::before {
    transform: scale(1.15);
    box-shadow: 0 0 0 6px var(--accent-light);
}

.case-108 a:not(.case-108__button) {
    color: var(--accent);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.case-108 a:not(.case-108__button):hover {
    color: var(--accent-dark);
}

.case-108__lead {
    max-width: 900px;
    margin: 0 0 33px;
    color: rgba(255,255,255,.9);
    font-size: clamp(20px, 2.3vw, 28px);
    line-height: 1.45;
}

.case-108__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin: 0 0 34px;
}

.case-108__meta span {
    padding: 10px 14px;
    border-radius: 9px;
    background: rgba(255,255,255,.12);
    color: var(--white);
    font-size: 15px;
    line-height: 1.4;
}

.case-108__intro {
    max-width: 920px;
    color: var(--muted);
    font-size: 20px;
}

/* Изображения в кейсе */
.case-108__image {
    width: 100%;
    height: auto;
    display: block;
    margin: 45px 0;
    border-radius: 17px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.case-108__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin: 34px 0;
}

.case-108__stat {
    min-height: 158px;
    padding: 25px;
    border: 1px solid var(--border);
    border-radius: 17px;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.case-108__stat:hover {
    transform: translateY(-5px);
}

.case-108__stat-value {
    display: block;
    margin: 0 0 9px;
    color: var(--accent);
    font-size: clamp(30px, 3.4vw, 43px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -.04em;
}

.case-108__stat-label {
    display: block;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.45;
}

.case-108__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.case-108__card {
    padding: 27px;
    border: 1px solid var(--border);
    border-radius: 17px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.case-108__card h3,
.case-108__card h4 {
    margin-top: 0;
    color: var(--accent-dark);
}

.case-108__card p:last-child,
.case-108__card ul:last-child {
    margin-bottom: 0 !important;
}

.case-108__note {
    margin: 32px 0;
    padding: 25px 28px;
    border-left: 5px solid var(--accent);
    border-radius: 0 15px 15px 0;
    background: var(--accent-light);
}

.case-108__note--green {
    border-left-color: var(--green);
    background: var(--green-light);
}

.case-108__note p:last-child {
    margin-bottom: 0;
}

.case-108__quote {
    margin: 35px 0;
    padding: 31px;
    border-radius: 18px;
    color: var(--accent-dark);
    background: var(--accent-light);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.5;
}

.case-108__table-wrap {
    width: 100%;
    margin: 30px 0;
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: var(--white);
    box-shadow: var(--shadow);
    -webkit-overflow-scrolling: touch;
}

.case-108 table {
    width: 100%;
    min-width: 700px;
    border-collapse: collapse;
}

.case-108 th,
.case-108 td {
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
    line-height: 1.45;
    text-align: left !important;
    vertical-align: middle;
}

.case-108 th {
    color: var(--white);
    background: var(--accent);
    font-weight: 700;
}

.case-108 tbody tr:nth-child(even) td {
    background: #fcfafc;
}

.case-108 tr:last-child td {
    border-bottom: 0;
}

.case-108__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 16px 28px;
    border: 0;
    border-radius: 12px;
    color: var(--white) !important;
    background: var(--accent);
    box-shadow: 0 12px 30px rgba(81,34,74,.22);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.case-108__button:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(81,34,74,.3);
}

.case-108__button--light {
    color: var(--accent-dark) !important;
    background: var(--white);
    box-shadow: 0 12px 30px rgba(0,0,0,.15);
}

.case-108__button--light:hover {
    background: #f8f3f7;
    box-shadow: 0 15px 35px rgba(0,0,0,.25);
}

.case-108__cta {
    margin: 38px 0;
    padding: 42px;
    border-radius: 23px;
    color: var(--white);
    background: linear-gradient(135deg, #54274f 0%, #8d4b7f 100%);
    box-shadow: 0 20px 60px rgba(70,31,64,.2);
}

.case-108__cta h2,
.case-108__cta h3 {
    margin-top: 0;
    color: var(--white);
}

.case-108__cta p,
.case-108__cta li {
    color: rgba(255,255,255,.9);
}

.case-108__cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 27px;
}

.case-108__number-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 30px 0;
    counter-reset: case-number;
}

.case-108__number-item {
    position: relative;
    min-height: 145px;
    padding: 25px 24px 24px 76px;
    border: 1px solid var(--border);
    border-radius: 17px;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.case-108__number-item:hover {
    transform: translateY(-3px);
}

.case-108__number-item::before {
    counter-increment: case-number;
    content: counter(case-number);
    position: absolute;
    top: 25px;
    left: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--white);
    background: var(--accent);
    font-weight: 800;
}

.case-108__number-item h3 {
    margin: 0 0 9px;
    font-size: 21px;
    color: var(--accent-dark);
}

.case-108__number-item p {
    margin: 0;
    color: var(--text);
    font-size: 16px;
}

.case-108__small {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

@media (max-width: 980px) {
    .case-108__stats,
    .case-108__cards,
    .case-108__number-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .case-108 {
        font-size: 17px;
    }

    .case-108__container {
        padding: 0 20px;
    }

    .case-108__hero {
        padding: 58px 0 50px;
    }

    .case-108__section {
        padding: 52px 0;
    }

    .case-108__stats,
    .case-108__cards,
    .case-108__number-list {
        grid-template-columns: 1fr;
    }

    .case-108__stat {
        min-height: 0;
    }

    .case-108__card,
    .case-108__note,
    .case-108__quote {
        padding: 22px;
    }

    .case-108__cta {
        padding: 29px 21px;
    }

    .case-108__button {
        width: 100%;
    }
}
