.page-contact-single {
    background: #f8fafc;
}

.page-contact-single .main,
.page-contact-single .main > .inner {
    width: 100%;
    max-width: none;
    padding: 0;
}

.page-contact-single .breadcrumbs,
.page-contact-single .centered-content {
    display: none;
}

.contacts-hero {
    position: relative;
    min-height: 285px;
    overflow: hidden;
    border-bottom: 4px solid #188bef;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(3, 15, 26, 0.98) 0%, rgba(3, 15, 26, 0.88) 34%, rgba(3, 15, 26, 0.58) 66%, rgba(3, 15, 26, 0.72) 100%),
        url("../../images/hero-contacts.png") center 22% / cover no-repeat;
}

.contacts-hero__inner {
    width: 100%;
    padding: 72px 40px 0;
}

.contacts-hero h1,
.contacts-hero p,
.contacts-intro h2,
.contacts-intro p,
.contact-card h3,
.contact-card p,
.contacts-benefit p,
.contacts-review h2,
.contacts-review p {
    margin: 0;
    letter-spacing: 0;
}

.contacts-hero h1 {
    font-family: "Roboto", sans-serif;
    font-size: 58px;
    font-weight: 800;
    line-height: 1.05;
}

.contacts-hero p {
    max-width: 560px;
    margin-top: 14px;
    font-family: "Roboto", sans-serif;
    font-size: 21px;
    font-weight: 400;
    line-height: 1.35;
}

.contacts-hero p + p {
    margin-top: 4px;
}

.contacts-page {
    min-height: 0;
    padding: 0 0 72px;
    background:
        radial-gradient(circle at 15% 12%, rgba(24, 139, 239, 0.08), transparent 26%),
        linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.contacts-wrap {
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
}

.contacts-intro {
    padding: 70px 34px 44px;
    text-align: center;
    color: #0d1a2b;
}

.contacts-intro h2 {
    font-family: "Roboto", sans-serif;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.18;
}

.contacts-intro p {
    color: #2f3e52;
    font-family: "Roboto", sans-serif;
    font-size: 18px;
    line-height: 1.45;
}

.contacts-intro p:first-of-type {
    margin-top: 18px;
}

.contacts-accent {
    display: block;
    width: 48px;
    height: 3px;
    margin: 18px auto 0;
    border-radius: 3px;
    background: #176fe6;
}

.contacts-accent--small {
    width: 44px;
    height: 2px;
    margin-top: 24px;
}

.contacts-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    padding: 0 34px;
}

.contact-card {
    display: flex;
    min-height: 705px;
    flex-direction: column;
    padding: 42px 20px 40px;
    border: 1px solid #dce4ec;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 20px 42px rgba(13, 26, 43, 0.08);
}

.contact-card__head {
    text-align: center;
}

.contact-card__copy {
    display: contents;
}

.contact-card h3 {
    margin-top: 30px;
    color: #0d1a2b;
    font-family: "Roboto", sans-serif;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.2;
}

.contact-card p {
    margin: 24px auto 0;
    max-width: 280px;
    color: #2f3e52;
    font-family: "Roboto", sans-serif;
    font-size: 17px;
    line-height: 1.45;
}

.contact-card__actions {
    display: grid;
    gap: 14px;
    margin-top: auto;
}

.contact-card--parts .contact-card__actions {
    margin-top: 68px;
}

.contact-card--general .contact-card__actions {
    margin-top: auto;
}

.contact-action,
.contact-address,
.contacts-review a {
    display: flex;
    align-items: center;
    min-height: 54px;
    border-radius: 8px;
    color: #0d1a2b;
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
    text-decoration: none;
}

.contact-action {
    justify-content: center;
    gap: 16px;
    padding: 0 18px;
}

.contact-action--primary {
    min-height: 80px;
    border-radius: 9px;
    background: #eef2f6;
    font-size: 26px;
}

.contact-action--phone-number {
    font-size: 22px;
}

.contact-card--parts .contact-action--primary.contact-action--phone-number {
    font-size: 22px;
}

.contact-card--buyout .contact-action--dark.contact-action--phone-number {
    font-size: 22px;
}

.contact-card--general .contact-action--primary {
    font-size: 18px;
}

.contact-card--general .contact-action--dark {
    justify-content: center;
}

.contact-action--dark {
    justify-content: flex-start;
    border: 1px solid #dce4ec;
    background: #eef2f6;
    color: #0d1a2b;
}

