

/* Start:/local/templates/generator/components/bitrix/news.list/lawyers_credit_list/style.css?178471520315826*/
/* ======================================== */
/* ЮРИСТ ПО КРЕДИТАМ                        */
/* ======================================== */
.lawyers-credit-page {
    --lawyers-credit-green: #42ae45;
    --lawyers-credit-dark: #282828;
    --lawyers-credit-gray: #757778;
    --lawyers-credit-border: #e5e7eb;
    font-family: 'Inter', sans-serif;
    color: var(--lawyers-credit-dark);
    line-height: 1.4;
    margin-bottom: 40px;
}

.lawyers-credit-page__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.lawyers-credit-page__title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
    font-family: 'Geometria', sans-serif;
    color: var(--lawyers-credit-dark);
}

/* ======================================== */
/* ВЫДЕЛЕННЫЙ ЮРИСТ (ПЕРВЫЙ ЭКРАН)          */
/* ======================================== */
.lawyers-credit-featured {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    border: 1px solid var(--lawyers-credit-border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    margin-bottom: 40px;
}

.lawyers-credit-featured__photo {
    position: relative;
    width: 100%;
    max-width: 320px;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 12px;
    background: #f0f1f2;
    justify-self: center;
}

.lawyers-credit-featured__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lawyers-credit-featured__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8e9ea;
}

.lawyers-credit-featured__placeholder svg {
    width: 50%;
    height: auto;
    max-width: 80px;
}

