/* ==========================================================================
   Block: Lawyers (Адвокаты / Специалисты)
   ========================================================================== */
.lawyers-block {
    text-align: left;
}

.lawyers-block__header {
    margin-bottom: 63px;
    text-align: left;
}

.lawyers-block__badge {
    display: inline-block;
    background-color: var(--color-accent);
    color: #EFE8DA;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 12px;
    margin-bottom: 30px;
    border-radius: 0;
}

.lawyers-block__header-row {
    display: flex;
    align-items: flex-end;
    gap: 26px;
}

.lawyers-block__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 68px;
    line-height: 1.05;
    letter-spacing: 0;
    text-transform: uppercase;
    color: var(--color-dark);
    margin: 0;
    flex-shrink: 0;
}

.lawyers-block__subtitle {
    font-family: var(--font-base);
    font-size: 16px;
    line-height: 1.1;
    color: #4A443C;
    margin: 0;
    padding-bottom: 0px;
}

.lawyers-block__header-right {
    margin-left: auto;
    flex-shrink: 0;
}

.lawyers-block__all-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-dark);
    text-decoration: none;
    transition: color var(--transition-fast);
    white-space: nowrap;
    display: inline-block;
    padding-bottom: 4px;
}

.lawyers-block__all-link:hover {
    color: var(--color-accent-hover);
}

.lawyers-block__action {
    display: none;
}

.lawyers-swiper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding-bottom: 4px;
}

.lawyers-swiper .swiper-wrapper {
    display: flex;
    align-items: stretch;
    box-sizing: content-box;
}

.lawyers-swiper .swiper-slide {
    height: auto;
    flex-shrink: 0;
    box-sizing: border-box;
}

.lawyers-swiper .swiper-slide .lawyer-card {
    height: 100%;
}

/* Линия пагинации строго по ширине центральной карточки */
.lawyers-swiper__pagination-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    width: 100%;
}

.lawyers-swiper__track {
    width: calc((100% - 64px) / 3);
    height: 4px;
    background-color: #a9a9a9;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.lawyers-swiper__thumb {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 37.5%;
    background-color: var(--color-accent);
    border-radius: 2px;
    will-change: transform;
    pointer-events: none;
}

.lawyer-card {
    display: flex;
    flex-direction: column;
    text-align: left;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 769px) {
    .lawyer-card:hover {
        transform: translateY(-4px);
    }
}

.lawyer-card__media {
    width: 100%;
    margin-bottom: 25px;
    overflow: hidden;
    background-color: #dfdbd6;
}

.lawyer-card__img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.lawyer-card:hover .lawyer-card__img {
    transform: scale(1.03);
    filter: grayscale(0%);
}

.lawyer-card__name {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 24px;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--color-dark);
    margin: 0 0 18px;
    transition: color var(--transition-fast);
}

.lawyer-card:hover .lawyer-card__name {
    color: var(--color-gold, #be9456);
}

.lawyer-card__role {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 12px;
    line-height: 1.4;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.lawyer-card__desc {
    font-family: var(--font-base);
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-text-secondary);
    margin: 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
    .lawyers-block__title {
        font-size: 52px;
    }

    .lawyers-block__header-row {
        gap: 32px;
    }
}

@media (max-width: 1024px) {
    .lawyers-block__header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .lawyers-block__title {
        font-size: 44px;
    }

    .lawyers-block__subtitle {
        padding-bottom: 0;
    }

    .lawyers-block__header-right {
        margin-left: 0;
    }

    .lawyers-swiper__track {
        width: calc((100% - 24px) / 2);
    }

    .lawyers-swiper__thumb {
        width: 50%;
    }
}

@media (max-width: 768px) {
    .lawyers-block__badge {
        margin-bottom: 20px;
    }

    .lawyers-block__header {
        margin-bottom: 36px;
    }

    .lawyers-block__header-right {
        display: none;
    }

    .lawyers-block__title {
        font-size: 36px;
    }

    .lawyers-swiper__track {
        width: 140px;
    }

    .lawyers-swiper__thumb {
        width: 37.5%;
    }

    .lawyer-card__img {
        height: 450px;
    }

    .lawyers-block__action {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-top: 30px;
    }

    .lawyers-block__btn {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        height: 54px;
        background-color: #ffffff;
        color: #111111;
        font-family: var(--font-heading, "Oswald", sans-serif);
        font-weight: 600;
        font-size: 12px;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        padding: 0 20px;
        border: none;
        border-radius: 0;
        cursor: pointer;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
        transition: background-color var(--transition-fast), color var(--transition-fast);
    }

    .lawyers-block__btn:hover {
        background-color: #f7f5f2;
        color: #111111;
    }

    .lawyers-block__btn-arrow {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
        transition: transform var(--transition-fast);
    }

    .lawyers-block__btn-arrow svg {
        display: block;
        width: 12px;
        height: 7px;
    }

    .lawyers-block__btn:hover .lawyers-block__btn-arrow {
        transform: translateX(4px);
    }
}