/* =================== HERO =================== */
.hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0 100px;
    background-image: url('https://images.unsplash.com/photo-1618773928121-c32242e63f39?w=1920');
    background-size: cover;
    background-position: center;
    color: #fff;
    overflow: hidden;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 18, 51, 0.55) 0%,
        rgba(0, 18, 51, 0.35) 50%,
        rgba(0, 18, 51, 0.6) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1100px;
    width: 100%;
}

.hero__title {
    color: #fff;
    margin-bottom: 32px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* =================== SEARCH BOX =================== */
.search-box {
    display: grid;
    grid-template-columns: 2.2fr 1.1fr 1.1fr 1.4fr auto;
    gap: 0;
    background: #fff;
    padding: 6px;
    border-radius: 999px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    margin-bottom: 20px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
}

.search-box__field {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    position: relative;
}

.search-box__field:not(:last-of-type)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 25%;
    bottom: 25%;
    width: 1px;
    background: #F0F0F0;
}

.search-box__field input,
.search-box__field select {
    border: none;
    background: transparent;
    font-size: 0.92rem;
    font-family: inherit;
    font-weight: 500;
    color: #1A1A1A;
    outline: none;
    width: 100%;
}

.search-box__field input::placeholder {
    color: #999;
}

.search-box__icon {
    font-size: 1rem;
    opacity: 0.7;
}

.search-box__submit {
    background: #001B4D;
    color: #fff;
    padding: 14px 32px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
}

.search-box__submit:hover {
    background: #E4002B;
}

.hero__checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.92);
    cursor: pointer;
}

.hero__checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #E4002B;
}

/* =================== CARTES AVANTAGES =================== */
.section--cards {
    padding: 56px 0 40px;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.advantage-card {
    background: #fff;
    border: 1px solid #E5E5E5;
    border-radius: 16px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease;
}

.advantage-card:hover {
    border-color: #001B4D;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.advantage-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.advantage-card__icon--red {
    background: #FEE8EC;
    color: #E4002B;
}

.advantage-card__icon--navy {
    background: #F4F6FB;
    color: #001B4D;
}

.advantage-card h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.35rem;
    margin-bottom: 10px;
}

.advantage-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 16px;
    flex: 1;
}

/* =================== SECTION FEATURED =================== */
.section--featured {
    padding: 40px 0 72px;
}

.featured-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    background: #F5F0EB;
    border-radius: 16px;
    overflow: hidden;
    min-height: 380px;
}

.featured-block__text {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-block__badge {
    display: inline-block;
    background: #E4002B;
    color: #fff;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 20px;
    align-self: flex-start;
}

.featured-block__text h2 {
    font-size: 2.5rem;
    margin-bottom: 14px;
}

.featured-block__text p {
    color: #666;
    font-size: 1rem;
    margin-bottom: 28px;
    line-height: 1.6;
}

.featured-block__text .btn--primary {
    background: #E4002B;
    align-self: flex-start;
}

.featured-block__text .btn--primary:hover {
    background: #B80023;
}

.featured-block__image {
    min-height: 380px;
    overflow: hidden;
}

.featured-block__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =================== DESTINATIONS =================== */
.destinations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.destination-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
    aspect-ratio: 4 / 5;
    transition: transform 0.2s ease;
}

.destination-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.destination-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.15) 45%, transparent 75%);
}

.destination-card:hover {
    transform: translateY(-4px);
}

.destination-card:hover img {
    transform: scale(1.08);
}

.destination-card__info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    z-index: 2;
    color: #fff;
}

.destination-card__info h3 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 2px;
}

.destination-card__info p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.85);
}

/* =================== HOTELS GRID =================== */
.hotels-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.hotel-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #F0F0F0;
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease;
}

.hotel-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.hotel-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.hotel-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hotel-card:hover .hotel-card__media img {
    transform: scale(1.06);
}

.hotel-card__fav {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.hotel-card__fav:hover {
    transform: scale(1.1);
}

.hotel-card__fav.is-active {
    background: #FEE8EC;
    color: #E4002B;
}

.hotel-card__body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.hotel-card__body h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #1A1A1A;
    line-height: 1.3;
}

.hotel-card__location {
    font-size: 0.82rem;
    color: #666;
}

.hotel-card__rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.hotel-card__rating strong {
    font-size: 0.85rem;
    color: #1A1A1A;
}

.rating-count {
    font-size: 0.78rem;
    color: #999;
}

.hotel-card__footer {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #F0F0F0;
    display: flex;
    justify-content: flex-end;
    align-items: baseline;
}

.price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.price__value {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1A1A1A;
}

.price__unit {
    font-size: 0.78rem;
    color: #666;
}

/* =================== FEATURES =================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature {
    text-align: center;
    padding: 28px 20px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #F0F0F0;
    transition: all 0.2s ease;
}

.feature:hover {
    border-color: #001B4D;
    transform: translateY(-3px);
}

.feature__icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #F4F6FB;
    color: #001B4D;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.feature h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature p {
    color: #666;
    font-size: 0.87rem;
    line-height: 1.55;
}

/* =================== RESPONSIVE =================== */
@media (max-width: 1024px) {
    .hotels-grid,
    .features-grid,
    .destinations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 860px) {
    .search-box {
        grid-template-columns: 1fr 1fr;
        border-radius: 16px;
        padding: 12px;
    }
    .search-box__field:not(:last-of-type)::after {
        display: none;
    }
    .search-box__field {
        border: 1px solid #F0F0F0;
        border-radius: 8px;
    }
    .search-box__submit {
        grid-column: span 2;
        border-radius: 8px;
    }
    .advantage-grid {
        grid-template-columns: 1fr;
    }
    .featured-block {
        grid-template-columns: 1fr;
    }
    .featured-block__image {
        min-height: 240px;
    }
}

@media (max-width: 640px) {
    .hero {
        min-height: auto;
        padding: 60px 0 70px;
    }
    .search-box {
        grid-template-columns: 1fr;
    }
    .search-box__submit {
        grid-column: span 1;
    }
    .hotels-grid,
    .features-grid,
    .destinations-grid {
        grid-template-columns: 1fr;
    }
}