.lawyers-credit-featured__info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lawyers-credit-featured__name {
    font-family: 'Geometria', sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: var(--lawyers-credit-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.lawyers-credit-featured__name:hover {
    color: var(--lawyers-credit-green);
}

.lawyers-credit-featured__position {
    font-size: 16px;
    color: var(--lawyers-credit-gray);
}

.lawyers-credit-featured__desc {
    font-size: 15px;
    line-height: 1.6;
    color: var(--lawyers-credit-dark);
}

.lawyers-credit-featured__desc p {
    margin: 0 0 12px;
}

.lawyers-credit-featured__desc p:last-child {
    margin-bottom: 0;
}

.lawyers-credit-featured .lawyers-credit-btn {
    align-self: flex-start;
    margin-top: 8px;
}

@media (max-width: 768px) {
    .lawyers-credit-featured {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 20px;
    }

    .lawyers-credit-featured__photo {
        max-width: 250px;
    }

    .lawyers-credit-featured__name {
        font-size: 24px;
    }
}

/* ======================================== */
/* УСЛУГИ                                    */
/* ======================================== */
.lawyers-credit-services {
    margin-bottom: 40px;
}

.lawyers-credit-services__title {
    font-family: 'Geometria', sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: var(--lawyers-credit-dark);
    margin: 0 0 24px;
}

.lawyers-credit-services__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.lawyers-credit-services__card {
    background: #fff;
    border-radius: 12px;
    padding: 24px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--lawyers-credit-border);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lawyers-credit-services__card-title {
    font-family: 'Geometria', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--lawyers-credit-dark);
    margin: 0;
}

.lawyers-credit-services__card-desc {
    font-size: 14px;
    color: var(--lawyers-credit-gray);
    line-height: 1.5;
    margin: 0;
    flex: 1;
}

.lawyers-credit-services__card-price {
    font-weight: 700;
    font-size: 20px;
    color: var(--lawyers-credit-green);
}

@media (max-width: 1024px) {
    .lawyers-credit-services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .lawyers-credit-services__title {
        font-size: 24px;
    }

    .lawyers-credit-services__grid {
        grid-template-columns: 1fr;
    }
}

/* ======================================== */
/* ЛИСТИНГ ОСТАЛЬНЫХ ЮРИСТОВ                 */
/* ======================================== */
.lawyers-credit-team {
    margin-bottom: 40px;
}

.lawyers-credit-team__title {
    font-family: 'Geometria', sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: var(--lawyers-credit-dark);
    margin: 0 0 24px;
}

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

.lawyers-credit-card {
    background: #fff;
    border-radius: 12px;
    height: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
    box-sizing: border-box;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.lawyers-credit-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.lawyers-credit-card__photo {
    position: relative;
    width: 100%;
    padding-bottom: 130%;
    overflow: hidden;
    background: #f0f1f2;
    flex-shrink: 0;
}

.lawyers-credit-card__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lawyers-credit-card__placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8e9ea;
}

.lawyers-credit-card__placeholder svg {
    width: 50%;
    height: auto;
    max-width: 80px;
}

.lawyers-credit-card__info {
    padding: 16px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.lawyers-credit-card__name {
    font-weight: 700;
    font-size: 18px;
    line-height: 1.4;
    color: var(--lawyers-credit-dark);
    font-family: 'Geometria', sans-serif;
}

.lawyers-credit-card__position {
    font-weight: normal;
    font-size: 14px;
    line-height: 1.4;
    color: var(--lawyers-credit-gray);
}

@media (max-width: 1024px) {
    .lawyers-credit-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .lawyers-credit-team__title {
        font-size: 24px;
    }

    .lawyers-credit-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .lawyers-credit-grid {
        grid-template-columns: 1fr;
    }
}

/* ======================================== */
/* ОФИСЫ В ГОРОДЕ                            */
/* ======================================== */
.lawyers-credit-offices {
    margin-bottom: 40px;
}

.lawyers-credit-offices__title {
    font-family: 'Geometria', sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: var(--lawyers-credit-dark);
    margin: 0 0 24px;
}

.lawyers-credit-offices__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.lawyers-credit-office-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px 24px;
    border: 1px solid var(--lawyers-credit-border);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lawyers-credit-office-card__address {
    font-size: 18px;
    font-weight: 700;
    color: var(--lawyers-credit-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.lawyers-credit-office-card__address:hover {
    color: var(--lawyers-credit-green);
}

.lawyers-credit-office-card__time {
    font-size: 14px;
    color: var(--lawyers-credit-gray);
    margin: 0;
}

.lawyers-credit-office-card__phone {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.lawyers-credit-office-card__phone a {
    color: var(--lawyers-credit-green);
    text-decoration: none;
}

.lawyers-credit-office-card__phone a:hover {
    text-decoration: underline;
}

.lawyers-credit-office-card__legal {
    font-size: 12px;
    color: #999;
    margin: 0;
}

@media (max-width: 768px) {
    .lawyers-credit-offices__title {
        font-size: 24px;
    }

    .lawyers-credit-offices__grid {
        grid-template-columns: 1fr;
    }
}

/* ======================================== */
/* ФОРМА ОБРАТНОЙ СВЯЗИ                      */
/* ======================================== */
.lawyers-credit-form {
    padding: 32px 24px;
    background: #f7f7f7;
    border-radius: 12px;
}

.lawyers-credit-form__title {
    font-family: 'Geometria', sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: var(--lawyers-credit-dark);
    margin: 0 0 20px;
    text-align: center;
}

@media (max-width: 768px) {
    .lawyers-credit-form__title {
        font-size: 24px;
    }
}

/* ======================================== */
/* КНОПКА                                    */
/* ======================================== */
.lawyers-credit-btn {
    display: inline-block;
    background: var(--lawyers-credit-green);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
}

.lawyers-credit-btn:hover {
    background: #359838;
}

/* ======================================== */
/* МОДАЛЬНОЕ ОКНО                           */
/* ======================================== */
.lawyers-credit-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.lawyers-credit-popup.open {
    display: block;
}

.lawyers-credit-popup__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.lawyers-credit-popup__window {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 12px;
    padding: 32px 24px;
    max-width: 480px;
    width: calc(100% - 32px);
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.lawyers-credit-popup__close {
    position: absolute;
    top: 12px;
    right: 12px;
    cursor: pointer;
    color: #999;
    background: none;
    border: none;
    padding: 4px;
    line-height: 0;
    transition: color 0.2s;
}

.lawyers-credit-popup__close:hover {
    color: #333;
}

.lawyers-credit-popup__title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--lawyers-credit-dark);
    font-family: 'Geometria', sans-serif;
}

.lawyers-credit-popup__text {
    font-size: 15px;
    color: #666;
    margin: 0 0 20px;
}

/* ======================================== */
/* СТИЛИ ФОРМЫ (city-form)                   */
/* ======================================== */
.city-input {
    width: 100%;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 14px 16px;
    font-size: 14px;
    height: 48px;
    font-family: 'Inter', sans-serif;
    color: #282828;
    transition: all 0.3s ease;
    outline: none;
    margin-bottom: 12px;
}

.city-input:focus {
    border-color: #42ae45;
}

.city-btn {
    display: inline-block;
    border: none;
    cursor: pointer;
    padding: 10px 24px;
    border-radius: 16px;
    color: #fff !important;
    font-family: GeologicaRoman;
    font-weight: 700;
    transition: background .3s, color .3s;
    text-align: center;
    font-size: 16px;
    text-decoration: none;
    background-color: #42ae45;
}

.city-btn:hover {
    background-color: #348a38;
    color: #fff;
}

.city-btn--full {
    width: 100% !important;
}

.city-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 8px;
}

.city-checkbox input {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    accent-color: #42ae45;
    flex-shrink: 0;
    margin-top: 2px;
}

.city-checkbox label {
    font-size: 12px;
    line-height: 1.4;
    color: #282828;
}

.city-form .city-input {
    width: 100% !important;
    margin-bottom: 12px !important;
}

/* ======================================== */
/* ОШИБКА ЧЕКБОКСА И УВЕДОМЛЕНИЕ (toast)    */
/* ======================================== */
.city-checkbox.has-error {
    border-color: #e74c3c !important;
    background-color: rgba(231, 76, 60, 0.05);
    animation: city-shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
    border-radius: 4px;
    padding: 8px;
    border: 1px solid #e74c3c;
}

@keyframes city-shake {
    10%, 90% { transform: translate3d(-1px, 0, 0); }
    20%, 80% { transform: translate3d(2px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
    40%, 60% { transform: translate3d(4px, 0, 0); }
}

.city-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    align-items: center;
    background-color: #fff;
    border-left: 4px solid #e74c3c;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 4px;
    padding: 16px 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: all 0.3s cubic-bezier(0.68,-0.55,0.27,1.55);
}

.city-toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.city-toast__content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.city-toast__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: #e74c3c;
    color: #fff;
    border-radius: 50%;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
}

.city-toast__text {
    color: #333;
    font-size: 14px;
    line-height: 1.4;
}

@media (max-width: 480px) {
    .city-toast {
        top: 10px;
        right: 10px;
        left: 10px;
        transform: translateY(-100%);
    }
    .city-toast.is-visible {
        transform: translateY(0);
    }
}

/* ======================================== */
/* АДАПТИВ                                   */
/* ======================================== */
@media (max-width: 768px) {
    .lawyers-credit-page__title {
        font-size: 26px;
    }

    .lawyers-credit-card__info {
        padding: 12px 14px 16px;
    }

    .lawyers-credit-card__name {
        font-size: 16px;
    }

    .lawyers-credit-card__position {
        font-size: 13px;
    }
}

/* ТЕГИ-ССЫЛКИ */
.lawyers-credit-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}
.lawyers-credit-tag {
    display: inline-block;
    padding: 10px 20px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    color: var(--lawyers-credit-dark);
    text-decoration: none;
    transition: all 0.2s ease;
}
.lawyers-credit-tag:hover {
    background: #e8f5e9;
    border-color: var(--lawyers-credit-green);
    color: var(--lawyers-credit-green);
}
/* ЗАВЕРШЁННЫЕ ДЕЛА */
.lawyers-credit-cases { margin-bottom: 40px; }
.lawyers-credit-cases__title {
    font-family: 'Geometria', sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: var(--lawyers-credit-dark);
    margin: 0 0 24px;
}
@media (max-width: 768px) {
    .lawyers-credit-tags { gap: 8px; }
    .lawyers-credit-tag { padding: 8px 16px; font-size: 14px; }
    .lawyers-credit-cases__title { font-size: 24px; }
}
/* End */


/* Start:/local/templates/generator/components/bitrix/news.list/cases_table/style.css?17830085275679*/
.cases-table-wrapper {
    --cases-green: #42ae45;
    --cases-dark: #282828;
    --cases-gray: #757778;
    --cases-border: #e5e7eb;
    font-family: 'Inter', sans-serif;
    color: var(--cases-dark);
    line-height: 1.4;
    margin-bottom: 0;
}

.cases-table {
    width: 100%;
}

.cases-table__row {
    display: flex;
    align-items: center;
    padding: 14px 0;
}
.cases-table__row + .cases-table__row {
    border-top: 1px solid var(--cases-border);
}

.cases-table__cell {
    font-size: 14px;
}

.cases-table__th {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--cases-gray);
    font-weight: 600;
    white-space: nowrap;
}

/* Ширины колонок */
.cases-table__cell--start { width: 130px; flex-shrink: 0; }
.cases-table__cell--progress {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    overflow: hidden;
}
.cases-table__cell--finish { width: 120px; flex-shrink: 0; text-align: right; }
.cases-table__cell--sum { width: 160px; flex-shrink: 0; text-align: right; font-weight: 700; }
.cases-table__cell--case { width: 150px; flex-shrink: 0; text-align: right; }
.cases-table__cell--link { width: 140px; flex-shrink: 0; text-align: right; }

/* Десктопная стрелка (псевдоэлементы) */
.cases-table__row:not(.cases-table__row--header) .cases-table__cell--progress::before {
    content: '';
    position: absolute;
    left: 0;
    right: 6px;
    top: 50%;
    height: 2px;
    background: var(--cases-green);
    transform: translateY(-50%);
}

.cases-table__row:not(.cases-table__row--header) .cases-table__cell--progress::after {
    content: '';
    position: absolute;
    right: 6px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-right: 2px solid var(--cases-green);
    border-bottom: 2px solid var(--cases-green);
    transform: translateY(-50%) rotate(-45deg);
}

.cases-table__duration {
    position: relative;
    z-index: 1;
    background: #fff;
    padding: 0 12px;
    font-size: 13px;
    color: var(--cases-green);
    font-weight: 500;
    white-space: nowrap;
}

/* Линии-спаны (по умолчанию скрыты, показываются на мобильных) */
.cases-table__line--mobile {
    display: none;
}

/* Ссылка "Смотреть дело" */
.cases-table__cell--link a {
    color: var(--cases-green);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.cases-table__cell--link a::before {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2342ae45' stroke-width='2'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3C/svg%3E") center/contain no-repeat;
}
.cases-table__cell--link a:hover { opacity: 0.7; }

/* Кнопка "Смотреть еще" */
.cases-table__more {
    margin-top: 24px;
    text-align: center;
}
.cases-table__more-btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--cases-green);
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.2s;
}
.cases-table__more-btn:hover {
    background: #359838;
    color: #fff;
}