.contact-card--buyout .contact-action--dark {
    font-size: 17px;
}

.contact-action--viber {
    justify-content: flex-start;
    border: 1px solid #dce4ec;
    background: #eef2f6;
    color: #0d1a2b;
}

.contact-card__addresses {
    margin-top: 32px;
    text-align: center;
}

.contact-card__divider {
    display: block;
    height: 1px;
    margin-bottom: 24px;
    background: #b8c2cf;
}

.contact-card__addresses strong {
    display: block;
    margin-bottom: 18px;
    color: #0d1a2b;
    font-family: "Roboto", sans-serif;
    font-size: 17px;
    font-weight: 800;
}

.contact-address {
    justify-content: flex-start;
    gap: 14px;
    min-height: 54px;
    margin-top: 12px;
    padding: 0 18px;
    border: 1px solid #93a2b4;
    background: #fff;
    color: #263548;
    font-size: 16px;
    font-weight: 500;
}

.contacts-benefits {
    margin: 60px 34px 0;
    padding: 34px 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 38px rgba(13, 26, 43, 0.06);
}

.contacts-benefits .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    box-sizing: border-box;
}

.contacts-benefits .swiper-slide {
    min-width: 0;
}

.contacts-benefits .contacts-benefit {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 22px;
    align-items: center;
    min-height: 78px;
    padding: 0 32px;
    border-right: 1px solid #b8c2cf;
}

.contacts-benefit__inner {
    display: contents;
}

.contacts-benefits .contacts-benefit:last-child {
    border-right: 0;
}

.contacts-benefits .swiper-pagination {
    display: none;
}

.contacts-benefit strong {
    color: #0d1a2b;
    font-family: "Roboto", sans-serif;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.25;
}

.contacts-benefit p {
    margin-top: 8px;
    color: #2f3e52;
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    line-height: 1.4;
}

.contacts-review {
    display: grid;
    grid-template-columns: 76px 1fr auto;
    gap: 28px;
    align-items: center;
    margin: 62px 34px 0;
    padding: 34px 38px;
    border-radius: 8px;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(2, 14, 26, 0.96), rgba(8, 28, 49, 0.94)),
        url("../../images/homepage-banner.jpg") center / cover no-repeat;
    box-shadow: 0 18px 40px rgba(13, 26, 43, 0.16);
}

.contacts-review h2 {
    font-family: "Roboto", sans-serif;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.2;
}

.contacts-review p {
    margin-top: 12px;
    font-family: "Roboto", sans-serif;
    font-size: 17px;
    line-height: 1.4;
}

.contacts-review a {
    justify-content: center;
    gap: 34px;
    min-width: 292px;
    min-height: 68px;
    padding: 0 34px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    color: #fff;
    font-size: 20px;
}

.contacts-icon {
    display: inline-flex;
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    background: currentColor;
    -webkit-mask: var(--contacts-icon) center / contain no-repeat;
    mask: var(--contacts-icon) center / contain no-repeat;
}

