@media (min-width: 1281px) {
    .guarantees-layout > header {
        padding-top: 19px;
    }

    .guarantees-layout .header-top {
        height: 95px;
        align-items: flex-start;
    }

    .guarantees-layout .header-logo {
        display: block;
        margin-top: 5px;
    }

    .guarantees-layout .header-top-top button {
        padding: 9px 24px;
    }

    .guarantees-layout .header-top-top {
        height: 34px;
        margin-bottom: 16px;
        align-items: flex-start;
    }

    .guarantees-layout .header-top-top-number,
    .guarantees-layout .header-top-top-social {
        margin-top: 1px;
    }

    .guarantees-layout .header-top-top-time {
        margin-top: 4px;
    }
}

.guarantees-page {
    --guarantees-accent: #f93b1d;
    --guarantees-ink: #212121;
    background: #ebebeb;
    color: var(--guarantees-ink);
}

.guarantees-breadcrumbs {
    padding: 30px 0 0;
    gap: 12px;
    flex-wrap: wrap;
    line-height: 20px;
}

.guarantees-content {
    max-width: 1243px;
    padding: 60px 0 120px;
    font-size: 20px;
    line-height: 1;
}

.guarantees-content h1,
.guarantees-content h2 {
    font-family: var(--second-family);
    font-weight: 500;
}

.guarantees-content h1 {
    margin-bottom: 60px;
    font-size: 32px;
    line-height: 34px;
}

.guarantees-section + .guarantees-section {
    margin-top: 60px;
}

.guarantees-section h2 {
    margin-bottom: 20px;
    font-size: 20px;
    line-height: 20px;
}

.guarantees-terms > p + p,
.guarantees-factors,
.guarantees-factors + p {
    margin-top: 40px;
}

.guarantees-section ul {
    list-style: disc;
    padding-left: 30px;
    margin-top: 10px;
}

.guarantees-section ol {
    list-style: decimal;
    padding-left: 30px;
}

.guarantees-section ol li + li {
    margin-top: 10px;
}

.guarantees-section a {
    color: var(--guarantees-accent);
    text-decoration: none;
}

.guarantees-section a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.guarantees-page a:focus-visible,
.guarantees-footer a:focus-visible,
.guarantees-footer button:focus-visible {
    outline: 2px solid #f93b1d;
    outline-offset: 5px;
}

.guarantees-contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 40px;
    font-style: normal;
}

.guarantees-contacts a {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
}

.guarantees-contacts span {
    overflow-wrap: anywhere;
}

.guarantees-contacts img {
    flex: none;
}

.guarantees-transition {
    overflow: hidden;
}

.guarantees-transition img {
    display: block;
    width: 100%;
    height: auto;
}

/* This footer variant shares the theme's callback dialog and mobile menu. */
.guarantees-footer {
    background: #212121;
    color: #fff;
    margin: 0;
    padding: 0 0 61px;
    font-size: 16px;
    line-height: 1;
}

.guarantees-footer a {
    color: inherit;
    text-decoration: none;
}

.guarantees-footer a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.guarantees-footer-top,
.guarantees-footer-grid,
.guarantees-footer-legal {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px;
}

.guarantees-footer-top {
    align-items: start;
    margin-bottom: 60px;
}

.guarantees-footer-brand img {
    display: block;
    max-width: 100%;
    height: auto;
}

.guarantees-footer-brand small {
    display: block;
    margin-top: 32px;
    font-size: 12px;
    opacity: .3;
}

.guarantees-footer-description {
    grid-column: span 2;
    padding-top: 48px;
}

.guarantees-footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.guarantees-footer-menu > li + li {
    margin-top: 20px;
}

.guarantees-footer-menu .sub-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
    color: rgba(255, 255, 255, .5);
    font-size: 14px;
}

.guarantees-footer-categories {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
    color: rgba(255, 255, 255, .5);
    font-size: 14px;
}

.guarantees-footer-addresses {
    margin-top: 40px;
    color: rgba(255, 255, 255, .5);
    font-style: normal;
    line-height: 1.2;
}

.guarantees-footer-addresses p + p {
    margin-top: 16px;
}

.guarantees-footer-addresses p {
    max-width: 311px;
}

.guarantees-footer-addresses p:first-child {
    max-width: 256px;
}

.guarantees-footer-contact .button {
    padding: 13px 23px;
    font-weight: 400;
}

.guarantees-footer-phone {
    margin-top: 30px;
}

.guarantees-footer-phone a {
    font-size: 20px;
}

.guarantees-footer-phone p {
    color: #f93b1d;
    font-size: 14px;
    margin-top: 8px;
}

