/* ================================================
   SECTION: STEPS CAROUSEL
   ================================================ */
.section-steps-carousel {
    padding: 140px 0;
    overflow: hidden;
    background: #f7f7f7;
}

.section-steps-carousel--light {
    background: var(--aniro-color-bg-light);
}

.section-steps-carousel .section-title {
    text-transform: uppercase;
    font-size: 50px;
    line-height: 60px;
    font-weight: 900;
    margin: 8px 0 20px 0;
    color: #1a1a1a;
    text-align: center;
}

.section-steps-carousel .section-divider {
    width: 80px;
    height: 4px;
    background: #f30101;
    margin: 10px auto;
}

.section-steps-carousel__wrapper {
    margin: 50px auto;
    width: 75vw;
    max-width: 75vw;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 5%;
    left: 50%;
    transform: translateX(-50%);
}

.section-steps-carousel__swiper {
    overflow: hidden;
    flex: 1;
}

.section-steps-carousel__swiper .swiper-slide {
    height: auto;
}

.section-steps-carousel__prev,
.section-steps-carousel__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 27px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    color: #1a1a1a;
    opacity: 0.2;
    padding: 0;
    transition: opacity 0.3s;
    z-index: 10;
    flex-shrink: 0;
}

.section-steps-carousel__prev {
    left: 0;
}

.section-steps-carousel__next {
    right: 0;
}

.section-steps-carousel__prev:hover,
.section-steps-carousel__next:hover {
    opacity: 0.5;
}

.section-steps-carousel__prev svg,
.section-steps-carousel__next svg {
    width: 27px;
    height: 44px;
}

.section-steps-carousel__card {
    background: var(--aniro-color-white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 50px;
    min-height: 530px;
    height: 100%;
    box-sizing: border-box;
}

.section-steps-carousel__card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex: 1;
}

.section-steps-carousel__card-text {
    flex: 1;
}

.section-steps-carousel__card-title {
    font-family: var(--aniro-font-heading);
    font-size: 30px;
    line-height: 36px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 10px;
    padding: 0 0 10px;
    position: relative;
}

.section-steps-carousel__card-title::before {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: #ccc;
    position: absolute;
    left: 0;
    bottom: 0;
    transition: all 0.4s ease;
}

.section-steps-carousel__card-title::after {
    content: '';
    display: block;
    width: 25%;
    height: 2px;
    background: #f30101;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 3;
    transition: all 0.4s ease;
}

.section-steps-carousel__card:hover .section-steps-carousel__card-title::after {
    width: 100%;
}

.section-steps-carousel__card-desc {
    font-family: var(--aniro-font-body);
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    color: #999999;
    margin: 0;
}

.section-steps-carousel__card-icon {
    flex-shrink: 0;
}

.section-steps-carousel__card-icon img {
    width: 124px;
    height: auto;
    object-fit: contain;
    display: block;
}

.section-steps-carousel__card-link {
    font-family: var(--aniro-font-body);
    font-size: 14px;
    font-weight: 400;
    color: #999999;
    text-decoration: none;
    margin-top: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.section-steps-carousel__card-link::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12' fill='none'%3E%3Cpath d='M10 1L15 6L10 11' stroke='%23999' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M1 6H15' stroke='%23999' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.section-steps-carousel__card-link:hover {
    color: var(--aniro-color-primary);
}

.section-steps-carousel__card-link:hover::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12' fill='none'%3E%3Cpath d='M10 1L15 6L10 11' stroke='%23d62a1a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M1 6H15' stroke='%23d62a1a' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
}

.section-steps-carousel__card-slashes {
    color: var(--aniro-color-primary);
    font-weight: 900;
    font-style: italic;
    font-family: var(--aniro-font-heading);
}

.section-steps-carousel__cta {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.section-steps-carousel__cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--aniro-font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--aniro-color-black);
    text-decoration: none;
    text-transform: uppercase;
    padding: 8px 12px;
    border: 1px solid var(--aniro-color-black);
    transition: all 0.2s;
}

.section-steps-carousel__cta-btn:hover {
    border-color: var(--aniro-color-primary);
    color: var(--aniro-color-primary);
}

.section-steps-carousel__cta-slashes {
    color: var(--aniro-color-primary);
    font-weight: 900;
    font-style: italic;
    font-size: 28px;
}

/* Steps carousel responsive */
@media (max-width: 1700px) {
    .section-steps-carousel__wrapper {
        width: 100vw !important;
        max-width: 100vw !important;
        margin: 0 !important;
        padding: 50px 50px !important;
    }
    .section-steps-carousel__prev {
        left: 10px !important;
    }
    .section-steps-carousel__next {
        right: 10px !important;
    }
}

@media (max-width: 1100px) {
    .section-steps-carousel__card {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
        min-height: unset !important;
    }
}

@media (max-width: 800px) {
    .section-steps-carousel .section-title {
        font-size: 30px !important;
        line-height: 40px !important;
    }
    .section-steps-carousel__card-top {
        flex-direction: column-reverse;
    }
    .section-steps-carousel__card {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    .section-steps-carousel__card-icon {
        display: flex;
        justify-content: center;
    }
    .section-steps-carousel__card-icon img {
        aspect-ratio: 322 / 231;
        object-fit: contain;
    }
    .section-steps-carousel__card-text {
        width: 100%;
    }
    .section-steps-carousel {
        padding: 50px 0 !important;
    }
}

@media (max-width: 500px) {
    .section-steps-carousel__prev,
    .section-steps-carousel__next {
        width: 20px !important;
        height: 30px !important;
    }
    .section-steps-carousel__prev svg,
    .section-steps-carousel__next svg {
        width: 20px !important;
        height: 30px !important;
    }
    .section-steps-carousel__card-title {
        font-size: 22px !important;
    }
}

