/* Контактная секция */


.contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}



/* Информация (левая часть) */
.contact__info {
    font-size: 16px;
    line-height: 1.6;
}

.contact__title {
    font-size: 24px;
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact__item {
    margin-top: 1rem;
}

.contact__item a {
    color: #0048ff;
    font-size: 18px;
}

.contact__map iframe {
    width: 100%;
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Форма */
.contact__form .form__group {
    margin-bottom: 1.5rem;
}

.contact__form .form__label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.contact__form .input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    background-color: #fff;
    transition: border 0.2s ease;
}

.contact__form .input:focus {
    outline: none;
    border-color: #999;
}

/* Кнопка — использует твой стиль .btn */
.contact__form .btn {
    padding: 12px 24px;
    background-color: #111;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.contact__form .btn:hover {
    background-color: #333;
}

.company-section {
    padding: 60px 0;
}

.section__title,
.section__subtitle {
    margin-bottom: 1.5rem;
    text-align: center;
}

.company-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 18px;
    line-height: 1.6;
}

.company-services {
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 1.5rem;
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3 {
    margin-top: 1rem;
    font-size: 20px;
    font-weight: 600;
}

.service-card p {
    padding: 0 1rem;
    font-size: 16px;
    color: #555;
}

.company-map iframe {
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.contact-block {
    max-width: 600px;
    margin: 3rem auto 0;
    text-align: center;
    font-size: 18px;
}

.contact-block ul {
    list-style: none;
    padding: 0;
}

.contact-block li {
    margin-bottom: 0.5rem;
}

.contact-block a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-block a:hover {
    color: #555;
}

.header nav ul {
    align-items: center;
    height: 100%;
}

nav.nav--mobile_active {
    max-width: calc(100% - 130px);
}

nav.nav--mobile .nav--mobile-close {
    border: 1px solid transparent;
}

.first-screen .button {
    margin-top: 30px;
}

.first-screen h1+p {
    margin-bottom: 35px;
}

.button {
    padding: 25px 50px 27px;
}

.first-screen p {
    margin-top: 20px;
}

.car-count {
    margin-left: 10px;
}

.first-screen h1 {
    margin-bottom: 30px;
}

.first-screen h1+p {
    margin-bottom: 30px;
}

.marked-list li:before {
    background-size: cover;
    width: 16px;
    height: 17px;
    top: 3px;
}

.marked-list li {
    padding-left: 25px;
    font-size: 20px;
}

.telegram img,
.whatsapp img {
    display: block;
    width: 35px;
    height: 35px;
    object-fit: cover;
}

.whatsapp {
    margin-left: 15px;
}

.pagination {
    column-gap: 12px;
}

.pagination a {
    padding-bottom: 0px;
    width: 34px;
}

.pagination .active {
    border-radius: 10px;
}

.link-arrow {
    position: relative;
    top: 2px;
}

.mobile-pagination {
    display: none;
}

.button_medium {
    padding: 18px 38px 16px !important;
}

.modal form .input {
    width: 100%;
    height: 67px;
    display: flex;
    align-items: center;
    border: 1px solid #cacaca;
    outline: none !important;
    border-radius: 12px;
    margin-top: 10px;
    padding-left: 20px;
    padding-right: 20px;
}

.modal form .textarea {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    border: 1px solid #cacaca;
    outline: none !important;
    border-radius: 12px;
    margin-top: 10px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 20px;
}

.modal form .input,
.modal form .textarea {
    font-size: 18px;
    transition: 0.3s;
}

.modal form .input:focus,
.modal form .textarea:focus {
    box-shadow: #2d3748 1px 1px 1px;
}

/*.input-wrap {*/
/*    margin-top: 20px;*/
/*}*/
.success-block .title {
    font-size: 26px;
    margin-top: 20px;
}

.success-block .description {
    margin-top: 20px;
}

.input-wrap .label.gray {
    margin-left: 8px;
}

h3.title {
    font-size: 28px;
}

.medium .modal-dialog {
    max-width: 800px;
}

.modal-dialog {
    max-width: 995px;
    padding: 0 10px;
}

.modal-content {
    position: relative;
    padding: 40px;
    border: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-radius: 15px;
}

.modal-content .close {
    position: absolute;
    top: 20px;
    right: 25px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.modal-content .close:before,
.modal-content .close:after {
    content: "";
    display: block;
    width: 20px;
    height: 2px;
    background: #000000;
    margin: 8px 0 0 0;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.modal-content .close:after {
    margin: -2px 0 0 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.modal-content .filters {
    margin-top: 30px;
    padding: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.modal-header {
    padding: 0;
    border: 0;
}

.modal-body {
    padding: 0;
}

.modal-body textarea {
    min-height: 170px;
}

.modal-btn {
    cursor: pointer;
}

.modal-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-height: 100vh;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    padding: 15px;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
    opacity: 0;
    overflow: auto;
    pointer-events: none;
    z-index: 9999;
}

.modal-wrap.open {
    opacity: 1 !important;
    pointer-events: all !important;
}

.modal-wrap.open .modal {
    display: block;
}

.modal-wrap.open .overflow {
    display: block;
    pointer-events: all;
}

.modal-wrap .overflow {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    z-index: 1;
    cursor: pointer;
    opacity: .4;
    pointer-events: none;
}

.modal-wrap.under-header-modal {
    position: absolute;
    padding-top: 100px;
}

.modal-wrap.under-header-modal .overflow {
    opacity: 0;
}

.modal-wrap.under-header-modal .close {
    display: none;
}

.modal-wrap.under-header-modal .wrap {
    padding: 40px 80px 65px;
    -webkit-box-shadow: 0 0 27px rgba(229, 229, 229, 0.75);
    box-shadow: 0 0 27px rgba(229, 229, 229, 0.75);
    border-radius: 10px;
}

.modal-wrap.under-header-modal .modal {
    margin: 0 auto;
}

.modal {
    position: relative;
    width: 100%;
    height: auto;
    max-width: 600px;
    margin: auto;
    background: #ffffff;
    border-radius: 10px;
    overflow: visible;
    z-index: 5;
    /*** City select modal ***/
    /*** End City select modal ***/
}

.modal.medium-size {
    max-width: 800px;
}

.modal.large-size {
    max-width: 1125px;
}

.modal.max-size {
    max-width: 896px;
}

.modal .close {
    position: absolute;
    top: 25px;
    right: 25px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    cursor: pointer;
    z-index: 9;
}

.modal .close:before,
.modal .close:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%) rotate(45deg);
    -ms-transform: translate(-50%, -50%) rotate(45deg);
    transform: translate(-50%, -50%) rotate(45deg);
    width: 25px;
    height: 2px;
    background: #000000;
}

.modal .close:after {
    -webkit-transform: translate(-50%, -50%) rotate(-45deg);
    -ms-transform: translate(-50%, -50%) rotate(-45deg);
    transform: translate(-50%, -50%) rotate(-45deg);
}

.modal .wrap {
    padding: 60px 80px 40px;
}

.modal .sub-title {
    margin-top: 15px;
    font-size: 25px;
    line-height: 25px;
}

.mt-2 {
    margin-top: 10px;
}

.mt-3 {
    margin-top: 20px;
}

.mt-4 {
    margin-top: 30px;
}

.col-input-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 15px;
}

.text-nds {
    color: #fb6206;
    font-size: 18px;
    margin-top: 0;
}

.catalog--filter form {
    transition: all 0.3s ease;
    /* Плавный переход всех поддерживаемых свойств */
}

.filter-scroll {
    position: fixed;
    top: 50px;
    background-color: #fff;
    max-width: 383px;
}

.page-404 {
    font-size: 18px;
}

.form-error-message.error {
    background-color: #ff3b00;
    padding: 20px 20px;
    margin-bottom: 10px;
    font-size: 16px;
    color: #fff;
    border-radius: 10px;
}

.card.card_compact:nth-child(1) {
    background-color: #f2f2f2;
}

.card.card_compact {
    padding-bottom: 15px;
    padding-top: 15px;
}

.card_compact .card--desc-main {
    margin-bottom: 0px;
}

.price-annotation {
    max-width: 500px;
}

.price-annotation p {
    margin-bottom: 0px;
    margin-left: 25px;
    margin-top: -20px;
}

.price-annotation p:before {
    content: '•';
    color: #f90;
    display: block;
    position: relative;
    left: -25px;
    font-size: 27px;
    top: 23px;
}

.card-price-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 50px;
}

.card-price-button {
    justify-self: end;
}

.card-price {
    text-align: right;
}

.old-price {
    font-size: 18px;
    text-decoration: line-through;
    margin-right: 15px;
    color: #666;
}

.old-price-item {
    font-size: 16px;
    text-align: right;
    font-weight: 400;
}

.card-price .price_format {
    text-align: right;
    font-size: 36px;
    font-weight: 800;
}

.card-button {
    margin-top: 20px;
}

.product-info--bottom {
    margin-top: 0px;
}

.main .card .card--desc {
    padding-right: 15px;
    padding-left: 15px;
}

.leasing-container {
    max-width: 100%;
    margin: 40px auto;
    background: #fafbfc;
    border-radius: 16px;
    box-shadow: 0 4px 24px #0001;
    padding: 40px 32px;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.leasing-lead {
    font-size: 1.4em;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1d3557;
}

.leasing-description {
    margin-bottom: 28px;
    color: #333;
    font-size: 1.06em;
}

.leasing-section {
    margin: 36px 0 22px 0;
    font-size: 1.22em;
    font-weight: 600;
    color: #234b7e;
    letter-spacing: 0.01em;
}

.leasing-list,
.leasing-steps {
    list-style: none;
    padding: 0;
    margin: 0 0 22px 0;
}

.leasing-list li {
    margin-bottom: 12px;
    padding-left: 28px;
    position: relative;
    line-height: 1.4;
}

.leasing-list li::before {
    content: "✔";
    color: #2ecc71;
    position: absolute;
    left: 0;
    font-size: 1em;
    top: 1px;
}

.leasing-steps li {
    margin-bottom: 10px;
    padding-left: 32px;
    position: relative;
    font-weight: 500;
    color: #2a3e58;
}

.leasing-steps li::before {
    content: counter(step) ".";
    counter-increment: step;
    position: absolute;
    left: 0;
    color: #457b9d;
    font-size: 1.04em;
    font-weight: bold;
}

.leasing-steps {
    counter-reset: step;
    margin-bottom: 30px;
}

.leasing-highlight {
    background: #e3f3fc;
    border-radius: 8px;
    padding: 16px 18px;
    margin-bottom: 30px;
    font-size: 1.05em;
    color: #14426a;
    box-shadow: 0 2px 12px #b3d7ff33;
}

.leasing-action {
    display: inline-block;
    background: #2176ff;
    color: #fff;
    border-radius: 5px;
    padding: 12px 32px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 8px #457b9d33;
    margin-top: 8px;
    transition: background 0.2s;
}

.leasing-action:hover {
    background: #14426a;
}

.dealers-container {
    max-width: 100%;
    margin: 40px auto;
    background: #fcf9f5;
    border-radius: 16px;
    box-shadow: 0 4px 24px #0001;
    padding: 40px 32px;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.dealers-lead {
    font-size: 1.4em;
    font-weight: 700;
    margin-bottom: 10px;
    color: #5b3700;
}

.dealers-description {
    margin-bottom: 28px;
    color: #3b2d10;
    font-size: 1.07em;
}

.dealers-section {
    margin: 36px 0 22px 0;
    font-size: 1.18em;
    font-weight: 600;
    color: #a3700e;
    letter-spacing: 0.01em;
}

.dealers-list {
    list-style: none;
    padding: 0;
    margin: 0 0 22px 0;
}

.dealers-list li {
    margin-bottom: 12px;
    padding-left: 28px;
    position: relative;
    line-height: 1.45;
}

.dealers-list li::before {
    content: "🚗";
    color: #e67e22;
    position: absolute;
    left: 0;
    font-size: 1em;
    top: 1px;
}

.dealers-facts {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.dealers-fact {
    background: #fffbe8;
    border-radius: 10px;
    padding: 18px 22px;
    box-shadow: 0 2px 10px #ffd98f33;
    flex: 1 1 220px;
    min-width: 190px;
    text-align: center;
}

.dealers-fact-main {
    font-size: 2em;
    font-weight: 700;
    color: #d35400;
    margin-bottom: 4px;
}

.dealers-fact-label {
    font-size: 1.01em;
    color: #74531b;
}

.dealers-highlight {
    background: #fffae2;
    border-radius: 8px;
    padding: 16px 18px;
    margin-bottom: 30px;
    font-size: 1.05em;
    color: #5b3700;
    box-shadow: 0 2px 12px #ffeaa833;
}

.dealers-action {
    display: inline-block;
    background: #e67e22;
    color: #fff;
    border-radius: 5px;
    padding: 12px 32px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 8px #ffd98f44;
    margin-top: 8px;
    transition: background 0.2s;
}

.dealers-action:hover {
    background: #a3700e;
}

button.button:hover {
    opacity: 0.8;
}

.categories {
    justify-content: flex-start;
    margin-left: -20px;
}

.categories a {
    margin-left: 20px;
}

.card--desc-price span {
    min-width: 150px;
}

.header nav ul a.active {
    background: #0048ff;
    color: #fff;
}

.call-russia {
    font-size: 13px;
    margin-left: 32px;
    display: block;
    position: absolute;
    top: 28px;
    width: 200px;
}

.call-russia-footer {
    margin-top: 5px;
    font-size: 13px;
}

.header--right {
    align-items: flex-start;
}

input.input-field {
    width: 100%;
    border: 1px solid #ddd;
    background-color: #fff;
    border-radius: 13px;
    margin-bottom: 0;
    height: 56px;
    align-items: center;
    padding-left: 24px;
    font-size: 19px
}

.input500 {
    min-width: 500px;
}

.alert {
    border-radius: 5px;
    text-align: center;
    width: 100%;
    padding: 15px;
    margin-bottom: 40px;
}

.alert-warning {
    background-color: #fb620694;
    color: #000;
    border: 1px solid #ffeeba;

}



@media (max-width: 1300px) {
    .header nav ul {
        align-items: center;
        height: auto;
    }

    .filter-scroll {
        position: static;
        top: auto;
        max-width: 100%;
    }
}

@media (max-width: 1450px) {
    .call-russia {
        margin-left: 0;
        top: 26px;
    }
}

@media (max-width: 991px) {
    .card-price-box {
        display: block;
    }

    .card-price-button {
        justify-self: self-start;
        margin-top: 40px;
        margin-left: 20px;
    }
}

@media (max-width: 800px) {
    .card--desc-price span {
        min-width: auto;
    }

    .card {
        margin-bottom: 0px;
    }

    .catalog-block--filter div {
        width: 100%;
    }

    .catalog-block--filter {
        margin-bottom: 30px;
    }

    .catalog-block--filter .button {
        height: auto;
    }

    .catalog-block--filter div .custom-select {
        height: 50px;
    }

    .modal .wrap {
        padding: 20px 30px 30px;
    }

    .telegram {
        margin: 0px 10px 0 15px;
    }

    .whatsapp {
        margin-left: 0px;
    }

    .telegram img,
    .whatsapp img {
        width: 25px;
        height: 25px;
        object-fit: cover;
    }

}

/* Адаптивность */
@media (max-width: 768px) {
    .old-price {
        display: block;
        text-align: left;
    }

    .card-price {
        text-align: left;
    }

    .card-price .price_format {
        text-align: left;
    }

    .card-button a {
        display: iblock;
        margin-top: 10px;
    }

    .product-characteristics {
        margin-top: 0px;
    }

    .product-info--wrap {
        padding-bottom: 0px;
    }

    .product-characteristics--title,
    .specification--title {
        margin-left: 0px;
    }

    .specification {
        margin-top: 60px;
    }

    .product-characteristics .col {
        padding-right: 0;
        padding-left: 00px;
    }

    .product-info {
        padding-bottom: 0px;
    }

    .grid--3col {
        grid-template-columns: 1fr;
    }

    .service-card img {
        height: 180px;
    }

    .contact {
        grid-template-columns: 1fr;
    }

    .pagination {
        column-gap: 50px;
    }

    .main-pagination {
        display: none;
    }

    .mobile-pagination {
        display: block;
    }

    .page-simple-link {
        width: 100% !important;
    }

    .page-simple-link svg {
        position: relative;
        top: 3px;
    }

    .page-simple-prev svg {
        position: relative;
        left: -10px;
    }

    .page-simple-next svg {
        position: relative;
        left: 10px;
    }

}

@media (max-width: 600px) {
    .leasing-container {
        padding: 16px 6vw;
    }

    .dealers-container {
        padding: 16px 6vw;
    }

    .dealers-facts {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 450px) {
    .call-russia {
        display: none;
    }
}

@media (max-width: 400px) {
    .header .logo img {
        margin-top: 0px;
        width: 125px;
    }

}