.hero-banner {
    position: relative;
    height: 420px;
    overflow: hidden;
    background: var(--dark)
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(17, 20, 24, .45) 0%, rgba(17, 20, 24, .25) 50%, rgba(17, 20, 24, .85) 100%), url('https://images.unsplash.com/photo-1518638150340-f706e86654de?w=1400&q=80') center/cover no-repeat;
    transform: scale(1.05);
    animation: subtleZoom 8s ease-out forwards
}

@keyframes subtleZoom {
    from {
        transform: scale(1.05)
    }

    to {
        transform: scale(1)
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 2rem;
    animation: fadeUp .8s ease-out forwards
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.hero-eyebrow {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
    font-weight: 500
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--white);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.2rem
}

.hero-title span {
    color: var(--gold);
    font-style: italic
}

.hero-subtitle {
    color: rgba(255, 255, 255, .75);
    font-size: 15px;
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 2rem
}

.hero-cta {
    display: flex;
    gap: 1rem
}

.search-wrap {
    background: var(--white);
    padding: 0 3rem;
    margin-top: -28px;
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center
}

.search-bar {
    background: var(--white);
    border: 1px solid var(--gray-mid);
    border-radius: 4px;
    display: flex;
    align-items: stretch;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .1);
    overflow: hidden;
    max-width: 900px;
    width: 100%
}

.search-field,
.search-select {
    padding: 14px 20px;
    border: none;
    border-right: 1px solid var(--gray-mid);
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    outline: none;
    color: var(--gray-text);
    background: white
}

.search-field {
    flex: 1;
    color: var(--text-dark)
}

.search-field::placeholder {
    color: var(--gray-text)
}

.search-select {
    min-width: 140px;
    cursor: pointer
}

.search-btn {
    background: var(--gold);
    color: var(--dark);
    border: none;
    padding: 14px 28px;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background .2s
}

.search-btn:hover {
    background: var(--gold-light)
}

.filter-tabs {
    display: flex;
    gap: .5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap
}

.filter-tab {
    padding: 7px 18px;
    border: 1px solid var(--gray-mid);
    border-radius: 2px;
    font-size: 13px;
    cursor: pointer;
    background: white;
    color: var(--gray-text);
    font-family: 'DM Sans', sans-serif;
    transition: all .15s
}

.filter-tab:hover {
    border-color: var(--gold);
    color: var(--gold)
}

.filter-tab.active {
    background: var(--dark);
    border-color: var(--dark);
    color: var(--white)
}

.tours-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.8rem;
    margin-bottom: 3.5rem
}

.tour-card {
    background: var(--white);
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid var(--gray-mid);
    transition: transform .25s, box-shadow .25s;
    cursor: pointer;
    animation: cardIn .5s ease-out both;
    text-decoration: none;
    color: inherit;
    display: block
}

@keyframes cardIn {
    from {
        opacity: 0;
        transform: translateY(16px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.tour-card:nth-child(1) {
    animation-delay: .05s
}

.tour-card:nth-child(2) {
    animation-delay: .1s
}

.tour-card:nth-child(3) {
    animation-delay: .15s
}

.tour-card:nth-child(4) {
    animation-delay: .2s
}

.tour-card:nth-child(5) {
    animation-delay: .25s
}

.tour-card:nth-child(6) {
    animation-delay: .3s
}

.tour-card:nth-child(7) {
    animation-delay: .35s
}

.tour-card:nth-child(8) {
    animation-delay: .4s
}

.tour-card:nth-child(9) {
    animation-delay: .45s
}

.tour-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, .12)
}

.card-image-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3
}

.card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease
}

.tour-card:hover .card-image-wrap img {
    transform: scale(1.06)
}

.card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--gold);
    color: var(--dark);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 9px;
    border-radius: 2px;
    z-index: 2
}

.card-badge.vip {
    background: #5B21B6;
    color: white
}

.card-badge.pop {
    background: #0F766E;
    color: white
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(17, 20, 24, .65) 0%, transparent 55%);
    opacity: 0;
    transition: opacity .3s
}

.tour-card:hover .card-overlay {
    opacity: 1
}

.card-quick-view {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: var(--white);
    color: var(--dark);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 7px 16px;
    border-radius: 2px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity .3s, transform .3s;
    z-index: 3
}

.tour-card:hover .card-quick-view {
    opacity: 1;
    transform: translateX(-50%) translateY(0)
}

.card-body {
    padding: 14px 16px 16px
}

.card-title {
    font-family: 'Playfair Display', serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
    line-height: 1.3
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap
}

.card-duration {
    font-size: 12px;
    color: var(--gray-text)
}

.card-rating {
    font-size: 12px;
    color: var(--gold)
}

.card-pricing {
    display: flex;
    align-items: baseline;
    gap: 6px;
    border-top: 1px solid var(--gray-mid);
    padding-top: 10px
}

.price-from {
    font-size: 10px;
    color: var(--gray-text);
    text-transform: uppercase;
    letter-spacing: .5px
}

.price-current {
    font-size: 17px;
    font-weight: 600;
    color: var(--gold);
    font-family: 'Playfair Display', serif
}

.price-currency {
    font-size: 11px;
    color: var(--gray-text)
}

.wishlist-btn {
    margin-left: auto;
    background: none;
    border: 1px solid var(--gray-mid);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color .2s;
    font-size: 13px;
    color: var(--gray-text);
    flex-shrink: 0
}

.wishlist-btn:hover {
    border-color: #e05252;
    color: #e05252
}

/* ---- XCARET PARQUES ---- */
.xcaret-parques {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 4rem
}

.xcaret-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem
}

.xcaret-card {
    background: white;
    border: 1px solid var(--gray-mid);
    border-radius: 4px;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform .25s, box-shadow .25s
}

.xcaret-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .1)
}

.xcaret-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: .7rem
}

.xcaret-card p {
    font-size: 13px;
    color: var(--gray-text);
    line-height: 1.6;
    margin-bottom: .6rem
}

.xcaret-card .xcaret-tag {
    font-size: 12px;
    color: var(--accent);
    font-style: italic
}

.xcaret-price {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-mid);
    font-size: 13px;
    color: var(--gray-text)
}

.xcaret-price strong {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--gold)
}

.xcaret-cta {
    text-align: center;
    margin-top: 2rem
}

@media(max-width:1024px) {
    .xcaret-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:600px) {
    .xcaret-grid {
        grid-template-columns: 1fr
    }
}

@media(max-width:1200px) {
    .tours-grid {
        grid-template-columns: repeat(3, 1fr)
    }
}

@media(max-width:800px) {
    .tours-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .search-wrap {
        padding: 0 1.5rem
    }
}

@media(max-width:480px) {
    .tours-grid {
        grid-template-columns: 1fr
    }

    .hero-cta {
        flex-direction: column
    }

    .search-bar {
        flex-direction: column
    }

    .search-field,
    .search-select {
        border-right: none;
        border-bottom: 1px solid var(--gray-mid)
    }
}