.customer-path-way {
    display: flex;
    width: 100%;
    align-items: stretch;
    background: #fff;
    color: #004884;
    font-style: normal;
}

.customer-path-way__content {
    flex: 1;
    min-width: 0;
    padding: 50px 20px;
}

.customer-path-way__heading {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
    font-variant: small-caps;
}

.customer-path-way__intro {
    margin-top: 20px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.8;
    font-variant: small-caps;
}

.customer-path-way__cards {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.customer-path-way__card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    border-radius: 20px;
    background: #f6faff;
}

.customer-path-way__media {
    position: relative;
    height: 123px;
    flex-shrink: 0;
    border-radius: 20px 20px 0 0;
    background: #e5e7eb;
}

.customer-path-way__picture {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
}

.customer-path-way__image {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
    object-position: center;
}

.customer-path-way__badges {
    position: absolute;
    z-index: 1;
    left: 20px;
    bottom: -17px;
    display: flex;
    max-width: calc(100% - 40px);
    flex-wrap: wrap;
    gap: 5px;
}

.customer-path-way__badge {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    border-radius: 202000px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.customer-path-way__badge--distance { background: #0579db; }
.customer-path-way__badge--time { background: #004884; padding-inline: 25px; }

.customer-path-way__body {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 20px;
}

.customer-path-way__card--transfer .customer-path-way__body { padding-top: 40px; }

.customer-path-way__title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    font-variant: small-caps;
}

.customer-path-way__text {
    margin-top: 15px;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.8;
    font-variant: small-caps;
    overflow-wrap: anywhere;
}

.customer-path-way__text :is(b, strong),
.customer-path-way__phone { font-weight: 600; }

.customer-path-way__phone { text-decoration: none; }
.customer-path-way__break-space { display: none; }

.customer-path-way__point {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 15px;
    margin-top: auto;
    padding-top: 30px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.customer-path-way__point > :is(img, svg) { flex-shrink: 0; }

.customer-path-way__action {
    width: 100%;
    margin-top: auto;
    padding-top: 30px;
}

.customer-path-way__button {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding-inline: 10px;
    border-radius: 10px;
    background: #004884;
    color: #fff;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
    text-decoration: none;
    transition: background-color 150ms;
}

.customer-path-way :is(.customer-path-way__button, .customer-path-way__phone):focus-visible {
    outline: 2px solid #0579db;
    outline-offset: 4px;
}

.customer-path-way :is(.customer-path-way__intro, .customer-path-way__title, .customer-path-way__text, .customer-path-way__point) :is(p, h1, h2, h3, h4) {
    margin: 0;
    font: inherit;
}

.customer-path-way :is(.customer-path-way__intro, .customer-path-way__text) p + p { margin-top: 10px; }

@media (min-width: 768px) and (max-width: 1279px) {
    .customer-path-way__content { padding: 30px; }
    .customer-path-way__cards { gap: 20px; }
    .customer-path-way__card { display: grid; grid-template-columns: minmax(0, 223px) minmax(0, 1fr); }
    .customer-path-way__media { height: auto; min-height: 235px; border-radius: 20px 0 0 20px; }
    .customer-path-way__image { position: absolute; inset: 0; }
    .customer-path-way__badges { top: 30px; bottom: auto; gap: 5px; }
    .customer-path-way__body,
    .customer-path-way__card--transfer .customer-path-way__body { padding: 30px 20px; }
    .customer-path-way__body:first-child { grid-column: 1 / -1; }
    .customer-path-way__button { max-width: 290px; padding-inline: 20px; }
    .customer-path-way__copy-break { display: none; }
    .customer-path-way__break-space { display: inline; }
}

@media (min-width: 1280px) {
    .customer-path-way__content { padding: 20px 50px 35px; }
    .customer-path-way__heading { font-size: 40px; }
    .customer-path-way__intro { max-width: 560px; margin-top: 10px; font-size: 20px; }
    .customer-path-way__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-top: 40px; }
    .customer-path-way__card { min-height: 450px; }
    .customer-path-way__badges { left: 30px; max-width: calc(100% - 60px); }
    .customer-path-way__body { padding: 30px; }
    .customer-path-way__title { font-size: 30px; }
    .customer-path-way__button { padding-inline: 20px; }
}
