:root {
    --lawyer-dark: #282626;
    --lawyer-gold: #D1AE6C;
    --lawyer-cream: #FAF4EE;
    --lawyer-text: #3a3632;
    --lawyer-muted: #756f68;
    --lawyer-border: #e8ded2;
}

body {
    color: var(--lawyer-text);
    font-family: Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1200px;
}

/* Шапка: вёрстка и отступы — style.css + responsive.css; здесь только цвета */
.top-header-area.style-one {
    background-color: var(--lawyer-cream) !important;
}

.style-one .header-info ul li,
.style-one .header-info ul li span,
.top-header-area.style-one .header-info a {
    color: var(--lawyer-dark) !important;
}

.header-area.style-one,
.header-area.style-one.sticky {
    background-color: var(--lawyer-dark) !important;
}

.header-logo .lawyer-logo {
    color: #fff;
}

.mobile-logo .lawyer-logo {
    color: var(--lawyer-dark);
}

.header-menu ul li a {
    /* color: #fff !important; */
    font-weight: 600;
}

.header-menu ul li i {
    color: #fff;
}

.header-menu ul li a:hover,
.header-menu ul li a:hover i {
    color: var(--lawyer-gold) !important;
}

.lawsera-btn a {
    color: var(--lawyer-dark) !important;
    text-transform: none;
}

.lawyer-logo {
    display: inline-flex;
    flex-direction: column;
    line-height: 1.1;
}

.lawyer-logo span {
    font-size: 18px;
    font-weight: 700;
}

.lawyer-logo small {
    color: var(--lawyer-gold);
    font-size: 9px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.lawyer-button {
    align-items: center;
    background: var(--lawyer-gold);
    border: 1px solid var(--lawyer-gold);
    color: var(--lawyer-dark);
    display: inline-flex;
    font-weight: 700;
    justify-content: center;
    min-height: 54px;
    padding: 14px 15px;
    transition: .2s ease;
}

.lawyer-button:hover {
    background: var(--lawyer-dark);
    border-color: var(--lawyer-dark);
    color: #fff;
}

.lawyer-button--small {
    min-height: 44px;
    padding: 10px 18px;
    white-space: nowrap;
}

.lawyer-button--ghost {
    background: transparent;
    margin-top: 32px;
}

.lawyer-form-button {
    background: rgba(209, 174, 108, .78);
    border: 0;
    border-radius: 999px;
    color: white;
    font-size: clamp(16px, 3vw, 16px);
    font-weight: 400;
    letter-spacing: .04em;
    /* min-height: 108px; */
    overflow: visible;
    padding: 15px 30px;
    position: relative;
    /* text-transform: uppercase; */
}



.lawyer-form-button::after {
    color: #fff;
    content: "\2192";
    font-size: 16px;
    line-height: 1;
    margin-left: 18px;
}

.lawyer-form-button:hover {
    background: #fff;
    color: var(--lawyer-dark);
}

.lawyer-form-button:hover::before {
    background: rgba(255, 255, 255, .72);
}

.lawyer-form-button:hover::after {
    color: var(--lawyer-dark);
}

.subscribe-section .form-box input,
.subscribe-section .form-box select {
    color: #fff;
}

.subscribe-section .form-box select {
    appearance: none;
    background: rgba(245, 248, 244, .05);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 40px;
    height: 74px;
    padding: 0 54px 0 30px;
    width: 100%;
}

.subscribe-section .form-box select:invalid {
    color: rgba(255, 255, 255, .78);
}

.subscribe-section .form-box select option {
    color: var(--lawyer-dark);
}

.subscribe-section .form-box--select {
    position: relative;
}

.subscribe-section .form-box--select::after {
    color: #fff;
    content: "\2304";
    font-size: 22px;
    pointer-events: none;
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-58%);
}

.subscribe-section .subscribe-field-label {
    display: block;
    font-size: clamp(14px, 2.5vw, 16px);
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 10px;
}

.subscribe-section .form-box textarea {
    background: rgba(245, 248, 244, .05);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 24px;
    box-sizing: border-box;
    color: #fff;
    display: block;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.5;
    max-height: 320px;
    min-height: 140px;
    padding: 18px 30px;
    resize: vertical;
    width: 100%;
}

.subscribe-section .form-box textarea::placeholder {
    color: rgba(245, 248, 244, .55);
    font-weight: 300;
}

.subscribe-section small {
    display: block;
    margin-top: 8px;
}

.lawyer-alert {
    background: var(--lawyer-cream);
    border-left: 4px solid var(--lawyer-gold);
    margin: 18px 0;
    padding: 16px 20px;
}

