/**
 * Costa Platform â€” Destination Hero Diamond
 * Editorial v1.0 â€” Final
 */

.cst-destination-hero {
    position: relative;
    width: 100%;
    min-height: 66vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-image: var(--cst-destination-hero-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    isolation: isolate;
}

.cst-destination-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 42%, rgba(212, 175, 55, .14), transparent 32%),
        linear-gradient(90deg, rgba(6, 43, 87, .96) 0%, rgba(6, 43, 87, .86) 36%, rgba(6, 43, 87, .50) 68%, rgba(6, 43, 87, .18) 100%),
        linear-gradient(180deg, rgba(6, 43, 87, .06) 0%, rgba(6, 43, 87, .22) 54%, rgba(6, 43, 87, .78) 100%);
    z-index: -1;
}

.cst-destination-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 22%;
    background: linear-gradient(180deg, transparent 0%, rgba(6, 43, 87, .72) 100%);
    z-index: -1;
    pointer-events: none;
}

.cst-destination-hero__overlay {
    display: none;
}

.cst-destination-hero__inner {
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
    padding: 118px 32px 72px;
}

.cst-destination-hero__content {
    max-width: 820px;
    padding-left: 52px;
}

.cst-destination-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 24px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(6, 43, 87, .74);
    border: 1px solid rgba(212, 175, 55, .50);
    color: #F1CC4F;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .26em;
    text-transform: uppercase;
    box-shadow: 0 18px 42px rgba(0,0,0,.22);
    backdrop-filter: blur(14px);
}

.cst-destination-hero__title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(68px, 7vw, 118px);
    line-height: .88;
    font-weight: 950;
    letter-spacing: -0.076em;
    text-shadow: 0 24px 64px rgba(0,0,0,.34);
}

.cst-destination-hero__region {
    margin: 26px 0 0;
    color: #F1CC4F;
    font-size: 14px;
    font-weight: 950;
    letter-spacing: .20em;
    text-transform: uppercase;
}

.cst-destination-hero__summary {
    margin: 28px 0 0;
    max-width: 700px;
    color: rgba(255,255,255,.92);
    font-size: clamp(17px, 1.25vw, 21px);
    line-height: 1.62;
    font-weight: 560;
    text-shadow: 0 14px 36px rgba(0,0,0,.30);
}

.cst-destination-hero__metrics {
    margin-top: 28px;
    max-width: 680px;
}

.cst-destination-hero__metrics .cst-metrics__item {
    min-height: 44px;
    padding: 0 20px;
}

.cst-destination-hero__metrics .cst-icon {
    width: 15px;
    height: 15px;
    color: #ffffff;
    opacity: .96;
}

.cst-destination-hero__actions {
    display: none;
}

.cst-destination-hero__eyebrow,
.cst-destination-hero__title,
.cst-destination-hero__region,
.cst-destination-hero__summary,
.cst-destination-hero__metrics {
    animation: cstDestinationHeroReveal .72s ease both;
}

.cst-destination-hero__title {
    animation-delay: .06s;
}

.cst-destination-hero__region {
    animation-delay: .12s;
}

.cst-destination-hero__summary {
    animation-delay: .18s;
}

.cst-destination-hero__metrics {
    animation-delay: .24s;
}

@keyframes cstDestinationHeroReveal {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .cst-destination-hero__eyebrow,
    .cst-destination-hero__title,
    .cst-destination-hero__region,
    .cst-destination-hero__summary,
    .cst-destination-hero__metrics {
        animation: none;
    }
}

@media (max-width: 1024px) {
    .cst-destination-hero {
        min-height: 640px;
    }

    .cst-destination-hero__inner {
        padding: 108px 28px 78px;
    }

    .cst-destination-hero__content {
        max-width: 740px;
        padding-left: 24px;
    }
}

@media (max-width: 767px) {
    .cst-destination-hero {
        min-height: 620px;
        background-position: center;
    }

    .cst-destination-hero::before {
        background:
            linear-gradient(180deg, rgba(6, 43, 87, .30) 0%, rgba(6, 43, 87, .84) 64%, rgba(6, 43, 87, .96) 100%);
    }

    .cst-destination-hero::after {
        height: 18%;
        background: linear-gradient(180deg, transparent 0%, rgba(6, 43, 87, .86) 100%);
    }

    .cst-destination-hero__inner {
        padding: 92px 22px 60px;
    }

    .cst-destination-hero__content {
        max-width: 100%;
        padding-left: 0;
    }

    .cst-destination-hero__eyebrow {
        margin-bottom: 20px;
    }

    .cst-destination-hero__title {
        font-size: clamp(50px, 15vw, 70px);
        letter-spacing: -0.066em;
    }

    .cst-destination-hero__region {
        margin-top: 22px;
    }

    .cst-destination-hero__summary {
        margin-top: 22px;
        font-size: 16px;
        line-height: 1.58;
    }

    .cst-destination-hero__metrics {
        max-width: 100%;
        margin-top: 24px;
    }
}
/* Diamond quick facts panel */
.cst-destination-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
    gap: clamp(36px, 6vw, 92px);
    align-items: end;
}

.cst-destination-hero__quickfacts {
    align-self: center;
    padding: 24px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 26px;
    background: linear-gradient(145deg, rgba(6,43,87,.78), rgba(6,43,87,.48));
    box-shadow: 0 28px 80px rgba(0,0,0,.28);
    backdrop-filter: blur(18px) saturate(1.2);
    animation: cstDestinationHeroReveal .72s .28s ease both;
}

.cst-destination-hero__quickfacts-label {
    display: inline-flex;
    margin-bottom: 18px;
    color: #f1cc4f;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.cst-destination-hero__quickfacts-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 10px;
}

.cst-destination-hero__quickfacts-grid > div {
    min-height: 82px;
    padding: 14px;
    border-radius: 16px;
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.10);
}

.cst-destination-hero__quickfacts-grid > .is-wide {
    grid-column: 1 / -1;
    min-height: auto;
}

.cst-destination-hero__quickfacts strong,
.cst-destination-hero__quickfacts span {
    display: block;
}

.cst-destination-hero__quickfacts strong {
    margin-bottom: 7px;
    color: rgba(255,255,255,.65);
    font-size: 10px;
    line-height: 1.2;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.cst-destination-hero__quickfacts-grid span {
    color: #fff;
    font-size: 14px;
    font-weight: 760;
    line-height: 1.35;
}

.cst-destination-hero__quickfacts-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 18px;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.cst-destination-hero__quickfacts-link span {
    color: #f1cc4f;
    transition: transform .25s ease;
}

.cst-destination-hero__quickfacts-link:hover span {
    transform: translateX(4px);
}

@media (max-width: 1100px) {
    .cst-destination-hero__inner {
        grid-template-columns: minmax(0,1fr) 320px;
        gap: 34px;
    }
}

@media (max-width: 900px) {
    .cst-destination-hero__inner {
        display: block;
    }

    .cst-destination-hero__quickfacts {
        display: none;
    }
}
