/* ==============================
   Homepage design refresh
   Ported from 8mhfront/index.html + css/8mh-custom.css
   Loaded after custom.css / 8mh-custom.css so these rules win.
============================== */

h2.footertitle {
    font-size: 21px;
    line-height: 30px;
}

/* Hero trust row (Handpicked / Personally verified / Loved by guests) */
.feature-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    padding: 2px 5px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 18px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
}

.feature-item .content h4 {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 5px;
}

.feature-item .content p {
    color: #f2f2f2;
    font-size: 16px;
    line-height: 1.3;
    margin: 0;
}

.feature-section .divider {
    width: 1px;
    height: 70px;
    background: rgba(254, 254, 254, 0.503);
    margin: 0 30px;
}

@media (max-width: 768px) {
    .feature-section {
        flex-direction: column;
        gap: 25px;
    }

    .feature-section .divider {
        width: 100%;
        height: 1px;
        margin: 0;
    }

    .feature-item {
        width: 100%;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
    }

    .feature-item .content h4 {
        font-size: 24px;
    }

    .feature-item .content p {
        font-size: 18px;
    }
}

/* USP benefits strip (100+ properties / Unique stays / 24x7 support / Safe & secure) */
.fe-benefits-section {
    width: 100%;
    max-width: 1350px;
    margin: 0 auto;
    padding: 24px 32px;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 20px;
}

.fe-benefit-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 16px;
    padding: 22px 20px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12), inset 0 1px 0 rgba(255,255,255,0.15);
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.fe-benefit-item:hover {
    background: rgba(255,255,255,0.16);
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0,0,0,0.16), inset 0 1px 0 rgba(255,255,255,0.2);
}

.fe-benefit-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fe-benefit-icon img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    display: block;
}

.fe-benefit-content h3 {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.2;
    color: #fff;
}

.fe-benefit-content p {
    margin: 0;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.55;
    color: #fff;
}

@media (max-width: 991px) {
    .fe-benefits-section {
        flex-wrap: wrap;
        gap: 28px;
    }

    .fe-benefit-item {
        flex: 0 0 calc(50% - 14px);
    }
}

@media (max-width: 767px) {
    .fe-benefits-section {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 20px;
        gap: 16px;
    }

    .fe-benefit-item {
        width: 100%;
    }

    .fe-benefit-icon img {
        width: 46px;
        height: 46px;
    }

    .fe-benefit-content h3 {
        font-size: 20px;
    }

    .fe-benefit-content p {
        font-size: 14px;
    }
}

/* Privé tier cards — refreshed look */
.wbx-tier-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
}

.wbx-tier-card {
    width: 218px;
    background: #F2EFEF;
    border-radius: 12px;
    padding: 38px 22px 35px;
    text-align: center;
    position: relative;
    flex-shrink: 0;
    color: #000;
    min-height: 350px;
}

.wbx-tier-card img {
    width: 45px;
    height: 45px;
}

.wbx-tier-card .partner-label {
    color: #4A7059;
}

.wbx-tier-card p {
    color: #4A7059;
}

.wbx-tier-card.active {
    min-height: 350px;
    background: #F2EFEF;
    padding-top: 38px;
}

.wbx-tier-icon {
    margin-bottom: 18px;
}

.wbx-tier-title {
    margin: 0;
    color: #466A55;
    line-height: 1;
    font-weight: 600;
    padding-top: 10px;
}

.wbx-tier-subtitle {
    margin-top: 18px;
    margin-bottom: 22px;
    font-size: 14px;
    letter-spacing: 4px;
    color: #3D3D3D;
    font-weight: 400;
}

.wbx-tier-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.wbx-tier-list li {
    color: #4B4B4B;
    font-size: 16px;
    line-height: 1.45;
    margin-bottom: 20px;
    font-weight: 400;
}

@media (max-width: 991px) {
    .wbx-tier-wrapper {
        overflow-x: auto;
        align-items: flex-start;
        padding-bottom: 10px;
    }

    .wbx-tier-card {
        min-width: 218px;
    }
}

/* Guest Chronicles — testimonials carousel */
.testimonial-carousel-container {
    padding: 0 70px;
}

.testimonial-track .testimonial-item {
    padding: 6px;
}

.testimonial-card {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    height: 100%;
    transition: transform .3s ease, background .3s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    background: rgba(255,255,255,.12);
}

.testimonial-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    display: block;
    border: 3px solid rgba(255,255,255,.25);
}

.testimonial-stars {
    color: #f5b942;
    font-size: 13px;
    letter-spacing: 3px;
    margin-bottom: 18px;
}

.testimonial-text {
    color: rgba(255,255,255,.9);
    font-size: 16px;
    line-height: 1.75;
    font-style: italic;
    margin-bottom: 22px;
    min-height: 140px;
}

.testimonial-name {
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 4px;
}

.testimonial-location {
    color: rgba(255,255,255,.65);
    font-size: 13px;
    letter-spacing: .3px;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 36px;
}

.testimonial-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255,255,255,.3);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all .3s ease;
}

.testimonial-dot.active {
    background: #fff;
    width: 26px;
    border-radius: 5px;
}

.carousel-btn:disabled {
    opacity: .35;
    cursor: not-allowed;
}

@media (max-width: 991px) {
    .testimonial-carousel-container {
        padding: 0 55px;
    }

    .testimonial-text {
        min-height: 160px;
    }
}

@media (max-width: 575px) {
    .testimonial-carousel-container {
        padding: 0 15px;
    }

    .testimonial-text {
        min-height: 0;
    }
}

/* Featured In marquee */
.featured-in-section {
    padding: 3.5rem 0;
}

.featured-in-marquee {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.featured-in-track {
    display: flex;
    align-items: center;
    width: max-content;
    gap: 90px;
    animation: featuredInScroll 25s linear infinite;
}

.featured-in-marquee:hover .featured-in-track {
    animation-play-state: paused;
}

@keyframes featuredInScroll {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-50% - 45px)); }
}

.featured-in-logo {
    flex: 0 0 340px;
    max-width: 380px;
    padding: 18px 10px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .3s ease, opacity .3s ease;
    opacity: .9;
}

.featured-in-logo img {
    max-width: 100%;
    max-height: 170px;
    object-fit: contain;
}

.featured-in-logo:hover {
    opacity: 1;
    transform: translateY(-2px);
}

@media (max-width: 575px) {
    .featured-in-track {
        gap: 50px;
        animation-duration: 18s;
    }

    .featured-in-logo {
        flex: 0 0 45%;
        padding: 10px;
    }
}
