:root {
    --colorTextBannerAgencymeV4: #ffffff;
    --colorTextButtonActionBannerV4: #ffffff;
    --colorBackgroundButtonActionBannerV4: var(--colorOne);
    --colorBackgroundHoverButtonActionBannerV4: var(--colorFour);
}

#section-top-hotels-mexican {
    padding: 50px 0;
}

.section-banner-me-agency-v4 .container-sub-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.section-banner-me-agency-v4 .container-sub-items .container-item-data span {
    font-size: 1.75rem;
}

.section-banner-me-agency-v4 .hero {
    position: relative;
    width: 1200px;
    height: 410px;
    background: url("../img/isla.webp") no-repeat center center/cover;
    border-radius: 15px;
    overflow: hidden;
    margin: auto;
    margin-top: 30px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}
/* Capa oscura con desvanecido */
.section-banner-me-agency-v4 .hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,rgba(3, 3, 3, 0.88) 0%, rgba(10, 10, 10, 0.81) 26%, rgba(255, 255, 255, 0) 71%);
    transition: all 0.3s ease;
}

.section-banner-me-agency-v4 .hero-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: var(--colorTextBannerAgencymeV4) !important;
    max-width: 492px;
    font-family: Arial, sans-serif;
    z-index: 2; /* encima del overlay */
}

/* .section-banner-me-agency-v4 .hero:hover::before {
    background: #000000a8;
} */

.section-banner-me-agency-v4 .btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: var(--colorBackgroundButtonActionBannerV4);
    color: var(--colorTextButtonActionBannerV4);
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease-in-out;
}

.section-banner-me-agency-v4 .btn:hover {
    /* background: #d62828; */
    background: var(--colorBackgroundHoverButtonActionBannerV4);
    color: var(--colorThree);
}

#section-top-hotels-mexican .hero-content h2 {
    color: #ffffff;
}
#section-top-hotels-mexican .hero-content div:nth-child(2) p {
    color: #d7d7d7;
}
.hero_top_list_position {
    color: #ffff;
    position: absolute;
    left: 10%;
    top: 7%;
    font-size: 0.9rem;
    font-weight: 300;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    transition: all 0.3s ease-out;
}

.hero_top_list_position div {
    background: #69696966;
    padding: 2px 13px;
    border-radius: 26px;
}

@media screen and (max-width: 1536px) {}
@media screen and (max-width: 1280px) {
    .section-banner-me-agency-v4 .hero-content {
        max-width: 400px;
    }
    .section-banner-me-agency-v4 .hero {
        width: 900px;
        height: 460px;
    }
}
@media screen and (max-width: 1024px) {
    .section-banner-me-agency-v4 .hero {
        width: 700px;
        height: 450px;
    }
}
@media screen and (max-width: 768px) {
    .section-banner-me-agency-v4 .hero {
        width: 91%;
        height: 450px;
    }

    .section-banner-me-agency-v4 .hero::before {
        background: #000000a8;
    }
    .hero_top_list_position {
        top: 18%;
        left: 5%;
    }
}
@media screen and (max-width: 640px) {
    .section-banner-me-agency-v4 .hero {
        width: 91%;
        height: 635px;
    }

    .section-banner-me-agency-v4 .hero-content {
        max-width: 90%;
        left: 6%;
    }

    .section-banner-me-agency-v4 .hero-content .btn {
        display: block;
    }
    .section-banner-me-agency-v4 .container-sub-items {
        grid-template-columns: repeat(2, 1fr);
    }
}