/* ==========================================================================
   Custom Landing Cards
   Hotel cards grid with images. Supports flat cards and sub-groups.
   ========================================================================== */

:root {
    --landing-cards-gap: 40px;
}
@media (max-width: 992px) {
    :root {
        --landing-cards-gap: 30px;
    }
}

#custom-landing-cards {
    padding: 100px 0;
    margin-bottom: var(--space-between-sections);
}

.landing-cards__container {
    max-width: var(--neosection-width);
    margin: 0 auto;
    padding: 0 98px;
}

.landing-cards__title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 40px;
}

.landing-cards__title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #000;
    margin: 20px auto 0;
}

.landing-cards__subtitle {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
}

/* Sub-grupos */
.landing-cards__group {
    margin-top: 80px;
}

.landing-cards__group:first-of-type {
    margin-top: 60px;
}

.landing-cards__group-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 10px;
}

.landing-cards__group-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

.landing-cards__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--landing-cards-gap);
    margin-top: 30px;
}

.landing-cards__item {
    border-radius: 20px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.landing-cards__item:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.landing-cards__item .item-img {
    height: 220px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.landing-cards__item .item-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.landing-cards__item .item-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 15px 0;
}

.landing-cards__item .item-text {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 25px;
}

.landing-cards__item .item-text p:last-child {
    margin-bottom: 0;
}

.landing-cards__btn--outline {
    display: inline-block;
    padding: 14px 35px;
    border: 2px solid #000;
    color: #000;
    text-decoration: none;
    border-radius: 60px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    margin-top: 20px;
    width: 100%;
    text-align: center;
}

.landing-cards__btn--outline:hover {
    background-color: #000;
    color: #fff;
    transform: scale(1.05);
}


@media (max-width: 992px) {
    #custom-landing-cards {
        padding: 40px 0;
    }

    .landing-cards__container {
        padding: 0 var(--neosection-padding);
    }

    .landing-cards__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .landing-cards__group {
        margin-top: 40px;
    }

    .landing-cards__group-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 767px) {
    .landing-cards__grid {
        grid-template-columns: 1fr;
    }
}
