/* Safe Fleet savings calculator. */

.sf-savings {
    padding: 60px 16px;

    background: var(--color-bg-white);
}

.sf-savings__panel {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 64px;

    width: min(100%, 1408px);
    min-height: 675px;
    margin-inline: auto;
    padding: 80px 60px;

    color: var(--color-bg-white);
    background: #0e1830;
    border-radius: 28px;
}

.sf-savings__background {
    position: absolute;
    inset: 0;
    z-index: 0;

    width: 100%;
    height: 100%;
    max-width: none;

    object-fit: cover;
}

.sf-savings__rings {
    position: absolute;
    top: -853.6px;
    right: -858.8px;
    z-index: 1;

    width: 1435.4px;
    height: 1435.4px;
}

.sf-savings__rings img {
    width: 1435.4px;
    height: 1435.4px;
    max-width: none;
}

.sf-savings__lines {
    position: absolute;
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: center;
}

.sf-savings__lines img {
    flex: 0 0 auto;
    width: 364.663px;
    height: 880px;
    max-width: none;
}

.sf-savings__lines--top {
    top: -413.98px;
    right: -350.109px;

    width: 880.109px;
    height: 880.109px;
}

.sf-savings__lines--top img {
    transform: rotate(135deg);
}

.sf-savings__lines--bottom {
    top: 482.02px;
    left: -575px;

    width: 951.814px;
    height: 699.953px;
}

.sf-savings__lines--bottom img {
    transform: rotate(-65.22deg);
}

.sf-savings__copy,
.sf-savings__calculator-slot {
    position: relative;
    z-index: 2;
}

.sf-savings__copy {
    width: 100%;
    max-width: 612px;
}

.sf-savings__title {
    margin: 0 0 12px;

    color: var(--color-bg-white);

    font-size: 56px;
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: -0.56px;
}

.sf-savings__description {
    max-width: 591px;
    margin: 0;

    color: var(--color-bg-white-80);

    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
}

.sf-savings__description strong {
    color: inherit;
    font-weight: 700;
}

.sf-savings__calculator-slot {
    width: 100%;
    min-height: 515px;

    background: var(--color-bg-white);
    border-radius: 20px;
}

@media (max-width: 1200px) {
    .sf-savings__panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 38px;

        padding-inline: 36px;
    }
}

@media (max-width: 900px) {
    .sf-savings__panel {
        grid-template-columns: 1fr;
        gap: 48px;

        min-height: auto;
        padding: 52px 48px;
    }
    .sf-savings__copy {
        max-width: 620px;
    }
    .sf-savings__calculator-slot {
        min-height: 0;
        aspect-ratio: 612 / 515;
    }
}

@media (max-width: 640px) {
    .sf-savings {
        padding: 40px 8px;
    }
    .sf-savings__panel {
        gap: 32px;

        min-height: auto;
        padding: 40px 22px 22px;

        border-radius: 22px;
    }
    .sf-savings__title {
        margin-bottom: 12px;
        font-size: 40px;
    }
    .sf-savings__description {
        font-size: 16px;
    }
}