.guarantees-footer-email {
    display: inline-block;
    margin-top: 30px;
    overflow-wrap: anywhere;
}

.guarantees-footer-hours {
    margin-top: 20px;
    font-size: 14px;
}

.guarantees-footer-hours dt {
    font-size: 12px;
    color: rgba(255, 255, 255, .5);
    margin-bottom: 10px;
}

.guarantees-telegram-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 133px;
    padding: 20px;
    overflow: hidden;
    border-radius: 12px;
    background: #353535;
    -webkit-mask: url('../images/guarantees/telegram-card-mask.svg') center / 100% 100% no-repeat;
    mask: url('../images/guarantees/telegram-card-mask.svg') center / 100% 100% no-repeat;
}

.guarantees-telegram-card strong {
    position: relative;
    z-index: 1;
    font: 500 20px/1 var(--second-family);
}

.guarantees-telegram-card span {
    position: relative;
    z-index: 1;
}

.guarantees-telegram-card img {
    position: absolute;
    right: 22px;
    top: 46px;
}

.guarantees-footer-maps {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 30px;
}

.guarantees-map-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    padding: 9px 11px;
    border-radius: 20px;
    background: #fff;
}

.guarantees-footer-maps img {
    display: block;
}

.guarantees-footer-legal {
    background: url('../images/guarantees/legal-divider.svg') left top / calc(100% - 2px) 1px no-repeat;
    margin-top: 60px;
    padding-top: 48px;
    font-size: 14px;
}

.guarantees-footer-legal h2 {
    font-size: 16px;
}

.guarantees-footer-legal > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    color: rgba(255, 255, 255, .5);
}

@media (max-width: 1560px) {
    .guarantees-wrapper,
    .guarantees-footer > .wrapper {
        width: auto;
        margin-right: 30px;
        margin-left: 30px;
    }

    .guarantees-content {
        max-width: min(1243px, 100%);
    }
}

@media (max-width: 1280px) {
    .guarantees-content {
        line-height: 1.25;
    }

    .guarantees-desktop-break {
        display: none;
    }

    .guarantees-footer-top,
    .guarantees-footer-grid,
    .guarantees-footer-legal {
        gap: 24px;
    }

    .guarantees-telegram-card strong {
        font-size: 16px;
    }
}

@media (max-width: 992px) {
    .guarantees-content {
        padding: 40px 0 80px;
        font-size: 18px;
        line-height: 1.4;
    }

    .guarantees-content h1 {
        margin-bottom: 40px;
        font-size: 28px;
    }

    .guarantees-section + .guarantees-section {
        margin-top: 40px;
    }

    .guarantees-section h2 {
        font-size: 18px;
        line-height: 1.3;
    }

    .guarantees-footer-top,
    .guarantees-footer-grid,
    .guarantees-footer-legal {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px;
    }

    .guarantees-footer-description {
        grid-column: auto;
        padding-top: 20px;
    }

    .guarantees-footer-legal {
        margin-top: 60px;
    }

    .guarantees-telegram-card strong {
        font-size: 20px;
    }
}

@media (max-width: 600px) {
    .guarantees-wrapper,
    .guarantees-footer > .wrapper {
        margin-right: 20px;
        margin-left: 20px;
    }

    .guarantees-breadcrumbs {
        padding-top: 24px;
        font-size: 16px;
    }

    .guarantees-content {
        padding: 36px 0 72px;
        font-size: 16px;
    }

    .guarantees-content h1 {
        font-size: 24px;
        line-height: 1.25;
    }

    .guarantees-section h2 {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .guarantees-terms > p + p,
    .guarantees-factors,
    .guarantees-factors + p,
    .guarantees-contacts {
        margin-top: 24px;
    }

    .guarantees-section ul,
    .guarantees-section ol {
        padding-left: 24px;
    }

    .guarantees-section li + li {
        margin-top: 6px;
    }

    .guarantees-transition img {
        width: 960px;
        max-width: none;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
    }

    .guarantees-footer {
        padding: 24px 0 40px;
    }

    .guarantees-footer-top,
    .guarantees-footer-grid,
    .guarantees-footer-legal {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .guarantees-footer-top {
        margin-bottom: 40px;
        gap: 24px;
    }

    .guarantees-footer-description {
        padding-top: 0;
    }

    .guarantees-footer-brand small {
        margin-top: 20px;
    }

    .guarantees-footer-legal {
        padding-top: 32px;
        margin-top: 40px;
    }
}

@media (max-width: 359px) {
    .guarantees-layout .header-top {
        gap: 10px;
    }
}