.contacts-icon--bubble {
    width: 108px;
    height: 108px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: radial-gradient(circle at 35% 25%, #10243a, #010d18);
    -webkit-mask: none;
    mask: none;
}

.contacts-icon--bubble::before {
    content: "";
    display: block;
    width: 56px;
    height: 56px;
    background: currentColor;
    -webkit-mask: var(--contacts-icon) center / contain no-repeat;
    mask: var(--contacts-icon) center / contain no-repeat;
}

.contacts-benefit .contacts-icon--bubble,
.contacts-review .contacts-icon--bubble {
    width: 72px;
    height: 72px;
    background: rgba(13, 26, 43, 0.08);
    color: #061525;
}

.contacts-review .contacts-icon--bubble {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.contacts-benefit .contacts-icon--bubble::before,
.contacts-review .contacts-icon--bubble::before {
    width: 38px;
    height: 38px;
}

.contacts-icon--gear { --contacts-icon: url("../../images/icons/icon-top-nav-setting-b.svg"); }
.contacts-icon--car-money { --contacts-icon: url("../../images/icons/icon-gear-euro-sign-white.svg"); }
.contacts-icon--mail-large,
.contacts-icon--mail { --contacts-icon: url("../../images/icons/icon-envelope-dark.svg"); }
.contacts-icon--phone { --contacts-icon: url("../../images/icons/icon-phone-volume-dark.svg"); }
.contacts-icon--mobile { --contacts-icon: url("../../images/icons/icon-top-nav-phone.svg"); }
.contacts-icon--viber { --contacts-icon: url("../../images/icons/icon-viber-brand.svg"); }
.contacts-icon--pin { --contacts-icon: url("../../images/icons/icon-map-marker-accent.svg"); }
.contacts-icon--message { --contacts-icon: url("../../images/icons/icon-comments-white.svg"); }
.contacts-icon--external { --contacts-icon: url("../../images/icons/up-right-arrow.svg"); margin-left: auto; }
.contacts-icon--shield { --contacts-icon: url("../../images/icons/icon-shield-check-accent.svg"); }
.contacts-icon--clock { --contacts-icon: url("../../images/icons/icon-clock-dark-small.svg"); }
.contacts-icon--team { --contacts-icon: url("../../images/icons/icon-borsa-my-inquiries.svg"); }
.contacts-icon--star { --contacts-icon: url("../../images/icons/icon-star-outline-dark.svg"); }
.contacts-icon--arrow { --contacts-icon: url("../../images/icons/icon-arrow-pagination-next-white.svg"); }

.contacts-icon--viber-brand,
.contacts-icon--google-brand {
    background-color: transparent;
    -webkit-mask: none;
    mask: none;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.contacts-icon--viber-brand {
    background-image: url("../../images/icons/viber.svg");
}

.contacts-icon--google-brand {
    background-image: url("../../images/icons/google-maps-icon.svg");
}

@media (max-width: 1070px) {
    .contacts-intro {
        padding: 58px 24px 40px;
    }

    .contacts-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
        padding: 0 24px;
    }

    .contact-card {
        min-height: 0;
        padding: 34px 24px 30px;
    }

    .contact-card--general {
        grid-column: 1 / -1;
    }

    .contact-card--general .contact-card__head {
        max-width: 520px;
        margin: 0 auto;
    }

    .contact-card--general .contact-card__actions {
        max-width: 520px;
        margin: 28px auto 0;
        width: 100%;
    }

    .contact-card--parts .contact-card__actions {
        margin-top: 44px;
    }

    .contacts-benefits {
        margin: 48px 24px 0;
        padding: 28px 30px;
    }

    .contacts-benefits .swiper-wrapper {
        grid-template-columns: 1fr;
    }

    .contacts-benefits .contacts-benefit {
        padding: 18px 0;
        border-right: 0;
        border-bottom: 1px solid #b8c2cf;
    }

    .contacts-benefits .swiper-slide:last-child .contacts-benefit {
        border-bottom: 0;
    }

    .contacts-review {
        grid-template-columns: 76px 1fr;
        gap: 18px 24px;
        margin: 48px 24px 0;
        padding: 30px 32px;
    }

    .contacts-review a {
        grid-column: 1 / -1;
        min-width: 0;
        width: 100%;
    }
}

@media (max-width: 740px) {
    .contacts-hero {
        min-height: 205px;
        background:
            linear-gradient(90deg, rgba(3, 15, 26, 0.96) 0%, rgba(3, 15, 26, 0.78) 48%, rgba(3, 15, 26, 0.52) 100%),
            url("../../images/hero-contacts.png") center top / cover no-repeat;
    }

    .contacts-hero__inner {
        width: 100%;
        padding: 34px 21px 0;
    }

    .contacts-hero h1 {
        font-size: 44px;
    }

    .contacts-hero p {
        font-size: 19px;
    }

    .contacts-page {
        padding: 0 0 34px;
    }

    .contacts-intro {
        padding: 42px 18px 28px;
    }

    .contacts-intro h2 {
        font-size: 29px;
    }

    .contacts-intro p {
        font-size: 18px;
    }

    .contacts-cards {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 0 18px;
    }

    .contact-card {
        min-height: 0;
        padding: 28px 28px 22px;
    }

    .contact-card__head {
        display: grid;
        grid-template-columns: 86px 1fr;
        gap: 22px;
        align-items: center;
        text-align: left;
    }

    .contact-card__copy {
        display: block;
    }

    .contact-card h3 {
        margin-top: 0;
    }

    .contact-card .contacts-accent--small {
        display: none;
    }

    .contact-card p {
        max-width: none;
        margin: 14px 0 0;
    }

    .contact-card__head .contacts-icon--bubble {
        width: 90px;
        height: 90px;
    }

    .contact-card__head .contacts-icon--bubble::before {
        width: 49px;
        height: 49px;
    }

    .contact-card h3 {
        font-size: 22px;
    }

    .contact-card p {
        font-size: 17px;
    }

    .contact-card__actions,
    .contact-card--parts .contact-card__actions,
    .contact-card--general .contact-card__actions {
        margin-top: 28px;
    }

    .contact-action,
    .contact-address {
        min-height: 54px;
        font-size: 17px;
    }

    .contact-card--buyout .contact-action--dark {
        font-size: 18px;
    }

    .contact-action--primary {
        min-height: 64px;
        font-size: 22px;
    }

    .contact-action--phone-number {
        font-size: 20px;
    }

    .contact-card--parts .contact-action--primary.contact-action--phone-number {
        font-size: 20px;
    }

    .contact-card--buyout .contact-action--dark.contact-action--phone-number {
        font-size: 20px;
    }

    .contact-card--general .contact-action--primary {
        font-size: 18px;
    }

    .contacts-benefits {
        margin: 30px 18px 0;
        padding: 18px 0 28px;
        background: #eef2f6;
        box-shadow: none;
    }

    .contacts-benefits .swiper-wrapper {
        display: flex;
    }

    .contacts-benefits .swiper-slide {
        width: 100%;
    }

    .contacts-benefits .contacts-benefit {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        align-items: center;
        justify-items: center;
        min-height: 0;
        padding: 0 0 8px;
        border-right: 0;
        text-align: center;
        box-sizing: border-box;
    }

    .contacts-benefit .contacts-icon--bubble {
        width: 64px;
        height: 64px;
    }

    .contacts-benefit .contacts-icon--bubble::before {
        width: 34px;
        height: 34px;
    }

    .contacts-benefit strong {
        font-size: 16px;
    }

    .contacts-benefit p {
        font-size: 14px;
    }

    .contacts-benefits .swiper-pagination {
        display: flex;
        justify-content: center;
        position: static;
        margin: 15px 0;
    }

    .contacts-benefits .swiper-pagination-bullet {
        width: 7px;
        height: 7px;
        margin: 0 4px !important;
        background: rgba(13, 26, 43, 0.18);
        opacity: 1;
    }

    .contacts-benefits .swiper-pagination-bullet-active {
        background: #0d1a2b;
    }

    .contacts-review {
        grid-template-columns: 74px 1fr;
        gap: 16px 24px;
        margin: 42px 18px 0;
        padding: 26px 24px;
    }

    .contacts-review h2 {
        font-size: 23px;
    }

    .contacts-review p {
        font-size: 17px;
    }

    .contacts-review a {
        grid-column: 1 / -1;
        min-width: 0;
        width: 100%;
        min-height: 64px;
        gap: 28px;
        padding: 0 24px;
    }
}

@media (max-width: 520px) {
    .contacts-hero {
        min-height: 188px;
    }

    .contacts-hero__inner {
        padding-top: 30px;
    }

    .contacts-hero h1 {
        font-size: 38px;
    }

    .contacts-hero p {
        font-size: 16px;
    }

    .contacts-intro h2 {
        font-size: 27px;
    }

    .contacts-intro p {
        font-size: 16px;
    }

    .contact-card {
        padding: 24px 24px 22px;
    }

    .contact-card__head {
        grid-template-columns: 72px 1fr;
        gap: 18px;
    }

    .contact-card__head .contacts-icon--bubble {
        width: 78px;
        height: 78px;
    }

    .contact-card__head .contacts-icon--bubble::before {
        width: 42px;
        height: 42px;
    }

    .contact-card h3 {
        font-size: 20px;
    }

    .contact-card p {
        font-size: 16px;
    }

    .contact-action,
    .contact-address {
        font-size: 15px;
    }

    .contact-card--buyout .contact-action--dark {
        font-size: 16px;
    }

    .contact-action--primary {
        font-size: 20px;
    }

    .contact-action--phone-number {
        font-size: 17px;
    }

    .contact-card--parts .contact-action--primary.contact-action--phone-number {
        font-size: 17px;
    }

    .contact-card--buyout .contact-action--dark.contact-action--phone-number {
        font-size: 17px;
    }

    .contacts-icon {
        width: 22px;
        height: 22px;
    }

    .contact-address {
        padding: 0 14px;
    }

    .contacts-benefits {
        padding-bottom: 4px;
    }

    .contacts-benefits .contacts-benefit {
        gap: 6px;
        padding-bottom: 6px;
    }
}