/* Планшеты: скрываем длительность */
@media (max-width: 1024px) {
    .cases-table__cell--progress { display: none; }
}

/* Мобильные */
@media (max-width: 768px) {
    .cases-table__cell--progress {
        display: flex;
        flex: auto;
        width: 100%;
        justify-content: flex-start;
        padding: 4px 0;
    }

    .cases-table__row:not(.cases-table__row--header) .cases-table__cell--progress::before,
    .cases-table__row:not(.cases-table__row--header) .cases-table__cell--progress::after {
        display: none;
    }

    .cases-table__line--mobile {
        display: block;
        height: 2px;
        background: var(--cases-green);
        width: 30px;
        flex-shrink: 0;
        border-radius: 1px;
    }

    .cases-table__line--arrow {
        position: relative;
    }

    .cases-table__line--arrow::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%) rotate(-45deg);
        width: 7px;
        height: 7px;
        border-right: 2px solid var(--cases-green);
        border-bottom: 2px solid var(--cases-green);
    }

    .cases-table__row--header {
        display: none;
    }

    .cases-table__row {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 0;
        gap: 6px;
    }

    .cases-table__cell {
        width: 100%;
        display: flex;
        justify-content: space-between;
        padding: 4px 0;
        font-size: 14px;
    }

    .cases-table__cell::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--cases-gray);
        flex-shrink: 0;
        margin-right: 8px;
    }

    .cases-table__cell--start { order: 1; }
    .cases-table__cell--progress { order: 2; }
    .cases-table__cell--finish { order: 3; }
    .cases-table__cell--sum { order: 4; }
    .cases-table__cell--case { order: 5; }
    .cases-table__cell--link { order: 6; }

    .cases-table__cell--finish,
    .cases-table__cell--sum,
    .cases-table__cell--case {
        text-align: left;
    }

    .cases-table__cell--progress::before {
        content: none !important;
    }
}
/* End */


/* Start:/local/templates/generator/components/bitrix/form.result.new/city-form/style.css?1779378616143*/
/* Стили в основном файле offices_v3.0/style.css */
/* Этот файл оставлен пустым намеренно */
/* End */
/* /local/templates/generator/components/bitrix/news.list/lawyers_credit_list/style.css?178471520315826 */
/* /local/templates/generator/components/bitrix/news.list/cases_table/style.css?17830085275679 */
/* /local/templates/generator/components/bitrix/form.result.new/city-form/style.css?1779378616143 */
