﻿.content-section {
    padding: 82px 0;
}

.content-section-soft {
    background: radial-gradient(circle at left top, rgba(26, 163, 163, .10), transparent 32%), #f6fbfb;
}

.content-list-section {
    padding-top: 56px;
}

.content-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 34px;
}

    .content-section-head h2 {
        margin: 0;
        color: var(--text);
        font-size: clamp(30px, 3vw, 44px);
        line-height: 1.12;
        letter-spacing: -.8px;
    }

    .content-section-head p {
        max-width: 680px;
        margin: 12px 0 0;
        color: var(--muted);
        font-size: 17px;
    }

.content-label {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    margin-bottom: 12px;
    padding: 6px 13px;
    border-radius: 999px;
    background: rgba(26, 163, 163, .10);
    color: var(--primary-dark);
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.content-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 20px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid var(--line);
    color: var(--primary-dark);
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 10px 30px rgba(16, 58, 70, .06);
    transition: .22s ease;
}

    .content-more:hover {
        transform: translateY(-2px);
        box-shadow: 0 16px 36px rgba(16, 58, 70, .11);
    }

.content-grid {
    display: grid;
    gap: 24px;
}

.content-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.content-card {
    overflow: hidden;
    min-height: 100%;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid rgba(221, 236, 235, .95);
    box-shadow: 0 18px 50px rgba(19, 60, 71, .10);
    transition: .24s ease;
}

.content-card-click:hover {
    transform: translateY(-5px);
    box-shadow: 0 26px 70px rgba(19, 60, 71, .16);
}

.content-card-cover {
    position: relative;
    display: block;
    overflow: hidden;
    height: 230px;
    background: #eef7f7;
}

    .content-card-cover img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: .35s ease;
    }

.content-card-click:hover .content-card-cover img {
    transform: scale(1.05);
}

.content-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 26px;
    background: radial-gradient(circle at top left, rgba(26, 163, 163, .18), transparent 40%), linear-gradient(135deg, #f4fbfb, #ffffff);
    color: var(--primary-dark);
    text-align: center;
    font-size: 22px;
    line-height: 1.22;
    font-weight: 900;
}

.content-card-body {
    padding: 24px 24px 26px;
}

.content-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--primary-dark);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: .7px;
    text-transform: uppercase;
}

    .content-card-meta span {
        color: var(--muted);
        font-weight: 800;
    }

.content-card-body h3 {
    margin: 0 0 12px;
    color: var(--text);
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: -.25px;
}

    .content-card-body h3 a {
        color: inherit;
    }

.content-card-body p {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 16px;
}

.content-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-dark);
    font-weight: 900;
}

    .content-card-link::after {
        content: "→";
        transition: .2s ease;
    }

    .content-card-link:hover::after {
        transform: translateX(4px);
    }

.content-video {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%;
    background: #101820;
}

    .content-video iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

.content-review-card {
    min-height: 100%;
    border-radius: 28px;
    background: linear-gradient(180deg, #ffffff, #f8fcfc);
    border: 1px solid var(--line);
    box-shadow: 0 18px 50px rgba(19, 60, 71, .10);
    transition: .24s ease;
}

    .content-review-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 26px 70px rgba(19, 60, 71, .16);
    }

.content-review-link {
    display: block;
    height: 100%;
    padding: 28px;
    color: var(--text);
}

.content-review-mark {
    margin-bottom: 8px;
    color: rgba(26, 163, 163, .22);
    font-size: 68px;
    line-height: .78;
    font-weight: 950;
}

.content-review-card h3 {
    margin: 0 0 12px;
    font-size: 22px;
    line-height: 1.22;
    color: var(--text);
}

.content-review-card p {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 16px;
}

.content-review-read {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--primary-dark);
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
}

    .content-review-read::after {
        content: "→";
        transition: .2s ease;
    }

    .content-review-read:hover::after {
        transform: translateX(4px);
    }

