/* ============================================
   Hero
   ============================================ */

#hero,
#hero-dos,
#hero-tres {
    position: relative;
}

.hero-image,
.hero-dos-image,
.hero-tres-image {
    position: relative;
}

/* ============================================
   Media
   ============================================ */

#hero picture,
#hero-dos picture,
#hero-tres picture {
    display: block;
}

#hero img,
#hero-dos img,
#hero-tres img {
    display: block;
    width: 100%;
    min-height: 70vh;
    object-fit: cover;
    filter: brightness(.75);
}

/* ============================================
   Overlay content
   ============================================ */

.hero-content,
.hero-dos-content,
.hero-tres-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 2rem;
}

/* ============================================
   Typography
   ============================================ */

#hero h1 {
    margin-bottom: 1.5rem;
    font-family: var(--display);
    font-size: clamp(5rem, 8vw, 7rem);
    line-height: 1.05;

}

#hero-dos h2,
#hero-tres h2 {
    margin-bottom: 1.5rem;
    font-family: var(--display);
    line-height: 1.05;
    color: white;
    font-size: 4.5rem;
}

#hero .volanta,
#hero-dos .volanta,
#hero-tres .volanta {
    margin-bottom: 2rem;
    max-width: 40rem;
    font-family: var(--body);
    font-weight: 400;
    font-size: clamp(1rem, 1.7vw, 1.5rem);
    line-height: 1.05;
    color: rgb(255 255 255 / 92%);
}

#hero p.volanta {
    line-height: 1.5;
    color: #fff;
    text-shadow: 0 2px 4px rgb(0 0 0 / 55%);
}

/* ============================================
   CTA
   ============================================ */

.cta a {
    display: inline-block;
    padding: 14px 28px;
    background: var(--cta);
    color: var(--ink);
    text-decoration: none;
    font-family: var(--mono);
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    transition:
        transform .15s ease,
        background-color .15s ease;
}

.cta a:hover {
    transform: translateY(-2px);
}

/* nuevos */

.hero-tres-overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(20,27,46,.92) 0%,
            rgba(20,27,46,.80) 35%,
            rgba(20,27,46,.65) 70%,
            rgba(20,27,46,.50) 100%
        );
}
.hero-tres-content {
    width: calc(100% - 3rem);
    margin-left: 5vw;
    text-align: left;
    align-items: flex-start;
}

#hero-tres h1 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-family: var(--display);
    max-width: 50%;
    line-height: 1;
    padding-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .hero-tres-content {
        margin-left: 0;
        width: 100%;
        padding: 1.5rem 1.5rem 1.5rem 2rem;
    }

    #hero-tres h1 {
        font-size: 2.2rem;
        padding-bottom:1rem;
        font-family: var(--display);
        width:100%;
        max-width: 100%;
    }
}
#hero-tres .volanta {
    margin-bottom: 1rem;
    max-width: 40rem;
    font-family: var(--mono);
    font-size: clamp(0.75rem, 1vw, 0.9rem);
    text-transform: uppercase;
    line-height: 1.5;
    color: var(--cta);
}
#hero-tres p:not(.volanta) {
    font-size: clamp(1rem, 1.2vw, 1.25rem);
    line-height: 1.8;
    max-width: 32rem;

}

.trip-planner iframe {
    width: 100%;
    aspect-ratio: 16/9;
    height: auto;
    margin-bottom:2rem;
}
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
    border: 0 !important;
}
