.home-highlights {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
    width: 100%;
    padding: 24px 0;
    background: #fff;
}

.home-highlights .container-fluid {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
    width: 100%;
    max-width: 1225px !important;
}

.home-highlights__head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    gap: 10px;
    width: 100%;
    margin: 0;
}

.home-highlights__title {
    display: flex;
    align-items: center;
    width: 100%;
    margin: 0;
    color: #043c5a;
    font-family: Lato, sans-serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 26px;
}

.home-highlights__subtitle {
    display: flex;
    align-items: center;
    width: 100%;
    margin: 0;
    color: #595959;
    font-family: Lato, sans-serif;
    font-weight: 300;
    font-size: 20px;
    line-height: 24px;
}

.home-momento .container-fluid {
    gap: 29px;
}

.home-momento.home-highlights {
    background-color: #fff;
}

.home-momento__swiper,
.home-areas__swiper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.home-momento__swiper .swiper-slide {
    width: calc(50% - 7px);
    max-width: calc(50% - 7px);
    height: auto;
    box-sizing: border-box;
}

.home-momento__card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    isolation: isolate;
    width: 100%;
    max-width: 100%;
    height: 290px;
    padding: 16px;
    overflow: hidden;
    border-radius: 20px 0;
    text-decoration: none;
    color: #fff;
    background-color: #121212;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.home-momento__card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(90, 90, 90, 0) 0%, rgba(64, 64, 64, 0.360784) 48.77%, #121212 100%);
    border-radius: 20px 0;
    z-index: 0;
}

.home-momento__copy {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    align-self: stretch;
    gap: 12px;
    width: 100%;
    z-index: 3;
}

.home-momento__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    gap: 4px;
    width: 100%;
}

.home-momento__name {
    width: 100%;
    margin: 0;
    color: #fff;
    font-family: Lato, sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
}

.home-momento__desc {
    width: 100%;
    margin: 0;
    color: #fff;
    font-family: Lato, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
}

.home-momento__arrow {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    color: #fff;
    font-family: Lato, sans-serif;
    font-size: 18px;
    line-height: 20px;
}

.home-momento__card:hover {
    text-decoration: none;
    color: #fff;
}

.home-areas__card:hover,
.home-areas__card:hover .home-areas__name,
.home-areas__card:hover .home-areas__count {
    text-decoration: none;
    color: #043c5a;
}

.home-areas .container-fluid {
    gap: 32px;
}

.home-areas__grid {
    display: grid;
    grid-template-columns: repeat(4, 283px);
    justify-content: space-between;
    align-items: stretch;
    align-self: stretch;
    row-gap: 15px;
    width: 100%;
}

.home-areas__swiper .swiper-slide {
    width: 283px;
    height: auto;
}

.home-areas__card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    isolation: isolate;
    width: 100%;
    max-width: 100%;
    min-height: 238px;
    overflow: hidden;
    background: var(--areas-bg, #fff);
    border: 1px solid #e5e5e5;
    border-radius: 20px 0;
    text-decoration: none;
    color: inherit;
}

.home-areas__media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 134px;
    overflow: hidden;
    background: var(--areas-icon, #e5e5e5);
    z-index: 0;
}

.home-areas__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-areas__icon {
    position: absolute;
    left: 16px;
    top: 118px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: content-box;
    width: 32px;
    height: 32px;
    border: 5px solid var(--areas-bg, #fff);
    border-radius: 100px;
    background: var(--areas-icon, #043c5a);
    color: var(--areas-icon-color, #fff);
    font-size: 11px;
    z-index: 3;
}

.home-areas__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    align-self: stretch;
    gap: 9px;
    width: 100%;
    min-height: 87px;
    padding: 16px;
    background: var(--areas-bg, #fff);
    position: relative;
    z-index: 1;
}

.home-areas__name {
    width: 100%;
    margin: 0;
    color: #043c5a;
    font-family: Lato, sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
}

.home-areas__meta {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.home-areas__count {
    flex: 1 1 auto;
    margin: 0;
    color: #043c5a;
    font-family: Lato, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
}

.home-areas__arrow {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    color: #043c5a;
    font-size: 14px;
    line-height: 20px;
}

.home-highlights .swiper-button-next,
.home-highlights .swiper-button-prev {
    z-index: 4;
}

@media (max-width: 767px) {
    .home-highlights {
        padding: 24px 5px!important;
    }
    .home-highlights__head {
        gap: 8px;
        width: 100%;
        padding: 0 16px;
        box-sizing: border-box;
    }

    .home-highlights__title {
        font-size: 26px;
        line-height: 32px;
        width: 100%;
    }

    .home-highlights__subtitle {
        font-size: 18px;
        line-height: 25px;
        width: 100%;
    }

    .home-momento .container-fluid {
        gap: 18px;
        padding-left: 0;
        padding-right: 0;
    }

    .home-momento__swiper {
        overflow: visible;
        width: 100%;
    }

    .home-momento__swiper .swiper-slide {
        width: 100%;
        max-width: 100%;
        margin-right: 0;
    }

    .home-momento__card {
        height: 280px;
        padding: 16px;
        border-radius: 18px 0;
    }

    .home-momento__copy {
        gap: 12px;
    }

    .home-momento__name {
        font-size: 24px;
        line-height: 28px;
    }

    .home-momento__desc {
        font-size: 16px;
        line-height: 20px;
    }

    .home-momento__arrow {
        width: 30px;
        height: 30px;
        font-size: 16px;
        line-height: 1;
    }

    .home-momento .swiper-button-next,
    .home-momento .swiper-button-prev {
        width: 42px;
        height: 42px;
        margin-top: -21px;
    }

    /* Section — mobile */
    .home-momento.home-highlights {
        padding: 24px 5px!important;
        height: auto;
    }
    .home-areas.home-highlights {
        padding: 24px 5px!important;
        height: auto;
    }

    .home-areas .container-fluid {
        padding-left: 0;
        padding-right: 0;
        gap: 16px;
        max-width: none;
    }

    .home-areas__swiper {
        overflow: visible;
        height: auto;
    }

    .home-areas__swiper .swiper-wrapper {
        display: flex;
        flex-direction: column;
        transform: none !important;
        gap: 12px;
        width: 100%;
        height: auto;
    }

    .home-areas__swiper .swiper-slide {
        width: 100% !important;
        margin-right: 0 !important;
    }

    .home-areas .swiper-button-next,
    .home-areas .swiper-button-prev {
        display: none !important;
    }

    .home-areas__card {
        width: 100%;
    }

    .home-areas__name,
    .home-areas__count,
    .home-areas__arrow,
    .home-areas__card:hover .home-areas__name,
    .home-areas__card:hover .home-areas__count {
        color: var(--areas-icon, #043c5a);
    }

    .home-areas__grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (min-width: 576px) and (max-width: 1199px) {
    .home-areas__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
    }
}
