/*=============================================
            Страница отзывов
===============================================*/

.reviews-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    margin-bottom: 0;
    font-family: 'Onest', sans-serif;
    font-size: 13px;
    color: #999999;
}

.breadcrumb-link {
    color: #777777;
    text-decoration: none;
}

.breadcrumb-link:hover {
    color: #000000;
}

.breadcrumb-separator {
    color: #cccccc;
}

.breadcrumb-current {
    color: #000000;
}

.reviews-header {
    margin-top: 28px;
    margin-bottom: 32px;
    max-width: 680px;
}

.reviews-title {
    font-family: 'Onest', sans-serif;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 400;
    color: #000000;
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}

.reviews-subtitle {
    font-family: 'Onest', sans-serif;
    font-size: clamp(15px, 1.7vw, 17px);
    font-weight: 400;
    color: #000000;
    margin: 0 0 8px;
    line-height: 1.5;
}

.reviews-description {
    font-family: 'Onest', sans-serif;
    font-size: clamp(13px, 1.5vw, 15px);
    font-weight: 400;
    color: #888888;
    margin: 0;
    line-height: 1.6;
}

/*=============================================
            Табы филиалов
===============================================*/

.reviews-tabs {
    display: inline-flex;
    gap: 4px;
    background-color: #F5F5F5;
    border-radius: 100px;
    padding: 4px;
    margin-bottom: 20px;
}

.reviews-tab {
    font-family: 'Onest', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #666666;
    background-color: transparent;
    border: none;
    border-radius: 100px;
    padding: 8px 20px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    line-height: 1.3;
}

.reviews-tab:hover {
    color: #000000;
}

.reviews-tab--active {
    background-color: #ffffff;
    color: #000000;
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.reviews-tab--active:hover {
    color: #000000;
}

/*=============================================
            Панели филиалов
===============================================*/

.reviews-panel--hidden {
    display: none;
}

/*=============================================
            Карточка филиала
===============================================*/

.branch-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 4px 20px;
    margin-bottom: 16px;
    border-bottom: 1px solid #EEEEEE;
    flex-wrap: wrap;
}

.branch-card-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    flex: 1;
    min-width: 0;
}

.branch-district-label {
    font-family: 'Onest', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #000000;
    background-color: #F0F0F0;
    border-radius: 100px;
    padding: 4px 12px;
    white-space: nowrap;
}

.branch-address {
    font-family: 'Onest', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #555555;
    margin: 0;
    line-height: 1.4;
}

.branch-card-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.branch-link {
    font-family: 'Onest', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #000000;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
}

.branch-link:hover {
    color: #555555;
}

.branch-link-arrow {
    font-size: 13px;
    color: #888888;
}

.branch-btn {
    font-family: 'Onest', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    background-color: #000000;
    border: none;
    border-radius: 100px;
    padding: 9px 20px;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.branch-btn:hover {
    opacity: 0.8;
}

/*=============================================
            Виджет отзывов
===============================================*/

.reviews-widget-wrapper {
    width: 100%;
    max-width: 760px;
    min-height: 800px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #EEEEEE;
}

.reviews-widget-iframe {
    width: 100%;
    height: 100%;
    min-height: inherit;
    border: 0;
    display: block;
}

.reviews-widget-caption {
    font-family: 'Onest', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #AAAAAA;
    text-align: center;
    margin: 12px 0 50px;
}

/*=============================================
            CTA блок
===============================================*/

.reviews-cta {
    background-color: #F5F5F5;
    border-radius: 24px;
    padding: 40px 36px;
    margin-bottom: 50px;
    text-align: center;
}

.reviews-cta-title {
    font-family: 'Onest', sans-serif;
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 600;
    color: #000000;
    margin: 0 0 12px;
}

.reviews-cta-text {
    font-family: 'Onest', sans-serif;
    font-size: clamp(15px, 1.7vw, 17px);
    font-weight: 400;
    color: #555555;
    margin: 0 0 24px;
    line-height: 1.5;
}

.reviews-cta-btn {
    display: inline-block;
    background-color: #000000;
    color: #FFFFFF;
    font-family: 'Onest', sans-serif;
    font-size: clamp(15px, 1.6vw, 17px);
    font-weight: 600;
    text-decoration: none;
    padding: 14px 36px;
    border-radius: 100px;
    transition: opacity 0.2s ease;
}

.reviews-cta-btn:hover {
    opacity: 0.8;
}

/*=============================================
            Адаптивность
===============================================*/

@media (max-width: 1024px) and (min-width: 769px) {
    .reviews-widget-wrapper {
        min-height: 720px;
    }
}

@media (max-width: 768px) {
    .reviews-header {
        margin-top: 20px;
        margin-bottom: 24px;
    }

    .reviews-tabs {
        display: flex;
        width: 100%;
    }

    .reviews-tab {
        flex: 1;
        text-align: center;
    }

    .branch-card {
        align-items: flex-start;
        gap: 16px;
        padding: 12px 4px 16px;
    }

    .branch-card-info {
        width: 100%;
    }

    .branch-card-actions {
        width: 100%;
        justify-content: space-between;
        gap: 12px;
    }

    .reviews-widget-wrapper {
        min-height: 640px;
        border-radius: 12px;
    }

    .reviews-widget-caption {
        margin-bottom: 36px;
    }

    .reviews-cta {
        padding: 28px 20px;
        border-radius: 16px;
    }

    .reviews-breadcrumb {
        margin-top: 16px;
    }
}

@media (max-width: 480px) {
    .branch-link {
        font-size: 13px;
    }

    .branch-btn {
        font-size: 13px;
        padding: 9px 18px;
    }

    .reviews-cta-btn {
        display: block;
        text-align: center;
    }
}