.lawyer-hero,
.lawyer-page-hero {
    background: linear-gradient(135deg, var(--lawyer-dark), #3a3530);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    padding: 110px 0;
}

.lawyer-page-hero {
    text-align: center;
}

.lawyer-hero {
    overflow: hidden;
    position: relative;
}

.lawyer-hero h1,
.lawyer-page-hero h1 {
    color: #fff;
    font-size: clamp(38px, 6vw, 60px);
    line-height: 1.08;
    margin-bottom: 26px;
}

.lawyer-hero p,
.lawyer-page-hero p {
    color: rgba(255, 255, 255, .82);
    font-size: 20px;
    margin-left: auto;
    margin-right: auto;
    max-width: 760px;
}

.lawyer-hero__lead {
    color: var(--lawyer-gold) !important;
    font-weight: 700;
}

.lawyer-hero__image-col {
    bottom: 0;
    display: flex;
    margin-top: 0;
    padding-left: 0;
    padding-right: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 41.666667%;
}

.lawyer-hero-card {
    background: var(--lawyer-cream);
    color: var(--lawyer-dark);
    padding: 46px;
}

.lawyer-hero-image {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.lawyer-hero-card strong {
    color: var(--lawyer-gold);
    display: block;
    font-size: 90px;
    line-height: 1;
}

.lawyer-hero-card span {
    display: block;
    font-size: 24px;
    font-weight: 700;
    margin: 10px 0 18px;
}

.lawyer-breadcrumbs {
    color: var(--lawyer-gold);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 18px;
}

.lawyer-section {
    padding: 95px 0;
}

.lawyer-section--soft {
    /* background: var(--lawyer-cream); */
}

.lawyer-section--accent {
    background: var(--lawyer-dark);
    color: #fff;
}

.lawyer-section-title {
    margin-bottom: 42px;
    /* max-width: 760px; */
    text-align: center;
}

.lawyer-section-title--split {
    align-items: end;
    display: flex;
    justify-content: space-between;
    max-width: none;
}

.lawyer-section-title h2,
.lawyer-section h2 {
    color: var(--lawyer-dark);
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.15;
}

.lawyer-section--accent h2 {
    color: #fff;
}

.lawyer-section-title p {
    color: var(--lawyer-muted);
    font-size: 18px;
}

.lawyer-kicker,
.lawyer-tag {
    color: var(--lawyer-gold);
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.lawyer-trust {
    background: var(--lawyer-dark);
    color: #fff;
    padding: 36px 0;
}

.lawyer-trust__grid {
    align-items: center;
    display: grid;
    gap: 24px;
    grid-template-columns: 1.2fr repeat(3, 1fr);
}

.lawyer-trust h2 {
    color: #fff;
    margin: 0;
}

.lawyer-trust strong {
    color: var(--lawyer-gold);
    display: block;
    font-size: 42px;
    line-height: 1;
}

.lawyer-card,
.lawyer-feature,
.lawyer-document {
    background: var(--lawyer-border);
    border: 1px solid var(--lawyer-border);
    height: 100%;
    padding: 32px;
}

.lawyer-gratitude-grid > [class*='col-'] {
    display: flex;
}

.lawyer-document.lawyer-gratitude-card {
    display: flex;
    flex-direction: column;
    padding: 0 0 20px;
    width: 100%;
}

.lawyer-gratitude-card__visual {
    margin: 0 0 0;
    overflow: hidden;
    width: 100%;
}

.lawyer-gratitude-card__image {
    display: block;
    height: clamp(280px, 32vw, 360px);
    object-fit: cover;
    width: 100%;
}

.lawyer-gratitude-card__logo-below {
    align-items: center;
    /* background: var(--lawyer-cream); */
    display: flex;
    justify-content: center;
    margin: 0;
    min-height: 88px;
    padding: 16px;
    width: 100%;
}

.lawyer-gratitude-card__logo-below .lawyer-gratitude-card__logo {
    /* background: #fff; */
    border-radius: 8px;
    /* box-shadow: 0 4px 14px rgb(0 0 0 / 12%); */
    display: block;
    max-height: 64px;
    max-width: 90%;
    object-fit: contain;
    padding: 10px 16px;
    position: static;
    width: auto;
}

.lawyer-card--large {
    min-height: 250px;
    padding: 48px;
}

.lawyer-card--dark {
    background: var(--lawyer-dark);
    border-color: var(--lawyer-dark);
    color: #fff;
}

.lawyer-card--dark h2,
.lawyer-card--dark h3,
.lawyer-card--dark a {
    color: #fff;
}

.lawyer-card__heading {
    align-items: center;
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.lawyer-card__heading h3 {
    margin-bottom: 0;
}

.lawyer-card__icon {
    flex-shrink: 0;
    height: 48px;
    object-fit: contain;
    width: 48px;
}

.lawyer-card--dark .lawyer-card__icon {
    filter: brightness(0) invert(1);
}

.lawyer-review-card__header {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 20px;
}

.lawyer-review-card__header .teasti-quote-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    /* Align quote graphic with FA star baseline */
    transform: translateY(-16px);
}

.lawyer-review-card__header .reviews_rating {
    display: flex;
    align-items: center;
}

.lawyer-review-card__header .testi-star--reviews {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    line-height: 1;
}

.lawyer-review-card__header .teasti-quote-icon img {
    display: block;
    height: auto;
    max-height: 36px;
    width: auto;
}

.testi-star--reviews,
.testi-star--reviews i {
    color: #d1ae6c;
}

.lawyer-review-card__photo img {
    border-radius: 50%;
    display: block;
    height: 72px;
    object-fit: cover;
    width: 72px;
}

.lawyer-review-card__footer {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.lawyer-review-card__footer-dot {
    margin-left: auto;
}

.lawyer-review-card__footer-dot img {
    display: block;
    height: auto;
    max-width: 100%;
}

.lawyer-reviews-documents__card {
    padding: 0;
}

.lawyer-reviews-documents__link {
    border-radius: 12px;
    display: block;
    line-height: 0;
    overflow: hidden;
    transition: box-shadow .2s ease, opacity .2s ease;
}

.lawyer-reviews-documents__link:hover {
    opacity: .92;
}

.lawyer-reviews-documents__image {
    display: block;
    height: auto;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
}

/* «Клиенты о нашей работе»: ряд карточек с превью, карусель и точки как в макете */
.lawyer-reviews-documents-section .lawyer-reviews-documents-carousel {
    margin: 0 auto;
}

.lawyer-reviews-documents-section .lawyer-reviews-documents__slide {
    height: 100%;
}

.lawyer-reviews-documents-section .lawyer-reviews-documents__link {
    border-radius: 28px;
    box-shadow: 0 10px 40px rgb(40 38 38 / 8%);
}

.lawyer-reviews-documents-section .lawyer-reviews-documents__link:hover {
    box-shadow: 0 14px 48px rgb(40 38 38 / 12%);
    opacity: .96;
}

.lawyer-reviews-documents-section .lawyer-reviews-documents__image {
    aspect-ratio: 3 / 4;
    border-radius: 28px;
    object-fit: cover;
}

.lawyer-reviews-documents-section .owl-stage-outer {
    padding-bottom: 4px;
}

.lawyer-reviews-documents-section .owl-dots {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    justify-content: center;
    margin-top: 28px;
}

.lawyer-reviews-documents-section .owl-dot {
    margin: 0;
}

.lawyer-reviews-documents-section .owl-dot span {
    background: var(--lawyer-gold) !important;
    border-radius: 50%;
    display: block;
    height: 10px !important;
    margin: 0 !important;
    opacity: .4;
    width: 10px !important;
}

.lawyer-reviews-documents-section .owl-dot.active span,
.lawyer-reviews-documents-section .owl-dot:hover span {
    opacity: 1;
}

.lawyer-reviews-documents-section .owl-dot.active span {
    box-shadow: 0 0 0 2px var(--lawyer-gold), 0 0 0 5px var(--lawyer-cream);
    outline: 1px solid rgb(209 174 108 / 55%);
    outline-offset: 3px;
}

.lawyer-card h3,
.lawyer-feature h3,
.lawyer-document h3 {
    color: var(--lawyer-dark);
    font-size: 24px;
    margin-bottom: 16px;
}

.lawyer-card--dark h3 {
    color: #fff;
}

.lawyer-case-card {
    overflow: hidden;
}

.lawyer-case-card__image {
    display: block;
    height: 190px;
    margin: -32px -32px 24px;
    object-fit: cover;
    width: calc(100% + 64px);
}

/* Список дел: текст слева, фото справа на всю высоту и ширину своей колонки (без изменения col-lg-6) */
[data-case-list] > [data-case-card] {
    display: flex;
}

[data-case-list] .lawyer-case-list-card {
    display: flex;
    flex: 1;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    width: 100%;
}

.lawyer-case-list-card--no-image {
    padding: 32px;
}

.lawyer-case-list-card--no-image .lawyer-case-list-card__content {
    padding: 0;
}

.lawyer-case-list-card__inner {
    align-items: stretch;
    display: flex;
    flex: 1;
    flex-direction: row;
    gap: 0;
    min-height: 0;
}

.lawyer-case-list-card__content {
    flex: 1;
    min-width: 0;
    padding: 32px;
}

.lawyer-case-list-card__media {
    align-self: stretch;
    flex: 0 0 42%;
    max-width: 48%;
    min-width: 0;
    overflow: hidden;
    position: relative;
}

.lawyer-case-list-card__img {
    display: block;
    height: 100%;
    inset: 0;
    object-fit: cover;
    position: absolute;
    width: 100%;
}

.lawyer-case-list-card--no-image .lawyer-case-list-card__inner {
    display: block;
    min-height: 0;
}

@media (max-width: 767px) {
    .lawyer-case-list-card__inner {
        flex-direction: column;
    }

    .lawyer-case-list-card__content {
        padding: clamp(20px, 5vw, 32px);
    }

    .lawyer-case-list-card__media {
        flex: none;
        max-width: none;
        min-height: 220px;
        order: -1;
        width: 100%;
    }
}

.lawyer-section .row.g-4 > [class*='col-'] {
    display: flex;
}

.lawyer-feature--cream {
    border: 0;
    border-radius: 16px;
    background: rgb(250, 244, 238);
    display: flex;
    flex-direction: column;
    overflow: visible;
    padding: 42px 24px 28px;
    position: relative;
    width: 100%;
}

.lawyer-feature--cream h3 {
    color: #173f3a;
    flex-shrink: 0;
    font-size: 18px;
    line-height: 1.25;
    margin-bottom: 18px;
    min-height: calc(1.25em * 2);
    text-transform: uppercase;
}

.lawyer-feature--cream p {
    color: var(--lawyer-muted);
    margin-bottom: 0;
    /* margin-top: auto; */
}

.lawyer-feature__icon {
    align-items: center;
    background: var(--lawyer-gold);
    border-radius: 50%;
    display: flex;
    height: 58px;
    justify-content: center;
    left: 80%;
    padding: 14px;
    position: absolute;
    top: -29px;
    transform: translateX(-50%);
    width: 58px;
}

.lawyer-feature__icon img {
    display: block;
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.lawyer-feature__image {
    border-radius: 12px;
    display: block;
    flex-shrink: 0;
    height: 118px;
    margin: 0 0 22px;
    object-fit: cover;
    width: 100%;
}

.lawyer-service-card {
    display: flex;
    gap: 24px;
    justify-content: space-between;
}

.lawyer-service-card--has-media {
    align-items: stretch;
}

.lawyer-service-card__media {
    align-self: stretch;
    flex-shrink: 0;
    max-width: 280px;
    min-height: 0;
    overflow: hidden;
    position: relative;
    width: 38%;
}

/* Фото на всю высоту слева: выводим из-под padding карточки (32px); скругление только у этого варианта */
.lawyer-card.lawyer-service-card--has-media .lawyer-service-card__media,
.lawyer-feature.lawyer-service-card--has-media .lawyer-service-card__media,
.lawyer-document.lawyer-service-card--has-media .lawyer-service-card__media {
    /* border-radius: 0 12px 12px 0; */
    margin-bottom: -32px;
    margin-left: -32px;
    margin-top: -32px;
}

.lawyer-service-card__media img {
    display: block;
    inset: 0;
    object-fit: cover;
    position: absolute;
    width: 100%;
    height: 100%;
}

.lawyer-service-card__body {
    flex: 1;
    min-width: 0;
}

.lawyer-service-card__heading {
    align-items: center;
    display: flex;
    gap: 14px;
    margin-bottom: 12px;
}

.lawyer-service-card__heading h3 {
    margin-bottom: 0;
}

.lawyer-service-card__icon {
    flex-shrink: 0;
    height: 40px;
    object-fit: contain;
    width: 40px;
}

.lawyer-service-card__body > h3 {
    margin-bottom: 12px;
}

.lawyer-list {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
}

.lawyer-list li {
    padding: 8px 0 8px 24px;
    position: relative;
}

.lawyer-list li::before {
    color: var(--lawyer-gold);
    content: "•";
    left: 0;
    position: absolute;
}

.lawyer-link {
    align-items: center;
    color: var(--lawyer-gold);
    display: inline-flex;
    gap: 14px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.lawyer-link::before {
    background: currentColor;
    content: "";
    display: inline-block;
    height: 1px;
    width: 70px;
}

.lawyer-link::after {
    content: "\2192";
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    position: relative;
    top: -1px;
}

.lawyer-link--right {
    display: flex;
    justify-content: flex-end;
}

.lawyer-logo-grid,
.lawyer-client-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(4, 1fr);
}

.lawyer-logo-card {
    align-items: center;
    background: #fff;
    /* border: 1px solid var(--lawyer-border); */
    display: flex;
    justify-content: center;
    min-height: 110px;
    padding: 20px;
}

.lawyer-logo-card img {
    display: block;
    max-height: 72px;
    max-width: 100%;
    object-fit: contain;
}

.lawyer-client-grid {
    grid-template-columns: repeat(3, 1fr);
}

.lawyer-steps {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(5, 1fr);
}

.lawyer-steps div {
    background: #fff;
    border: 1px solid var(--lawyer-border);
    padding: 24px;
}

.lawyer-steps span {
    color: var(--lawyer-gold);
    font-weight: 800;
}

.lawyer-work-visual-section {
    background: #fff;
}

.lawyer-work-visual {
    align-items: center;
    display: grid;
    gap: clamp(32px, 6vw, 82px);
    grid-template-columns: minmax(260px, 1fr) minmax(300px, 1.05fr) minmax(180px, .58fr);
}

.lawyer-work-visual--no-left {
    grid-template-columns: minmax(300px, 1fr) minmax(180px, .58fr);
}

.lawyer-work-visual--no-right {
    grid-template-columns: minmax(260px, 1fr) minmax(300px, 1.05fr);
}

.lawyer-work-visual--no-left.lawyer-work-visual--no-right {
    grid-template-columns: minmax(0, 760px);
    justify-content: center;
}

.lawyer-work-visual__image img {
    display: block;
    object-fit: cover;
    width: 100%;
}

.lawyer-work-visual__image--left img {
    aspect-ratio: 4 / 3;
    min-height: 330px;
}

/* Только страница «О фирме»: естественные пропорции левого фото без 4:3 */
.lawyer-work-visual-section--about .lawyer-work-visual__image--left img {
    aspect-ratio: unset;
    height: auto;
    min-height: 0;
}

.lawyer-work-visual__image--right {
    align-self: end;
}

.lawyer-work-visual__image--right img {
    aspect-ratio: 4 / 5;
    min-height: 240px;
}

/* Страница «О фирме»: правое фото квадрат 1:1 и колонка чуть ниже */
.lawyer-work-visual-section--about .lawyer-work-visual__image--right {
    margin-top: 20px;
}

.lawyer-work-visual-section--about .lawyer-work-visual__image--right img {
    aspect-ratio: 5 / 5;
    min-height: 0;
}

.lawyer-work-visual__content h2 {
    color: #0b352f;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.15;
    margin-bottom: 38px;
}

.lawyer-work-visual__text {
    color: var(--lawyer-muted);
    font-size: 18px;
    line-height: 1.65;
    margin: 0;
}

.lawyer-work-visual__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lawyer-work-visual__list li {
    color: var(--lawyer-muted);
    font-weight: 700;
    padding: 0 0 18px 30px;
    position: relative;
}

.lawyer-work-visual__list li::before {
    align-items: center;
    border: 1px solid var(--lawyer-gold);
    color: var(--lawyer-gold);
    content: "\2713";
    display: flex;
    font-size: 10px;
    height: 14px;
    justify-content: center;
    left: 0;
    line-height: 1;
    position: absolute;
    top: 4px;
    width: 14px;
}

/* Блок команды на странице «О фирме» */
.lawyer-team-about {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin: 0 auto;
    max-width: 960px;
}

.lawyer-team-about-card {
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--lawyer-border);
    border-radius: 16px;
    box-shadow: 0 6px 28px rgb(40 38 38 / 6%);
    display: flex;
    overflow: hidden;
}

.lawyer-team-about-card--no-photo .lawyer-team-about-card__body {
    padding: clamp(28px, 4vw, 44px);
}

.lawyer-team-about-card__photo {
    flex: 0 0 clamp(220px, 32vw, 280px);
    line-height: 0;
    min-height: 280px;
}

.lawyer-team-about-card__photo img {
    display: block;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    width: 100%;
}

.lawyer-team-about-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    padding: clamp(28px, 5vw, 48px);
}

.lawyer-team-about-card__role {
    color: #0b352f;
    font-size: clamp(22px, 2.5vw, 28px);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 10px;
}

.lawyer-team-about-card__name {
    color: var(--lawyer-dark);
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 18px;
}

.lawyer-team-about-card__text {
    color: var(--lawyer-muted);
    font-size: 17px;
    line-height: 1.65;
    margin: 0;
}

.lawyer-team-about-card__html {
    color: var(--lawyer-muted);
    font-size: 17px;
    line-height: 1.65;
    margin-top: 4px;
}

.lawyer-team-about-card__html > *:first-child {
    margin-top: 0;
}

.lawyer-team-about-card__html > *:last-child {
    margin-bottom: 0;
}

.lawyer-team-about-card__html p {
    margin: 0 0 14px;
}

.lawyer-team-about-card__html ul,
.lawyer-team-about-card__html ol {
    margin: 0 0 14px;
    padding-left: 1.25em;
}

.lawyer-team-about-card__html ul {
    list-style: disc;
}

.lawyer-team-about-card__html ol {
    list-style: decimal;
}

.lawyer-team-about-card__html a {
    color: var(--lawyer-gold);
    font-weight: 600;
}

.lawyer-team-about-card__html blockquote {
    border-left: 3px solid var(--lawyer-border);
    color: var(--lawyer-muted);
    margin: 0 0 14px;
    padding-left: 16px;
}

@media (max-width: 767px) {
    .lawyer-team-about-card {
        flex-direction: column;
    }

    .lawyer-team-about-card__photo {
        flex: none;
        max-height: none;
        min-height: 0;
        width: 100%;
    }

    .lawyer-team-about-card__photo img {
        aspect-ratio: 4 / 3;
        min-height: 220px;
    }
}

.service-area.style-one .row > [class*="col-"] {
    display: flex;
}

.service-area.style-one .single-service-box {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.service-area.style-one .service-content {
    flex: 1;
    margin-top: 20px;
}

.service-area.style-one .service-icon-arrow {
    margin-top: auto;
}

.lawyer-testimonials {
    padding: 95px 0;
}

.lawyer-testimonials__heading {
    align-items: center;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
}

.lawyer-testimonials__heading .section_title {
    grid-column: 2;
    text-align: center;
}

.lawyer-testimonials__heading .section_title h1 {
    margin: 0;
}

.lawyer-testimonials__heading .lawyer-button {
    grid-column: 3;
    justify-self: end;
}

.lawyer-testimonials .owl-stage {
    display: flex;
}

.lawyer-testimonials .owl-item {
    display: flex;
    padding: 0 12px;
}

.lawyer-testimonials .owl-stage-outer {
    margin: 0 -12px;
}

.lawyer-testimonials .owl-item > .col-lg-12,
.lawyer-testimonials .testimonial-item-box,
.lawyer-testimonials .testi-box-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.lawyer-testimonials .testimonial-item-box {
    height: 100%;
}

.lawyer-testimonials .testi-box-inner {
    flex: 1;
}

.lawyer-testimonials .testi-author {
    margin-top: auto;
}

.lawyer-testimonials .teasti-quote-icon {
    align-items: center;
    background: #fff;
    border-radius: 50%;
    color: var(--lawyer-gold);
    display: flex;
    font-size: 28px;
    height: 58px;
    justify-content: center;
    width: 58px;
}

.lawyer-testimonials .author-thumb {
    align-items: center;
    background: var(--lawyer-gold);
    border-radius: 50%;
    color: #fff;
    display: flex;
    flex: 0 0 70px;
    font-size: 28px;
    font-weight: 700;
    height: 70px;
    justify-content: center;
    overflow: hidden;
    width: 70px;
}

.lawyer-testimonials .author-thumb img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.lawyer-wide-text,
.lawyer-case-body {
    font-size: 20px;
    max-width: 900px;
}

.lawyer-case-body--rich .lawyer-case-body__html h2 {
    font-size: 1.35em;
    margin: 1.25em 0 0.5em;
}

.lawyer-case-body--rich .lawyer-case-body__html h2:first-child {
    margin-top: 0;
}

.lawyer-case-body--rich .lawyer-case-body__html p,
.lawyer-case-body--rich .lawyer-case-body__html ul,
.lawyer-case-body--rich .lawyer-case-body__html ol {
    margin: 0 0 1em;
}

.lawyer-case-list-card__date {
    color: rgba(0, 52, 40, 0.65);
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Страница кейса: основная колонка + сайдбар «Смотрите также» */
.lawyer-case-detail-main .lawyer-case-body {
    max-width: none;
}

.lawyer-case-detail-main__cover {
    border-radius: 16px;
    box-shadow: 0 12px 40px rgb(40 38 38 / 8%);
    margin: 0 0 clamp(24px, 4vw, 36px);
    overflow: hidden;
}

.lawyer-case-detail-main__cover-img {
    display: block;
    height: auto;
    vertical-align: middle;
    width: 100%;
}

.lawyer-case-sidebar {
    background: var(--lawyer-cream);
    border: 1px solid var(--lawyer-border);
    border-radius: 16px;
    box-shadow: 0 8px 28px rgb(40 38 38 / 6%);
    padding: clamp(24px, 4vw, 32px);
}

@media (min-width: 992px) {
    .lawyer-case-sidebar {
        position: sticky;
        top: 24px;
    }
}

.lawyer-case-sidebar__heading {
    color: var(--lawyer-dark);
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: clamp(1.2rem, 2.2vw, 1.45rem);
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 18px;
    padding-bottom: 14px;
    position: relative;
}

.lawyer-case-sidebar__heading::after {
    background: var(--lawyer-gold);
    bottom: 0;
    content: '';
    height: 3px;
    left: 0;
    position: absolute;
    width: 48px;
}

.lawyer-case-sidebar-posts {
    display: flex;
    flex-direction: column;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.lawyer-case-sidebar-post {
    margin: 0;
}

.lawyer-case-sidebar-post__link {
    align-items: flex-start;
    color: inherit;
    display: flex;
    gap: 14px;
    outline-offset: 2px;
    text-decoration: none;
}

.lawyer-case-sidebar-post__link:focus-visible .lawyer-case-sidebar-post__title,
.lawyer-case-sidebar-post__link:hover .lawyer-case-sidebar-post__title {
    color: var(--lawyer-gold);
}

.lawyer-case-sidebar-post__thumb {
    aspect-ratio: 1;
    border-radius: 12px;
    flex-shrink: 0;
    overflow: hidden;
    width: 88px;
}

.lawyer-case-sidebar-post__thumb img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.lawyer-case-sidebar-post__thumb--placeholder {
    background: linear-gradient(145deg, var(--lawyer-cream) 0%, var(--lawyer-border) 100%);
    display: block;
    min-height: 88px;
}

.lawyer-case-sidebar-post__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.lawyer-case-sidebar-post__title {
    color: var(--lawyer-dark);
    display: block;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
}

.lawyer-case-sidebar-post__date {
    color: var(--lawyer-muted);
    font-size: 0.875rem;
}

.lawyer-form {
    background: #fff;
    color: var(--lawyer-dark);
    padding: 36px;
}

.lawyer-form label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
}

.lawyer-form input,
.lawyer-form textarea {
    border: 1px solid var(--lawyer-border);
    min-height: 54px;
    padding: 12px 16px;
    width: 100%;
}

.lawyer-form small {
    color: #b42318;
}

.lawyer-checkbox {
    align-items: flex-start;
    display: flex !important;
    gap: 12px;
}

.lawyer-checkbox input {
    height: 18px;
    min-height: auto;
    margin-top: 3px;
    width: 18px;
}

.lawyer-call-now a {
    color: var(--lawyer-gold);
    font-weight: 800;
}

/* Та же форма, что в partials/form, но на светлом .form-bg (страница контактов) */
.contact-area.style-two .row.form-bg .lawyer-consultation-form--contact .form-box input,
.contact-area.style-two .row.form-bg .lawyer-consultation-form--contact .form-box select {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    border: 1px solid var(--lawyer-border);
    border-radius: 40px;
    border-bottom: 0 none;
    box-sizing: border-box;
    color: var(--lawyer-dark);
    height: 74px;
    margin-bottom: 0;
    outline: 0;
    padding: 0 30px;
    width: 100%;
}

.contact-area.style-two .row.form-bg .lawyer-consultation-form--contact .form-box input::placeholder {
    color: var(--lawyer-muted);
    opacity: 0.92;
}

.contact-area.style-two .row.form-bg .lawyer-consultation-form--contact .form-box select {
    appearance: none;
    padding-right: 48px;
}

.contact-area.style-two .row.form-bg .lawyer-consultation-form--contact .form-box select option {
    color: var(--lawyer-dark);
}

.contact-area.style-two .row.form-bg .lawyer-consultation-form--contact .form-box select:invalid {
    color: var(--lawyer-muted);
}

.contact-area.style-two .row.form-bg .lawyer-consultation-form--contact .form-box--select {
    position: relative;
}

.contact-area.style-two .row.form-bg .lawyer-consultation-form--contact .form-box--select::after {
    color: var(--lawyer-dark);
    content: "\2304";
    font-size: 22px;
    opacity: .5;
    pointer-events: none;
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-58%);
}

.contact-area.style-two .row.form-bg .lawyer-consultation-form--contact small {
    color: #b42318;
    display: block;
    margin-top: 6px;
}

.contact-area.style-two .row.form-bg .lawyer-consultation-form--contact .lawyer-checkbox span {
    color: var(--lawyer-text);
}

.contact-area.style-two .row.form-bg .lawyer-consultation-form--contact .lawyer-call-now--contact {
    color: var(--lawyer-muted);
    margin-bottom: 0;
    margin-top: 12px;
}

.lawyer-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 34px;
}

.lawyer-filter button {
    background: #fff;
    border: 1px solid var(--lawyer-border);
    color: var(--lawyer-dark);
    padding: 10px 18px;
}

.lawyer-filter button.active {
    background: var(--lawyer-dark);
    border-color: var(--lawyer-dark);
    color: #fff;
}

.lawyer-map {
    padding: 0 0 95px;
}

.lawyer-map__box iframe {
    border: 0;
    height: 420px;
    width: 100%;
}

.lawyer-footer .lawyer-logo {
    color: #fff;
}

.lawyer-footer {
    background: var(--lawyer-dark);
    color: rgba(255, 255, 255, .75);
    padding: 70px 0 28px;
}

.lawyer-footer h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 18px;
}

.lawyer-footer a {
    color: rgba(255, 255, 255, .75);
    display: block;
    margin-bottom: 10px;
}

.lawyer-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .14);
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
    margin-top: 48px;
    padding-top: 24px;
}
.color-section{
    background-color: rgb(250, 244, 238);;
}
[data-show-more-item].is-hidden,
[data-case-card].is-hidden {
    display: none;
}