.content-date {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.content-empty {
    padding: 30px;
    border-radius: 24px;
    background: #f8fcfc;
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 17px;
}

.content-page-head {
    padding: 76px 0 44px;
    background: radial-gradient(circle at 12% 10%, rgba(26, 163, 163, .12), transparent 34%), linear-gradient(180deg, #f8fcfc, #ffffff);
}

.content-page-head-box {
    max-width: 850px;
}

.content-page-head h1 {
    margin: 0;
    color: var(--text);
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.05;
    letter-spacing: -1.2px;
}

.content-page-head p {
    max-width: 720px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 19px;
}

.content-detail-head {
    padding: 70px 0 38px;
    background: radial-gradient(circle at 12% 10%, rgba(26, 163, 163, .12), transparent 34%), linear-gradient(180deg, #f8fcfc, #ffffff);
}

.content-detail-head-box {
    max-width: 920px;
}

.content-back {
    display: inline-flex;
    margin-bottom: 22px;
    color: var(--primary-dark);
    font-weight: 900;
}

.content-detail-head h1 {
    margin: 0;
    color: var(--text);
    font-size: clamp(34px, 4.6vw, 58px);
    line-height: 1.08;
    letter-spacing: -1px;
}

.content-detail-date {
    margin-top: 16px;
    color: var(--muted);
    font-size: 15px;
    font-weight: 800;
}

.content-detail-section {
    padding: 42px 0 90px;
}

.content-detail-layout {
    max-width: 980px;
    margin: 0 auto;
}

.content-detail-media {
    margin-bottom: 28px;
}

.content-detail-image {
    width: 100%;
    max-height: 560px;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 24px 70px rgba(19, 60, 71, .14);
}

.content-video-detail {
    border-radius: 30px;
    box-shadow: 0 24px 70px rgba(19, 60, 71, .14);
}

.content-detail-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 16px;
}

    .content-detail-gallery img {
        width: 100%;
        height: 170px;
        object-fit: cover;
        border-radius: 18px;
        box-shadow: 0 12px 34px rgba(19, 60, 71, .10);
    }

.content-detail-card {
    padding: 34px;
    border-radius: 30px;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: 0 18px 54px rgba(19, 60, 71, .09);
}

.content-review-mark-detail {
    margin-bottom: 2px;
}

.content-detail-text {
    color: #2d3e48;
    font-size: 18px;
    line-height: 1.72;
}

    .content-detail-text h2,
    .content-detail-text h3,
    .content-detail-text h4 {
        margin-top: 30px;
        margin-bottom: 14px;
        color: var(--text);
        line-height: 1.2;
    }

        .content-detail-text h2:first-child,
        .content-detail-text h3:first-child,
        .content-detail-text h4:first-child {
            margin-top: 0;
        }

    .content-detail-text p {
        margin: 0 0 18px;
    }

    .content-detail-text img {
        max-width: 100%;
        height: auto;
        margin: 22px 0;
        border-radius: 20px;
    }

    .content-detail-text ul,
    .content-detail-text ol {
        padding-left: 22px;
        margin: 0 0 18px;
    }

    .content-detail-text li {
        margin-bottom: 8px;
    }

    .content-detail-text table {
        width: 100%;
        border-collapse: collapse;
        margin: 24px 0;
        overflow: hidden;
        border-radius: 16px;
    }

        .content-detail-text table td,
        .content-detail-text table th {
            border: 1px solid var(--line);
            padding: 12px 14px;
        }

    .content-detail-text blockquote {
        margin: 24px 0;
        padding: 22px 24px;
        border-left: 5px solid var(--primary);
        border-radius: 18px;
        background: #f4fbfb;
        color: var(--text);
    }

@media (max-width: 1024px) {
    .content-grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .content-section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .content-card-cover {
        height: 220px;
    }
}

@media (max-width: 700px) {
    .content-section {
        padding: 58px 0;
    }

    .content-list-section {
        padding-top: 38px;
    }

    .content-grid-3 {
        grid-template-columns: 1fr;
    }

    .content-page-head {
        padding: 54px 0 30px;
    }

    .content-detail-head {
        padding: 52px 0 28px;
    }

    .content-card-cover {
        height: 210px;
    }

    .content-card-body {
        padding: 22px;
    }

    .content-review-link {
        padding: 24px;
    }

    .content-detail-section {
        padding: 30px 0 64px;
    }

    .content-detail-card {
        padding: 24px;
        border-radius: 24px;
    }

    .content-detail-text {
        font-size: 17px;
    }

    .content-detail-gallery {
        grid-template-columns: 1fr;
    }

        .content-detail-gallery img {
            height: auto;
        }
}
.content-mobile-slider {
    position: relative;
}

.content-slider-arrow {
    display: none;
}

@media (max-width: 700px) {
    .content-mobile-slider {
        margin-left: -16px;
        margin-right: -16px;
        padding-left: 16px;
        padding-right: 16px;
    }

        .content-mobile-slider .content-scroll-row {
            display: flex;
            grid-template-columns: none;
            gap: 16px;
            overflow-x: auto;
            overflow-y: hidden;
            scroll-snap-type: x mandatory;
            scroll-behavior: smooth;
            padding: 4px 0 22px;
            scrollbar-width: none;
            -webkit-overflow-scrolling: touch;
        }

            .content-mobile-slider .content-scroll-row::-webkit-scrollbar {
                display: none;
            }

        .content-mobile-slider .content-card,
        .content-mobile-slider .content-review-card {
            flex: 0 0 calc(100vw - 48px);
            max-width: calc(100vw - 48px);
            scroll-snap-align: center;
        }

    .content-slider-arrow {
        position: absolute;
        top: 118px;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border: 1px solid rgba(255, 255, 255, .72);
        border-radius: 999px;
        background: rgba(26, 163, 163, .92);
        color: #ffffff;
        font-size: 0;
        line-height: 1;
        box-shadow: 0 10px 28px rgba(19, 60, 71, .20);
        cursor: pointer;
        backdrop-filter: blur(8px);
    }

        .content-slider-arrow::before {
            content: "";
            width: 10px;
            height: 10px;
            border-top: 3px solid #ffffff;
            border-right: 3px solid #ffffff;
        }

    .content-slider-arrow-left {
        left: 18px;
    }

        .content-slider-arrow-left::before {
            transform: rotate(-135deg);
            margin-left: 4px;
        }

    .content-slider-arrow-right {
        right: 18px;
    }

        .content-slider-arrow-right::before {
            transform: rotate(45deg);
            margin-right: 4px;
        }

    .content-slider-arrow:active {
        transform: scale(.94);
    }

    .content-slider-arrow.is-disabled {
        opacity: .28;
        pointer-events: none;
    }

    .content-slider-arrow:active {
        transform: scale(.94);
    }

    .content-slider-arrow.is-disabled {
        opacity: .35;
        pointer-events: none;
    }
}
/* REVIEW MODAL */

.review-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

    .review-modal.is-open {
        display: flex;
    }

.review-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 25, 30, .62);
    backdrop-filter: blur(6px);
}

