.hc-about-images {
    color: #1f1911;
    font-family: Onest, Arial, sans-serif;
}

.hc-about-images button {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.hc-about-images button[data-contact-modal-open] {
    display: flex;
    width: 100%;
}

.hc-about-images__button {
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 18px 40px;
    border-radius: 8px;
    background: #fff;
    color: #ff5500;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.25rem;
    white-space: nowrap;
    transition: background-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
}

.hc-about-images__button:hover {
    background: #d74800;
    color: #fff;
}

.hc-about-images button:active .hc-about-images__button,
.hc-about-images__button:active {
    background: #fff;
    color: #ff5500;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.4);
}

.hc-about-images button:disabled .hc-about-images__button,
.hc-about-images__button[aria-disabled="true"] {
    background: #fcbd9d;
    color: #f6905c;
}

.hc-about-images__button i {
    font-size: 20px;
    line-height: 1;
}

.hc-about-images__mobile {
    display: flex;
    width: 100%;
    justify-content: center;
}

.hc-about-images__mobile-stack {
    position: relative;
    display: flex;
    width: min(351px, 100%);
    flex-direction: column;
    gap: 7px;
    padding-bottom: 40px;
}

.hc-about-images__mobile-photo,
.hc-about-images__mobile-link,
.hc-about-images__mobile-cta {
    width: 100%;
    border-radius: 12px;
    background-size: contain;
    background-repeat: no-repeat;
}

.hc-about-images__mobile-photo--benefit-1 {
    min-height: 250px;
}

.hc-about-images__mobile-photo--benefit-2 {
    min-height: 290px;
    margin-top: -60px;
}

.hc-about-images__mobile-cta {
    display: flex;
    min-height: 300px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: -72px;
    padding: 0 30px;
}

.hc-about-images__mobile-cta--second {
    min-height: 270px;
    margin-top: -22px;
    padding: 0 32px;
}

.hc-about-images__mobile-cta p,
.hc-about-images__mobile-cta h3,
.hc-about-images__yard p,
.hc-about-images__yard h3,
.hc-about-images__final p,
.hc-about-images__final h3 {
    margin: 0;
}

.hc-about-images__mobile-cta div,
.hc-about-images__yard div,
.hc-about-images__final div {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hc-about-images__mobile-cta p,
.hc-about-images__yard p,
.hc-about-images__final p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.25rem;
}

.hc-about-images__mobile-cta h3 {
    width: 100%;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.75rem;
}

.hc-about-images__mobile-link {
    position: relative;
    display: flex;
    min-height: 215px;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
}

.hc-about-images__mobile-link--second {
    min-height: 250px;
    margin-top: -24px;
}

.hc-about-images__mobile-link--third {
    min-height: 250px;
    margin-top: -32px;
}

.hc-about-images__mobile-link span {
    position: relative;
    z-index: 2;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 2rem;
    text-align: center;
}

.hc-about-images__desktop {
    display: none;
}

@media (min-width: 768px) {
    .hc-about-images__mobile {
        display: none;
    }

    .hc-about-images__desktop {
        position: relative;
        display: flex;
        flex-direction: column;
        padding: 160px 0 40px;
    }

    .hc-about-images__desktop-grid {
        display: grid;
        grid-template-rows: 700px 430px;
    }

    .hc-about-images__carousel {
        position: relative;
        height: 762px;
        overflow: hidden;
        border-radius: 40px;
        clip-path: polygon(0 0, 100% 0, 100% 87%, 0 100%);
    }

    .hc-about-images__track {
        display: flex;
        height: 100%;
        transition: transform 0.4s ease-in-out;
    }

    .hc-about-images__slide {
        height: 100%;
        min-width: 100%;
    }

    .hc-about-images__slide img {
        display: block;
        width: 100%;
        height: 762px;
        border-radius: 40px;
        object-fit: cover;
        object-position: center;
    }

    .hc-about-images__slide img.hc-about-images__slide-image--offset {
        object-position: 0 -600px;
    }

    .hc-about-images__carousel-hover {
        position: absolute;
        inset: 0;
        z-index: 20;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 20px;
        pointer-events: none;
    }

    .hc-about-images__carousel-hover::before,
    .hc-about-images__carousel-hover::after {
        position: absolute;
        top: 0;
        bottom: 0;
        z-index: -1;
        width: 0;
        opacity: 0;
        content: "";
        transition: width 700ms ease, opacity 700ms ease;
    }

    .hc-about-images__carousel-hover::before {
        left: 0;
        border-radius: 38px 0 0 38px;
        background: linear-gradient(to right, rgba(0, 0, 0, 0.4), transparent);
    }

    .hc-about-images__carousel-hover::after {
        right: 0;
        border-radius: 0 38px 38px 0;
        background: linear-gradient(to left, rgba(0, 0, 0, 0.4), transparent);
    }

    .hc-about-images__carousel:hover .hc-about-images__carousel-hover::before,
    .hc-about-images__carousel:hover .hc-about-images__carousel-hover::after {
        width: 30%;
        opacity: 1;
    }

    .hc-about-images__arrow {
        display: flex;
        width: 48px;
        height: 48px;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        background: #fff;
        color: #1f1911;
        opacity: 0;
        pointer-events: auto;
        transform: translateX(0);
        transition: opacity 700ms ease, transform 700ms ease;
    }

    .hc-about-images__arrow i {
        font-size: 24px;
        line-height: 1;
    }

    .hc-about-images__arrow--prev {
        transform: translateX(-80px);
    }

    .hc-about-images__arrow--next {
        transform: translateX(80px);
    }

    .hc-about-images__carousel:hover .hc-about-images__arrow {
        opacity: 1;
        transform: translateX(0);
    }

    .hc-about-images__dots {
        position: absolute;
        top: 40px;
        left: 40px;
        z-index: 25;
        display: flex;
        width: fit-content;
        align-items: flex-end;
        justify-content: center;
        gap: 4px;
        padding: 6px;
        border-radius: 10px;
        background: rgba(31, 25, 17, 0.3);
    }

    .hc-about-images__dots button {
        width: 6px;
        height: 6px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.4);
    }

    .hc-about-images__dots button.is-active {
        background: #fff;
    }

    .hc-about-images__yard {
        display: flex;
        width: 100%;
        align-items: flex-end;
        justify-content: space-between;
        margin-top: -20px;
        padding: 0 56px 70px;
        overflow: hidden;
        border-radius: 40px;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .hc-about-images__yard div,
    .hc-about-images__final div {
        width: 80%;
    }

    .hc-about-images__yard h3,
    .hc-about-images__final h3 {
        width: 95%;
        color: #fff;
        font-size: 3rem;
        font-weight: 400;
        line-height: 3.5rem;
    }

    .hc-about-images__yard .hc-about-images__button,
    .hc-about-images__final .hc-about-images__button {
        width: auto;
    }

    .hc-about-images__yard button[data-contact-modal-open],
    .hc-about-images__final button[data-contact-modal-open] {
        width: auto;
    }

    .hc-about-images__plans {
        display: grid;
        height: 264px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
        margin-bottom: 40px;
        padding-top: 10px;
        padding-bottom: 40px;
    }

    .hc-about-images__plan {
        position: relative;
        display: flex;
        min-height: 270px;
        align-items: center;
        justify-content: center;
        border-radius: 32px;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        color: #fff;
        text-decoration: none;
        overflow: visible;
    }

    .hc-about-images__plan-hover {
        position: absolute;
        inset: 0;
        z-index: 3;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
        border-radius: 32px;
        background: rgba(255, 85, 0, 0.5);
        opacity: 0;
        transition: opacity 200ms ease-in;
    }

    .hc-about-images__plan:hover .hc-about-images__plan-hover {
        opacity: 1;
    }

    .hc-about-images__plan-hover strong {
        color: #fff;
        font-size: 1.5rem;
        font-weight: 400;
        line-height: 2rem;
    }

    .hc-about-images__plan-hover .hc-about-images__button {
        width: auto;
        padding: 14px 32px;
        border-radius: 6px;
    }

    .hc-about-images__plan-label {
        position: absolute;
        bottom: -20px;
        z-index: 2;
        padding: 14px 40px;
        border-radius: 8px;
        background: #fff;
        color: #1f1911;
        font-size: 1rem;
        font-weight: 400;
        line-height: 1.25rem;
        transition: opacity 200ms ease-in;
    }

    .hc-about-images__plan:hover .hc-about-images__plan-label {
        opacity: 0;
    }

    .hc-about-images__final {
        position: relative;
        display: flex;
        width: 100%;
        align-items: flex-end;
        justify-content: space-between;
        gap: 24px;
        margin-top: 20px;
        padding: 56px;
        border-radius: 32px;
        background: #ff5500;
    }
}