@media (max-width: 991px) {
    .lawyer-hero__image-col {
        margin-top: 30px;
        padding-left: calc(var(--bs-gutter-x) * .5);
        padding-right: calc(var(--bs-gutter-x) * .5);
        position: static;
        width: 100%;
    }

    .lawyer-hero-image {
        min-height: 360px;
    }

    .lawyer-trust__grid,
    .lawyer-logo-grid,
    .lawyer-client-grid,
    .lawyer-steps {
        grid-template-columns: 1fr 1fr;
    }

    .lawyer-work-visual,
    .lawyer-work-visual--no-left,
    .lawyer-work-visual--no-right,
    .lawyer-work-visual--no-left.lawyer-work-visual--no-right {
        grid-template-columns: 1fr;
    }

    .lawyer-work-visual__image--right {
        max-width: 360px;
    }
}

@media (max-width: 575px) {
    .lawyer-hero,
    .lawyer-page-hero,
    .lawyer-section {
        padding: 64px 0;
    }

    .lawyer-trust__grid,
    .lawyer-logo-grid,
    .lawyer-client-grid,
    .lawyer-steps {
        grid-template-columns: 1fr;
    }

    .lawyer-gratitude-card__image {
        height: 220px;
    }

    .lawyer-section-title--split,
    .lawyer-service-card {
        display: block;
    }

    .lawyer-card.lawyer-service-card--has-media .lawyer-service-card__media,
    .lawyer-feature.lawyer-service-card--has-media .lawyer-service-card__media,
    .lawyer-document.lawyer-service-card--has-media .lawyer-service-card__media {
        aspect-ratio: 16 / 10;
        border-radius: 0 0 12px 12px;
        margin-bottom: 20px;
        margin-left: -32px;
        margin-right: -32px;
        margin-top: -32px;
        max-width: none;
        width: calc(100% + 64px);
    }

    .lawyer-service-card__media img {
        max-height: none;
    }

    .lawyer-testimonials__heading {
        align-items: flex-start;
        display: flex;
        flex-direction: column;
    }

    .lawyer-work-visual__image--left img,
    .lawyer-work-visual__image--right img {
        min-height: 240px;
    }

    .lawyer-work-visual-section--about .lawyer-work-visual__image--left img {
        min-height: unset;
    }

    .lawyer-work-visual-section--about .lawyer-work-visual__image--right img {
        min-height: unset;
    }
}
.db{
    display: block;
}
.white-text{
    color: #fff;
}
.mb-20{
    margin-bottom: 20px;
}
.df{
    display: flex;
    align-items: center;
    gap: 12px;
}