.review-modal__box {
    position: relative;
    z-index: 2;
    width: min(820px, 100%);
    max-height: 88vh;
    overflow-y: auto;
    padding: 36px;
    border-radius: 30px;
    background: #ffffff;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .24);
}

.review-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: #f2f7f7;
    color: var(--text);
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.review-modal__mark {
    margin-top: 12px;
    margin-bottom: 8px;
}

.review-modal__box h2 {
    margin: 0 0 18px;
    color: var(--text);
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.12;
    letter-spacing: -.6px;
}

.review-modal__text {
    color: var(--text);
    font-size: 17px;
    line-height: 1.7;
}

    .review-modal__text p {
        margin: 0 0 16px;
    }

body.review-modal-open {
    overflow: hidden;
}

@media (max-width: 640px) {
    .review-modal {
        padding: 12px;
    }

    .review-modal__box {
        padding: 28px 20px 24px;
        border-radius: 24px;
    }

    .review-modal__close {
        top: 12px;
        right: 12px;
    }

    .review-modal__text {
        font-size: 15px;
    }
}
/* CTA CONTACTS */

.cta-box-contacts {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 470px);
    align-items: stretch;
    gap: 34px;
}

.cta-content-contacts {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-worktime-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 30px;
}

.cta-worktime-card {
    min-width: 0;
    padding: 24px;
    border-radius: 26px;
    background: rgba(255, 255, 255, .13);
    border: 1px solid rgba(255, 255, 255, .26);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .08);
}

.cta-worktime-card--mediator {
    background: rgba(255, 255, 255, .16);
}

.cta-worktime-title {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: 21px;
    line-height: 1.2;
    font-weight: 950;
}

.cta-info-row {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    margin-top: 15px;
}

    .cta-info-row:first-of-type {
        margin-top: 0;
    }

.cta-info-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
}

.cta-info-label {
    margin-bottom: 5px;
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .6px;
}

.cta-address-text,
.cta-worktime-text {
    color: #ffffff;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 600;
    word-break: normal;
    overflow-wrap: anywhere;
}

.cta-worktime-text {
    color: rgba(255, 255, 255, .92);
}

.cta-contact-panel {
    padding: 26px;
    border-radius: 28px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .22);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .12);
    backdrop-filter: blur(8px);
}

.cta-contact-panel-title {
    margin-bottom: 18px;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 950;
}

.cta-contact-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 13px;
}

.cta-contact-button {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 58px;
    padding: 0 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    color: var(--primary-dark);
    font-size: 16px;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 12px 26px rgba(0, 0, 0, .08);
    transition: .22s ease;
}

    .cta-contact-button:hover {
        color: var(--primary-dark);
        background: #ffffff;
        transform: translateY(-2px);
        box-shadow: 0 16px 34px rgba(0, 0, 0, .14);
    }

.cta-contact-icon {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #ffffff;
    font-size: 13px;
    line-height: 1;
    font-weight: 950;
}

.cta-contact-button--max .cta-contact-icon,
.cta-contact-button--mediator .cta-contact-icon {
    background: linear-gradient(135deg, #8f6bd0, #6f4bb8);
}

@media (max-width: 1100px) {
    .cta-worktime-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .cta-box-contacts {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .cta-contact-panel {
        padding: 22px;
    }
}

@media (max-width: 640px) {
    .cta-worktime-grid {
        gap: 14px;
        margin-top: 24px;
    }

    .cta-worktime-card {
        padding: 20px;
        border-radius: 22px;
    }

    .cta-worktime-title {
        margin-bottom: 16px;
        font-size: 19px;
    }

    .cta-info-row {
        grid-template-columns: 30px minmax(0, 1fr);
        gap: 10px;
        margin-top: 14px;
    }

    .cta-info-icon {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .cta-address-text,
    .cta-worktime-text {
        font-size: 14px;
        line-height: 1.45;
    }

    .cta-contact-button {
        min-height: 54px;
        font-size: 15px;
    }

    .cta-contact-icon {
        flex-basis: 32px;
        width: 32px;
        height: 32px;
    }
}