@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --lux-navy: #061b2f;
    --lux-blue: #036b8f;
    --lux-blue-2: #0a8fb8;
    --lux-turquoise: #32d3c9;
    --lux-soft: #e8fbfa;
    --lux-gold: #c6a45d;
    --lux-ink: #0f2137;
    --lux-muted: #5e7288;
    --lux-border: rgba(8, 73, 105, .13);
    --lux-white: #fff;
    --lux-bg: #f5fbff;
    --lux-shadow: 0 24px 70px rgba(6, 27, 47, .12);
    --lux-shadow-soft: 0 16px 42px rgba(6, 27, 47, .09);
    --radius-xl: 34px;
    --radius-lg: 26px;
    --radius-md: 18px;
    --container: 1180px;
    --navy: var(--lux-navy);
    --sand: #f2fbfb;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Cairo', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--lux-ink);
    background: linear-gradient(180deg, #fff 0%, var(--lux-bg) 42%, #fff 100%);
    line-height: 1.75;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}
body.lang-en { font-family: 'Inter', 'Cairo', system-ui, sans-serif; }
a { color: inherit; text-decoration: none; transition: color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
input, select, textarea { color: var(--lux-ink); }
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; max-width: var(--container); }
.skip-link { position: absolute; top: -70px; inset-inline-start: 16px; z-index: 9999; background: var(--lux-navy); color: #fff; padding: 10px 14px; border-radius: 999px; }
.skip-link:focus { top: 12px; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(6, 27, 47, .06);
    box-shadow: 0 10px 35px rgba(6, 27, 47, .05);
}
.lux-navbar { padding: 13px 0; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.lux-brand { display: inline-flex; align-items: center; gap: 14px; min-width: max-content; color: var(--lux-navy); }
.brand-mark, .lux-brand > span:not(.brand-copy) {
    width: 60px;
    height: 60px;
    border-radius: 20px;
    display: inline-grid;
    place-items: center;
    background: linear-gradient(145deg, var(--lux-blue), var(--lux-turquoise));
    color: #fff !important;
    font-weight: 900;
    font-size: 1.16rem;
    letter-spacing: -.04em;
    box-shadow: 0 16px 36px rgba(3, 107, 143, .26);
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.05; }
.brand-copy b, .lux-brand > b { font-size: 1.22rem; letter-spacing: -.03em; color: var(--lux-navy); font-weight: 900; }
.brand-copy small { margin-top: 5px; color: var(--lux-muted); font-size: .74rem; font-weight: 800; letter-spacing: .02em; }
.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, .70);
    padding: 7px;
    border: 1px solid rgba(6, 27, 47, .07);
    border-radius: 999px;
    flex-wrap: nowrap;
}

.nav-links a {
    color: #244159;
    font-weight: 900;
    font-size: .9rem;
    padding: 9px 13px;
    border-radius: 999px;
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    background: var(--lux-soft);
    color: var(--lux-blue);
    outline: 0;
}
.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.pill { min-width: 44px; height: 42px; padding-inline: 13px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: #fff; border: 1px solid var(--lux-border); color: var(--lux-navy); font-weight: 900; box-shadow: 0 10px 26px rgba(6, 27, 47, .05); }
.pill:hover, .pill:focus-visible { color: var(--lux-blue); transform: translateY(-1px); outline: 0; border-color: rgba(50, 211, 201, .42); }
.mobile-menu { display: none; width: 46px; height: 46px; border: 0; border-radius: 16px; color: var(--lux-navy); background: var(--lux-soft); }

.btn-lux, .btn-ghost, .view-all { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 999px; font-weight: 900; border: 0; cursor: pointer; white-space: nowrap; }
.btn-lux { color: #fff !important; background: linear-gradient(135deg, var(--lux-blue), var(--lux-turquoise)); padding: 12px 20px; box-shadow: 0 18px 38px rgba(3, 107, 143, .24); }
.btn-lux:hover, .btn-lux:focus-visible { color: #fff; transform: translateY(-2px); box-shadow: 0 24px 48px rgba(3, 107, 143, .30); outline: 0; }
.btn-lux.small { padding: 10px 15px; font-size: .88rem; }
.btn-lux.btn-xl { padding: 15px 25px; font-size: 1rem; }
.btn-ghost { color: #fff; border: 1px solid rgba(255, 255, 255, .54); padding: 13px 20px; background: rgba(255, 255, 255, .14); backdrop-filter: blur(12px); }
.btn-ghost:hover, .btn-ghost:focus-visible { color: #fff; background: rgba(255, 255, 255, .24); transform: translateY(-2px); outline: 0; }
.view-all { color: var(--lux-blue); background: var(--lux-soft); padding: 10px 18px; }
.view-all:hover, .view-all:focus-visible { color: #fff; background: var(--lux-blue); outline: 0; }
.w-100 { width: 100%; }

.section-pad { padding: 56px 0; }
.section-heading { margin-bottom: 24px; }
.section-heading span, .lux-kicker, .footer-kicker, .eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--lux-blue); font-size: .78rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 10px; }
.section-heading h2{
    font-size: clamp(1.9rem, 3.5vw, 3.2rem);
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -1px;
}
.section-heading.centered{
    text-align:center;
    display:grid;
    place-items:center;
    margin-bottom:32px;
}

.section-heading.centered h2{
    margin-inline:auto;
    font-size:clamp(1.9rem,3.8vw,3.4rem);
    line-height:1.15;
    font-weight:900;
    letter-spacing:-1px;
    max-width:1100px;
}
.section-heading.with-action { display: flex; align-items: end; justify-content: space-between; gap: 22px; }
.section-heading.light span, .section-heading.light h2 { color: #fff; }
.lux-kicker.dark { color: var(--lux-blue); }

.wow-hero {
    position: relative;
    min-height: 760px;
    display: grid;
    align-items: center;
    isolation: isolate;
    overflow: hidden;
    color: #fff;
    background-image: linear-gradient(
90deg,
rgba(3,26,48,.90),
rgba(3,67,93,.65) 48%,
rgba(3,26,48,.35)
), var(--hero-image);
    background-size: cover;
    background-position: center;
}
.wow-hero::after { content: ''; position: absolute; inset: auto 0 0; height: 220px; background: linear-gradient(180deg, transparent, #fff); z-index: -1; opacity: .92; }
.hero-shine { position: absolute; width: 650px; height: 650px; border-radius: 50%; background: radial-gradient(circle, rgba(50, 211, 201, .34), transparent 62%); inset-inline-end: -140px; top: 70px; z-index: -1; }
.wow-hero .reveal { opacity: 1; transform: none; }
.wow-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) 430px; align-items: center; gap: 54px; padding-top: 48px; padding-bottom: 80px; }
.wow-hero-copy h1 { max-width: 840px; margin: 0 0 20px; color: #fff; font-weight: 900; letter-spacing: -.055em; line-height: 1.04; font-size: clamp(2rem, 4.5vw, 4.2rem); text-shadow: 0 22px 70px rgba(0, 0, 0, .38); }
.hero-lead { max-width: 720px; margin: 0; color: rgba(255, 255, 255, .95); font-size: 1.12rem; line-height: 1.95; text-shadow: 0 14px 42px rgba(0, 0, 0, .28); }
.hero-actions { display: flex; align-items: center; gap: 13px; flex-wrap: wrap; margin-top: 30px; }
.centered-actions { justify-content: center; }
.hero-proof { display: flex; align-items: stretch; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-proof span { min-width: 140px; padding: 16px 18px; border: 1px solid rgba(255, 255, 255, .24); background: rgba(255, 255, 255, .14); backdrop-filter: blur(14px); border-radius: 22px; color: rgba(255, 255, 255, .9); font-size: .86rem; }
.hero-proof b { display: block; color: #fff; font-size: 1.35rem; line-height: 1; }
.smart-search-card { align-self: center; margin-top: 24px; background: rgba(255, 255, 255, .96); color: var(--lux-ink); border-radius: 28px; padding: 22px; box-shadow: 0 30px 90px rgba(6, 27, 47, .26); border: 1px solid rgba(255, 255, 255, .58); }
.search-card-head { margin-bottom: 18px; }
.search-card-head span { color: var(--lux-gold); font-weight: 900; text-transform: uppercase; letter-spacing: .12em; font-size: .74rem; }
.search-card-head strong { display: block; color: var(--lux-navy); font-size: 1.48rem; line-height: 1.28; margin-top: 6px; }
.smart-search-card label { display: grid; gap: 7px; margin: 0 0 14px; color: var(--lux-muted); font-size: .88rem; font-weight: 800; }
.smart-search-card input, .smart-search-card select { width: 100%; height: 54px; border-radius: 18px; border: 1px solid var(--lux-border); background: #f8fcff; color: var(--lux-ink); padding: 0 15px; outline: 0; }
.smart-search-card input:focus, .smart-search-card select:focus { border-color: var(--lux-turquoise); box-shadow: 0 0 0 4px rgba(50, 211, 201, .14); }
.smart-search-card .btn-lux { width: 100%; height: 56px; margin-top: 4px; }

/* ══════════════════════════════════════════════════════════
   TRUST STRIP — Safe final 3-card layout
   ══════════════════════════════════════════════════════════ */
.trust-strip{
    position: relative;
    z-index: 5;
    max-width: 920px;
    margin: -28px auto 0;
}

.trust-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    background: #fff;
    border: 1px solid rgba(50, 211, 201, .22);
    box-shadow: 0 22px 60px rgba(6, 27, 47, .10);
    border-radius: 28px;
    padding: 16px;
}

.trust-grid > div{
    min-height: 116px;
    padding: 20px 16px;
    border-radius: 20px;
    background: linear-gradient(180deg, #fff, #f6fbfd);
    border: 1px solid rgba(6, 27, 47, .06);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.trust-grid strong,
.trust-grid b{
    display: block;
    color: var(--lux-blue);
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 8px;
}

.trust-grid span{
    color: var(--lux-muted);
    font-size: .94rem;
    font-weight: 700;
    line-height: 1.5;
}

.story-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 18px; }
.story-card { min-height: 200px; display: flex; flex-direction: column; justify-content: end; padding: 30px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--lux-shadow-soft); border: 1px solid rgba(6, 27, 47, .07); overflow: hidden; position: relative; }
.story-card::before { content: ''; position: absolute; width: 180px; height: 180px; border-radius: 50%; background: var(--lux-soft); top: -80px; inset-inline-end: -60px; }
.story-card.large { background: linear-gradient(145deg, var(--lux-navy), #0b5672); color: #fff; }
.story-card.large::before { background: rgba(50, 211, 201, .26); }
.story-card span { color: var(--lux-gold); font-weight: 900; font-size: .88rem; }
.story-card h3 { position: relative; margin: 8px 0 12px; font-weight: 900; letter-spacing: -.03em; }
.story-card p { position: relative; margin: 0; color: inherit; opacity: .82; }
.destination-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.destination-tile { min-height: 320px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: end; padding: 26px; border-radius: 30px; color: #fff; background-image: linear-gradient(180deg, rgba(6, 27, 47, .1), rgba(6, 27, 47, .86)), var(--tile-image); background-size: cover; background-position: center; box-shadow: var(--lux-shadow-soft); }
.destination-tile:hover, .destination-tile:focus-visible { transform: translateY(-7px); color: #fff; box-shadow: var(--lux-shadow); outline: 0; }
.destination-tile span { color: var(--lux-turquoise); text-transform: uppercase; letter-spacing: .12em; font-size: .74rem; font-weight: 900; }
.destination-tile h3 { margin: 8px 0; font-size: 1.65rem; font-weight: 900; }
.destination-tile p { margin: 0; color: rgba(255, 255, 255, .84); }
.blue-lagoon-section { background: linear-gradient(180deg, #f7fcff, #e9fbfb); }
.lagoon-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 32px; align-items: center; }
.lagoon-photo img { width: 100%; height: 460px; object-fit: cover; border-radius: 38px; box-shadow: var(--lux-shadow); }
.lagoon-copy h2 { margin: 0 0 18px; color: var(--lux-navy); font-size: clamp(1.7rem, 3.2vw, 2.9rem); line-height: 1.08; font-weight: 900; letter-spacing: -.05em; }
.lagoon-copy p { color: var(--lux-muted); font-size: 1.05rem; margin-bottom: 24px; }
.honeymoon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.honeymoon-card { border-radius: 30px; overflow: hidden; background: #fff; box-shadow: var(--lux-shadow-soft); border: 1px solid rgba(6, 27, 47, .07); }
.honeymoon-card img { width: 100%; height: 245px; object-fit: cover; }
.honeymoon-card div { padding: 22px; }
.honeymoon-card h3 { color: var(--lux-navy); font-weight: 900; margin: 0 0 8px; }
.honeymoon-card p { color: var(--lux-muted); margin: 0; }

.cards-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.premium-card { background: #fff; border: 1px solid rgba(6, 27, 47, .08); border-radius: 30px; overflow: hidden; box-shadow: var(--lux-shadow-soft); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; height: 100%; }
.premium-card:hover, .premium-card:focus-within { transform: translateY(-7px); box-shadow: var(--lux-shadow); border-color: rgba(50, 211, 201, .24); }
.card-media { position: relative; height: 255px; overflow: hidden; background: #dceff7; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.premium-card:hover .card-media img { transform: scale(1.045); }
.module-badge { position: absolute; top: 16px; inset-inline-start: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; color: #fff; background: rgba(6, 27, 47, .62); backdrop-filter: blur(12px); font-weight: 900; font-size: .78rem; }
.card-content { padding: 24px; display: flex; flex-direction: column; min-height: 0; }
.card-content h3 { color: var(--lux-navy); font-weight: 900; letter-spacing: -.03em; margin: 0 0 8px; font-size: 1.3rem; line-height: 1.35; }
.card-content p { color: var(--lux-muted); margin: 10px 0 0; }
.card-content .meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: #57718a; font-size: .9rem; font-weight: 700; }
.card-content .meta i { color: var(--lux-blue); margin-inline-end: 5px; }
.stars { color: #f2b84b; display: flex; gap: 3px; margin: 10px 0 0; }
.card-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 20px; }
.card-bottom strong { color: var(--lux-blue); font-size: 1.08rem; font-weight: 900; }
.card-bottom .btn-lux { padding: 10px 14px; font-size: .84rem; }
.experience-section { background: radial-gradient(circle at 20% 0%, rgba(50, 211, 201, .24), transparent 34%), linear-gradient(145deg, var(--lux-navy), #083f5a 62%, #045b78); color: #fff; }
.experience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.experience-card {
    min-height: 250px;
    padding: 22px;
    border-radius: 28px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .14);
    backdrop-filter: blur(14px);

    transition: .3s ease;
}

.experience-card:hover{
    transform: translateY(-6px);
    background: rgba(255,255,255,.14);
}
.experience-card i { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 20px; background: linear-gradient(135deg, var(--lux-turquoise), var(--lux-blue)); color: #fff; font-size: 1.45rem; }
.experience-card h3 { margin: 18px 0 10px; font-weight: 900; color: #fff; }
.experience-card p { margin: 0; color: rgba(255, 255, 255, .78); }
.concierge-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.concierge-steps article { background: #fff; padding: 22px; border-radius: 28px; border: 1px solid rgba(6, 27, 47, .07); box-shadow: var(--lux-shadow-soft); }
.concierge-steps b { color: var(--lux-turquoise); font-size: 2.1rem; font-weight: 900; }
.concierge-steps h3 { color: var(--lux-navy); font-weight: 900; margin: 10px 0; }
.concierge-steps p { color: var(--lux-muted); margin: 0; }
.gallery-section { background: #fff; }
.lux-gallery { display: grid; grid-template-columns: 1.2fr .8fr .8fr; grid-auto-rows: 190px; gap: 16px; }
.lux-gallery figure { position: relative; margin: 0; overflow: hidden; border-radius: 28px; box-shadow: var(--lux-shadow-soft); }
.lux-gallery figure:first-child { grid-row: span 2; }
.lux-gallery img { width: 100%; height: 100%; object-fit: cover; }
.lux-gallery figcaption { position: absolute; inset-inline: 16px; bottom: 16px; display: inline-flex; width: fit-content; padding: 8px 13px; border-radius: 999px; color: #fff; background: rgba(6, 27, 47, .58); backdrop-filter: blur(12px); font-weight: 900; }
.review-slider, .luxury-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review-card { background: #fff; border: 1px solid rgba(6, 27, 47, .08); border-radius: 28px; padding: 26px; box-shadow: var(--lux-shadow-soft); }
.review-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.review-head img { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; border: 3px solid var(--lux-soft); }
.review-head h3 { margin: 0; font-weight: 900; color: var(--lux-navy); }
.review-head p { margin: 0; color: var(--lux-muted); font-size: .9rem; }
.review-card > p { color: var(--lux-muted); margin: 12px 0 0; }
.payment-section { padding: 48px 0; background: linear-gradient(135deg, #eaf9ff, #f7ffff); border-block: 1px solid rgba(6, 27, 47, .06); }
.payment-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:24px;
    align-items:start;
}

@media(max-width:992px){
    .payment-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:640px){
    .payment-grid{
        grid-template-columns:1fr;
    }
}.payment-grid h2 { margin: 0 0 12px; color: var(--lux-navy); font-weight: 900; letter-spacing: -.04em; font-size: clamp(1.9rem, 4vw, 3.2rem); }
.payment-grid p { color: var(--lux-muted); margin: 0; }
.payment-icons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.payment-icons span { min-height: 86px; display: flex; align-items: center; gap: 12px; padding: 20px; border-radius: 24px; background: #fff; border: 1px solid rgba(6, 27, 47, .07); color: var(--lux-navy); font-weight: 900; box-shadow: 0 12px 30px rgba(6, 27, 47, .06); }
.payment-icons i { color: var(--lux-blue); font-size: 1.4rem; }
.final-cta { padding: 60px 0; background: linear-gradient(180deg, #fff, #f5fbff); }
.final-cta-card { text-align: center; padding: 62px 30px; border-radius: 42px; color: #fff; background: radial-gradient(circle at 15% 15%, rgba(50, 211, 201, .28), transparent 28%), linear-gradient(145deg, var(--lux-navy), #064e70); box-shadow: var(--lux-shadow); }
.final-cta-card > span { color: var(--lux-turquoise); font-weight: 900; letter-spacing: .13em; text-transform: uppercase; font-size: .8rem; }
.final-cta-card h2 { max-width: 870px; margin: 12px auto; color: #fff; font-weight: 900; letter-spacing: -.05em; line-height: 1.1; font-size: clamp(2rem, 5vw, 4rem); }
.final-cta-card p { max-width: 720px; margin: 0 auto; color: rgba(255, 255, 255, .82); }

.lux-footer { color: #dceaf2; background: #041829; padding-top: 70px; }
.footer-topline { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-topline h2 { color: #fff; font-weight: 900; letter-spacing: -.04em; max-width: 740px; margin: 0; font-size: clamp(1.75rem, 4vw, 3.1rem); }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr .8fr 1fr; gap: 34px; padding: 48px 0; }
.lux-footer h4 { color: #fff; font-weight: 900; margin-bottom: 16px; }
.lux-footer a { display: block; color: rgba(255, 255, 255, .74); margin-bottom: 10px; }
.lux-footer a:hover, .lux-footer a:focus-visible { color: var(--lux-turquoise); outline: 0; }
.footer-brand { display: inline-flex !important; margin-bottom: 16px !important; }
.footer-brand .brand-copy b { color: #fff; }
.footer-brand-box p, .lux-footer p { color: rgba(255, 255, 255, .68); margin: 0 0 10px; }
.social-links { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; align-items: center; }
.footer-payments { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.footer-payments span { padding: 7px 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .72); font-weight: 800; font-size: .8rem; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: min(100% - 32px, var(--container)); margin: 0 auto; border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; color: rgba(255, 255, 255, .58); font-size: .92rem; }
.floating-whatsapp { position: fixed; right: 22px; left: auto; bottom: 22px; z-index: 990; width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; color: #fff !important; background: #25d366; box-shadow: 0 18px 48px rgba(37, 211, 102, .38); font-size: 1.85rem; border: 4px solid rgba(255, 255, 255, .88); }
.floating-whatsapp:hover, .floating-whatsapp:focus-visible { transform: translateY(-3px) scale(1.02); outline: 0; }

.page-hero, .inner-hero { padding: 60px 0 44px; background: radial-gradient(circle at 82% 20%, rgba(50, 211, 201, .20), transparent 30%), linear-gradient(135deg, #e8fbff, #fff); border-bottom: 1px solid rgba(6, 27, 47, .05); }
.page-hero .container { display: grid; gap: 8px; }
.page-title, .page-hero h1, .inner-hero h1 { color: var(--lux-navy); font-weight: 900; letter-spacing: -.05em; line-height: 1.12; font-size: clamp(2.2rem, 5vw, 4.25rem); margin: 0; }
.page-hero p, .inner-hero p { max-width: 760px; color: var(--lux-muted); font-weight: 700; margin: 8px 0 0; font-size: 1.03rem; }
.filter-card, .search-box, .content-card, .detail-card, .listing-filter, .booking-panel, .glass-panel { background: #fff; border: 1px solid rgba(6, 27, 47, .08); border-radius: 28px; box-shadow: var(--lux-shadow-soft); padding: 24px; }
.listing-filter { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(180px, .8fr) auto; gap: 12px; align-items: center; margin-bottom: 32px; }
.listing-filter input, .listing-filter select, .smart-booking-form input, .smart-booking-form textarea { width: 100%; border-radius: 18px; border: 1px solid var(--lux-border); background: #f8fcff; color: var(--lux-ink); min-height: 54px; padding: 0 16px; outline: 0; }
.listing-filter select { padding-inline-end: 36px; }
.listing-filter input:focus, .listing-filter select:focus, .smart-booking-form input:focus, .smart-booking-form textarea:focus { border-color: var(--lux-turquoise); box-shadow: 0 0 0 4px rgba(50, 211, 201, .14); background: #fff; }
.listing-filter .btn-lux { min-height: 54px; padding-inline: 24px; }
.form-control, .form-select { border-radius: 16px; border-color: var(--lux-border); min-height: 48px; }
.form-control:focus, .form-select:focus { border-color: var(--lux-turquoise); box-shadow: 0 0 0 .22rem rgba(50, 211, 201, .16); }
.table { color: var(--lux-ink); }
.table thead th { background: var(--lux-soft); color: var(--lux-navy); border: 0; }
.badge { border-radius: 999px; }
.pagination .page-link { color: var(--lux-blue); border-color: var(--lux-border); }
.pagination .active .page-link { background: var(--lux-blue); border-color: var(--lux-blue); }
.alert { border-radius: 18px; border: 0; }
.empty-state { text-align: center; padding: 50px; border-radius: 28px; background: #fff; border: 1px solid rgba(6, 27, 47, .08); box-shadow: var(--lux-shadow-soft); margin-top: 24px; }
.empty-state h3 { color: var(--lux-navy); font-weight: 900; margin: 0 0 8px; }
.empty-state p { color: var(--lux-muted); margin: 0; }
.pager { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 34px; }
.pager a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; background: #fff; border: 1px solid var(--lux-border); color: var(--lux-blue); font-weight: 900; box-shadow: 0 8px 24px rgba(6, 27, 47, .06); }
.pager a.active, .pager a:hover, .pager a:focus-visible { color: #fff; background: linear-gradient(135deg, var(--lux-blue), var(--lux-turquoise)); outline: 0; }

.detail-hero { position: relative; min-height: 520px; display: grid; align-items: end; overflow: hidden; color: #fff; isolation: isolate; }
.detail-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.detail-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 27, 47, .18), rgba(6, 27, 47, .86)); z-index: -1; }
.detail-hero .container { padding: 120px 0 70px; }
.detail-hero .module-badge { position: static; width: fit-content; margin-bottom: 16px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .24); }
.detail-hero h1 { max-width: 980px; margin: 0; color: #fff; font-weight: 900; letter-spacing: -.045em; line-height: 1.08; font-size: clamp(2.25rem, 5.4vw, 5.1rem); text-shadow: 0 22px 70px rgba(0, 0, 0, .36); }
.detail-hero p { display: inline-flex; align-items: center; gap: 9px; margin: 16px 0 0; color: rgba(255, 255, 255, .92); font-weight: 800; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 26px; align-items: start; }
.detail-main { display: grid; gap: 22px; min-width: 0; }
.glass-panel h2, .hotel-price-table h3, .booking-panel h3 { color: var(--lux-navy); font-weight: 900; letter-spacing: -.03em; margin: 0 0 14px; line-height: 1.22; }
.glass-panel p { color: var(--lux-muted); margin: 0; font-size: 1.02rem; }
.features-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.features-row span { display: flex; align-items: center; gap: 9px; min-height: 54px; padding: 12px 14px; border-radius: 18px; background: linear-gradient(180deg, #f8fcff, #effafa); color: var(--lux-navy); font-weight: 900; border: 1px solid rgba(6, 27, 47, .06); }
.features-row i { color: var(--lux-blue); }
.hotel-price-table { margin-top: 26px; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 22px; }
.hotel-price-table table { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0; border: 1px solid rgba(3, 107, 143, .15); border-radius: 22px; overflow: hidden; background: #fff; }
.hotel-price-table th, .hotel-price-table td { padding: 14px 15px; text-align: start; vertical-align: middle; border-top: 1px solid rgba(18, 32, 51, .08); white-space: nowrap; }
.hotel-price-table th { border-top: 0; background: var(--lux-soft); color: var(--lux-navy); font-weight: 900; }
.hotel-price-table td { color: var(--lux-ink); font-weight: 700; }
.hotel-price-table td.price-cell { color: var(--lux-blue); font-weight: 900; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery-grid img { width: 100%; height: 190px; object-fit: cover; border-radius: 22px; box-shadow: 0 12px 32px rgba(6, 27, 47, .10); }
.booking-panel { position: sticky; top: 104px; padding: 28px; }
.booking-panel h3 { font-size: 1.55rem; }
.price-big { color: var(--lux-blue); font-size: clamp(1.65rem, 3vw, 2.25rem); font-weight: 900; line-height: 1.1; margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid rgba(6, 27, 47, .08); }
.smart-booking-form { display: grid; gap: 14px; }
.smart-booking-form label { display: grid; gap: 7px; color: var(--lux-muted); font-weight: 900; font-size: .9rem; }
.smart-booking-form textarea { min-height: 112px; padding-top: 14px; resize: vertical; }
.smart-booking-form .btn-lux { min-height: 56px; margin-top: 4px; }
.form-status { min-height: 20px; margin: 2px 0 0; color: var(--lux-blue); font-weight: 800; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
    * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
    .reveal { opacity: 1; transform: none; }
}

@media (min-width: 841px) {
    /* Card uses flex column — no grid-template-rows override needed */
    .cards-grid .premium-card { display: flex; flex-direction: column; }
    .cards-grid .card-media { height: 230px; flex-shrink: 0; }
}

@media (max-width: 1180px) {
    html, body { max-width: 100%; overflow-x: hidden; }
    .site-header::after { content: ''; position: fixed; right: 16px; top: 12px; z-index: 1200; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 19px; color: #fff; font-weight: 950; letter-spacing: -.04em; background: linear-gradient(135deg, var(--lux-blue), var(--lux-turquoise)); box-shadow: 0 18px 44px rgba(3, 107, 143, .20); pointer-events: none; }
    .nav-wrap { direction: ltr; }
    .lux-brand {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    min-width: 0;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    gap: 0;
    overflow: visible;
    z-index: 999;
    opacity: 1 !important;
}
    .brand-copy { display: none; }
    .brand-mark, .lux-brand > span:not(.brand-copy) { width: 56px; height: 56px; }
    .lux-brand .brand-logo-img { width: 52px !important; height: 52px !important; max-width: 52px !important; object-fit: contain; border-radius: 14px; display: block; }
    .nav-links { position: fixed; top: 86px; inset-inline: 16px; display: none; flex-direction: column; align-items: stretch; border-radius: 24px; padding: 14px; box-shadow: var(--lux-shadow); background: #fff; }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 12px 14px; }
    .mobile-menu { display: grid; place-items: center; }
    .nav-actions .btn-lux { display: none; }
    .wow-hero-grid { grid-template-columns: minmax(0, 1fr); max-width: 100%; overflow: hidden; }
    .wow-hero-copy { max-width: 100%; text-align: center; }
    .wow-hero-copy h1 { max-width: 100%; font-size: clamp(2.1rem, 9vw, 3.35rem); line-height: 1.08; overflow-wrap: anywhere; }
    .hero-lead { max-width: 100%; margin-inline: auto; }
    .hero-actions, .hero-proof { justify-content: center; }
    .smart-search-card { max-width: 560px; margin-top: 8px; margin-inline: auto; }
    .destination-grid, .honeymoon-grid { grid-template-columns: repeat(2, 1fr); }
    .cards-grid, .experience-grid, .review-slider, .luxury-reviews { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .detail-grid { grid-template-columns: minmax(0, 1fr) 360px; }
}

@media (max-width: 920px) {
    .listing-filter { grid-template-columns: 1fr 1fr; }
    .listing-filter .btn-lux { grid-column: 1 / -1; width: 100%; }
    .detail-grid { grid-template-columns: 1fr; }
    .booking-panel { position: static; }
}

@media (max-width: 840px) {
    .container { width: min(100% - 24px, var(--container)); }
    .section-pad { padding: 42px 0; }
    .wow-hero { min-height: auto; }
    .wow-hero-grid { padding-top: 46px; padding-bottom: 90px; gap: 28px; }
    .wow-hero-copy { width: 100%; max-width: 100%; text-align: center; }
    .wow-hero-copy h1 { max-width: 100%; font-size: clamp(1.86rem, 8.8vw, 2.5rem); line-height: 1.18; letter-spacing: -.025em; overflow-wrap: break-word; text-wrap: balance; }
    .hero-lead { font-size: 1rem; line-height: 1.85; }
    .hero-actions { align-items: stretch; }
    .hero-actions .btn-lux, .hero-actions .btn-ghost { width: 100%; }
    .trust-grid, .story-grid, .lagoon-grid, .payment-grid, .concierge-steps { grid-template-columns: 1fr; }
    .trust-strip { margin-top: -32px; }
    .section-heading.with-action { display: block; }
    .section-heading.with-action .view-all { margin-top: 16px; }
    .destination-grid, .honeymoon-grid, .cards-grid, .experience-grid, .review-slider, .luxury-reviews, .footer-grid { grid-template-columns: 1fr; }
    .destination-tile { min-height: 310px; }
    .lagoon-photo img { height: 420px; border-radius: 28px; }
    .lux-gallery { grid-template-columns: 1fr; grid-auto-rows: 245px; }
    .lux-gallery figure:first-child { grid-row: span 1; }
    .payment-icons { grid-template-columns: 1fr; }
    .footer-topline, .footer-bottom { display: block; }
    .footer-topline .btn-lux { margin-top: 20px; }
    .footer-bottom span { display: block; margin-bottom: 8px; }
    .page-hero, .inner-hero { padding: 44px 0 30px; }
    .page-hero h1, .inner-hero h1 { font-size: clamp(2rem, 10vw, 3.4rem); }
    .detail-hero { min-height: 460px; }
    .detail-hero .container { padding: 96px 0 54px; }
    .features-row { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
    .lux-navbar { padding: 10px 0; }
    .site-header::after { content: '3M'; position: fixed; right: 12px; top: 10px; z-index: 1200; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 18px; color: #fff; font-weight: 950; letter-spacing: -.04em; background: linear-gradient(135deg, var(--lux-blue), var(--lux-turquoise)); box-shadow: 0 18px 44px rgba(3, 107, 143, .20); pointer-events: none; }
    .nav-wrap { position: relative; display: flex; align-items: center; justify-content: flex-start; min-height: 52px; gap: 8px; direction: ltr; }
    .lux-brand { position: absolute; right: 0; top: 50%; transform: translateY(-50%); min-width: 0; width: 52px; flex: 0 0 52px; gap: 0; overflow: visible; z-index: 2; }
    .brand-copy { display: none; }
    .brand-mark, .lux-brand > span:not(.brand-copy) { display: inline-grid !important; width: 52px; height: 52px; border-radius: 18px; font-size: 1.08rem; }
    .brand-copy b, .lux-brand > b { font-size: 1.05rem; }
    .lux-brand .brand-logo-img { width: 52px !important; height: 52px !important; max-width: 52px !important; object-fit: contain; border-radius: 14px; display: block; }
    .mobile-menu { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); flex: 0 0 42px; z-index: 2; }
    .nav-actions { flex: 0 0 auto; gap: 6px; padding-right: 116px; }
    .pill { min-width: 40px; height: 40px; padding-inline: 10px; font-size: .84rem; }
    .mobile-menu { width: 42px; height: 42px; }
    .nav-links { top: 76px; }
    .smart-search-card { padding: 20px; border-radius: 26px; width: 100%; }
    .search-card-head strong { font-size: 1.25rem; }
    .hero-proof span { width: 100%; }
    .trust-grid { padding: 10px; }
    .trust-grid div, .story-card, .experience-card, .review-card, .concierge-steps article { padding: 22px; }
    .listing-filter { grid-template-columns: 1fr; padding: 18px; border-radius: 24px; }
    .card-content { min-height: 0; padding: 22px; }
    .card-bottom { display: block; }
    .card-bottom .btn-lux { width: 100%; margin-top: 14px; }
    .final-cta-card { padding: 42px 18px; border-radius: 30px; }
    .detail-hero h1 { font-size: clamp(2rem, 11vw, 3.3rem); }
    .glass-panel, .booking-panel { padding: 20px; border-radius: 24px; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-grid img { height: 220px; }
    .floating-whatsapp { width: 58px; height: 58px; right: 16px; left: auto; bottom: 16px; font-size: 1.68rem; }
}


.brand-logo-img{height:58px;max-width:180px;object-fit:contain;display:block;filter:drop-shadow(0 12px 26px rgba(0,0,0,.22))}.footer-brand .brand-logo-img{height:64px}.trip-badges,.trip-brochure-meta{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.trip-badges span,.trip-brochure-meta span{border:1px solid rgba(3,107,143,.18);background:rgba(3,107,143,.08);color:#045d7d;border-radius:999px;padding:6px 12px;font-weight:800;font-size:.82rem}.trip-group-block{margin-top:34px}.trip-group-block>h2{font-weight:900;margin-bottom:18px;color:#083344}.trip-brochure-box{margin-top:24px;padding:22px;border-radius:22px;background:linear-gradient(135deg,rgba(212,175,55,.13),rgba(3,107,143,.08));border:1px solid rgba(212,175,55,.25)}.trip-brochure-box ul{margin:14px 0 0;padding-inline-start:22px}.trip-brochure-box li{margin-bottom:8px}.hotel-price-table table{min-width:720px}.row-editor{grid-column:1/-1;background:#f8fbfc;border:1px solid #e1edf1;border-radius:20px;padding:18px;margin-top:8px}.row-editor h3,.panel-subtitle{font-size:1.05rem;font-weight:900;margin-bottom:8px;color:#083344}.row-editor p,.form-hint{color:#5d6f77;font-size:.9rem}.wide-field{grid-column:1/-1}.compact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.row-editor-table{display:grid;gap:8px;overflow-x:auto}.row-editor-head,.row-editor-line{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;align-items:center}.row-editor-head{font-weight:900;color:#335761;font-size:.85rem}.row-editor-head.one-col,.row-editor-line.one-col{grid-template-columns:1fr}.row-editor-table.compact{max-width:760px}.admin-user{gap:8px;flex-wrap:wrap}.footer-payments span{white-space:nowrap}@media(max-width:768px){.brand-logo-img{height:50px;max-width:132px}.compact-grid{grid-template-columns:1fr}.row-editor-line,.row-editor-head{grid-template-columns:repeat(6,minmax(105px,1fr))}.hotel-price-table{overflow-x:auto}.trip-brochure-box{padding:18px}.footer-brand .brand-logo-img{height:54px}}



/* ============ Booking-style hotel display ============ */
.feature-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(7, 24, 47, 0.08);
    border-radius: 2rem;
    font-size: 0.9rem;
    color: #07182f;
}

.price-table-premium {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.price-table-premium th {
    background: #07182f;
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.price-table-premium td {
    padding: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.price-cell {
    text-align: right;
    font-weight: 600;
    color: #d4af37;
}

.date-col, .date-cell {
    width: 15%;
}

.price-col, .price-cell {
    width: 18%;
}

.notes-col, .notes-cell {
    width: 20%;
}

.table-responsive {
    overflow-x: auto;
    margin: 1rem 0;
}

/* RTL adjustments */
[dir="rtl"] .price-cell {
    text-align: left;
}

[dir="rtl"] .text-right {
    text-align: left;
}

/* Trip grouping */
.trip-group {
    margin: 2rem 0;
}

.group-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #07182f;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #d4af37;
}

.trip-category {
    margin: 1.5rem 0;
}

.category-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

/* Booking form premium spacing */
.booking-form-premium {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.booking-form-premium label {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.booking-form-premium input,
.booking-form-premium textarea {
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    font-size: 1rem;
}

/* Filter row */
.filter-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.filter-row select {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
}

/* Custom Logo and Header Adjustments */
.site-logo {
    height: 80px; /* زيادة حجم اللوجو */
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.lux-brand:hover .site-logo {
    transform: scale(1.05);
}

/* Ensure logo is on the right for Arabic */
body.lang-ar .nav-wrap {
    flex-direction: row;
}

/* Make Hero Slogan more prominent and fit in one line */
.wow-hero-copy h1 {
    font-size: clamp(2.2rem, 4.5vw, 4.2rem);
    text-shadow: 2px 4px 10px rgba(0,0,0,0.5);
    margin-bottom: 16px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

/* Improve hero lead text visibility and clarity */
.hero-lead {
    font-size: clamp(0.95rem, 2vw, 1.2rem) !important;
    line-height: 1.8;
    opacity: 0.98 !important;
    max-width: 750px;
    margin-top: 10px !important;
}

@media (max-width: 768px) {
    .site-logo {
        height: 60px;
    }
    .wow-hero-copy h1 {
        font-size: 1.8rem;
    }
    .hero-lead {
        font-size: 0.9rem !important;
    }
}

.hero-brand-title{
    display:flex;
    flex-direction:column;
    line-height:.82;
    margin-bottom:35px !important;
}

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800&display=swap');

.brand-line-1{
    font-size:clamp(3.2rem,5.5vw,5.5rem);
    font-family:'Cinzel', serif;
    font-weight:700;
    color:#fff;
    letter-spacing:-0.03em;
    text-shadow:0 10px 28px rgba(0,0,0,.35);
}
.brand-line-2{
    font-size:clamp(2.5rem,4vw,4.2rem);
    font-family:'Cinzel', serif;
    font-weight:700;
    color:#fff;
    margin-top:8px;
    margin-right:90px;
    letter-spacing:-0.02em;
    text-shadow:0 10px 28px rgba(0,0,0,.35);
}

/.brand-line-3{
    font-size:clamp(2.3rem,4vw,4rem);
    font-family:'Cinzel', serif;
    font-weight:700;
    color:#fff;
    margin-top:-2px;
    margin-right:200px;
    letter-spacing:-0.02em;

    text-shadow:
    0 0 10px rgba(255,255,255,.18),
    0 10px 28px rgba(0,0,0,.42);
}

@media(max-width:992px){

    .brand-line-2,
    .brand-line-3{
        margin-right:0;
    }

}
@keyframes heroFadeUp{

from{
opacity:0;
transform:translateY(35px);
}

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

}

.hero-brand-title{
animation:heroFadeUp 1s ease-out;
}

/* Payment grid final fix */

.payment-grid{

    display:grid !important;

    grid-template-columns:repeat(auto-fit,minmax(420px,420px)) !important;

    justify-content:center !important;

    gap:34px !important;

    align-items:start !important;

}

.signature-title{
    font-size:clamp(1.8rem,3vw,3.4rem) !important;
    line-height:1.35 !important;
    font-weight:700 !important;
    letter-spacing:-0.02em !important;
    color:#071d35 !important;
    max-width:1000px !important;
    margin:auto !important;
}

.footer-company-column{
    display:none !important;
}

.social-links{
    display:flex;
    align-items:center;
    gap:12px;
    margin-top:18px;
    flex-wrap:wrap;
}

.social-links a{
    width:38px;
    height:38px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(255,255,255,.1);
    color:#fff;
    text-decoration:none;
    transition:.25s ease;
    font-size:15px;
}

.social-links a:hover{
    background:#22c7d5;
    transform:translateY(-3px);
}

.social-links a .fa-facebook-f{
    color:#1877F2;
}

.social-links a .fa-instagram{
    color:#E4405F;
}

.social-links a .fa-tiktok{
    color:#ffffff;
}

.social-links a .fa-whatsapp{
    color:#25D366;
}

/* =========================================================
   ADMIN DASHBOARD SAFE FIX
   Fixes long Excel import filenames and admin cards overflow
   without changing frontend modules or SQL.
   ========================================================= */

.mn-admin,
.admin-page,
.admin-dashboard,
.dashboard-page,
.admin-content,
.dashboard-content,
.main-content{
    max-width:100%;
    overflow-x:hidden;
}

.admin-card,
.dashboard-card,
.stat-card,
.content-card,
.glass-panel,
.excel-card,
.import-card,
.recent-imports,
.excel-imports,
.import-history,
.import-log{
    max-width:100%;
    min-width:0;
    overflow:hidden;
}

.admin-card *,
.dashboard-card *,
.stat-card *,
.excel-card *,
.import-card *,
.recent-imports *,
.excel-imports *,
.import-history *,
.import-log *{
    min-width:0;
}

.admin-card a,
.dashboard-card a,
.excel-card a,
.import-card a,
.recent-imports a,
.excel-imports a,
.import-history a,
.import-log a,
.admin-card .file-name,
.dashboard-card .file-name,
.excel-card .file-name,
.import-card .file-name{
    display:block;
    max-width:100%;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    direction:ltr;
    unicode-bidi:plaintext;
}

.admin-card .meta,
.dashboard-card .meta,
.excel-card .meta,
.import-card .meta,
.recent-imports .meta,
.excel-imports .meta{
    white-space:normal;
    overflow-wrap:anywhere;
}

.admin-grid,
.dashboard-grid,
.stats-grid,
.quick-grid,
.cards-dashboard-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:24px;
    align-items:start;
}

@media(max-width:768px){
    .admin-grid,
    .dashboard-grid,
    .stats-grid,
    .quick-grid,
    .cards-dashboard-grid{
        grid-template-columns:1fr;
    }

    .admin-card a,
    .dashboard-card a,
    .excel-card a,
    .import-card a,
    .recent-imports a,
    .excel-imports a,
    .import-history a,
    .import-log a{
        white-space:normal;
        overflow-wrap:anywhere;
        text-overflow:clip;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   3M Holidays — Premium UI Polish (appended)
   Covers: module heroes, improved cards, filter bar, responsive
   ═══════════════════════════════════════════════════════════════════ */

/* ── Module Cinematic Hero ───────────────────────────────────────── */
.module-hero {
    position: relative;
    min-height: 460px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background-image: var(--hero-img);
    background-size: cover;
    background-position: center 40%;
}

.module-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(6,27,47,.12) 0%,
        rgba(6,27,47,.52) 55%,
        rgba(6,27,47,.86) 100%
    );
    z-index: 1;
}

.module-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 0%, rgba(50,211,201,.12) 0%, transparent 55%);
    z-index: 1;
}

.module-hero__overlay { display: none; }

.module-hero__content {
    position: relative;
    z-index: 2;
    padding: 56px 0 40px;
    width: 100%;
}

.module-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--lux-turquoise);
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .2em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.module-hero__title {
    color: #fff;
    font-size: clamp(2.6rem, 6vw, 4.8rem);
    font-weight: 900;
    letter-spacing: -.05em;
    line-height: 1.08;
    margin: 0;
    text-shadow: 0 4px 24px rgba(6,27,47,.4);
}

.module-hero__sub {
    color: rgba(255,255,255,.82);
    font-size: 1.05rem;
    font-weight: 600;
    margin: 10px 0 0;
    max-width: 680px;
}

.module-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

/* Reuse hero-chip from events.css if loaded, define fallback here */
.module-hero .hero-chip,
.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.22);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: .82rem;
    font-weight: 800;
    transition: background .2s, border-color .2s;
}

.module-hero .hero-chip:hover,
.hero-chip:hover {
    background: rgba(50,211,201,.22);
    border-color: rgba(50,211,201,.4);
}

.module-hero .hero-chip i,
.hero-chip i { color: var(--lux-turquoise); font-size: .78rem; }

/* ── Module Filter Bar (sticky wrapper) ──────────────────────────── */
.module-filter-bar {
    background: #fff;
    border-bottom: 1px solid rgba(6,27,47,.07);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 40;
    box-shadow: 0 6px 28px rgba(6,27,47,.07);
}

/* ── Premium Card improvements ───────────────────────────────────── */
.card-link-wrap {
    display: block;
    text-decoration: none;
    color: inherit;
}

.premium-card .card-content h3 a {
    color: var(--lux-navy);
    text-decoration: none;
    transition: color .2s;
}

.premium-card .card-content h3 a:hover { color: var(--lux-blue); }

.card-desc {
    color: var(--lux-muted);
    font-size: .9rem;
    line-height: 1.65;
    margin: 8px 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-price-block {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* old-price → v5 */

/* price-main → v5 */

.card-cta { white-space: nowrap; flex-shrink: 0; }

/* duration-badge → defined in v5 */

/* Featured card highlight */
.featured-card {
    border-color: rgba(198,164,93,.4) !important;
    box-shadow: 0 16px 46px rgba(198,164,93,.14) !important;
}

.featured-badge {
    position: absolute;
    top: 12px;
    inset-inline-end: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--lux-gold);
    color: #fff;
    font-size: .72rem;
    font-weight: 900;
    padding: 5px 11px;
    border-radius: 999px;
}

/* City count badge */
.city-count-badge {
    color: var(--lux-blue);
    font-weight: 900;
    font-size: .92rem;
    background: var(--lux-soft);
    border-radius: 999px;
    padding: 6px 16px;
    white-space: nowrap;
}

/* ── Empty state improvement ─────────────────────────────────────── */
.empty-state {
    text-align: center;
    padding: 72px 32px;
    border-radius: 28px;
    background: #fff;
    border: 1px solid rgba(6,27,47,.08);
    box-shadow: 0 12px 38px rgba(6,27,47,.07);
}

.empty-state > i {
    font-size: 3rem;
    color: var(--lux-turquoise);
    margin-bottom: 18px;
    display: block;
}

.empty-state h3 {
    color: var(--lux-navy);
    font-weight: 900;
    margin: 0 0 10px;
    font-size: 1.4rem;
}

.empty-state p { color: var(--lux-muted); margin: 0; }

/* ── Responsive — module hero ────────────────────────────────────── */
@media (max-width: 900px) {
    .module-hero { min-height: 360px; }
    .module-hero__title { font-size: clamp(2rem,8vw,3.2rem); }
    .module-hero__content { padding: 60px 0 44px; }
}

@media (max-width: 600px) {
    .module-hero { min-height: 280px; }
    .module-hero__chips { gap: 6px; }
    .hero-chip { font-size: .76rem; padding: 6px 12px; }
    .module-hero__sub { font-size: .92rem; }
    .module-filter-bar { padding: 14px 0; }
}

/* ── Cards grid responsive fix ───────────────────────────────────── */
@media (min-width: 841px) and (max-width: 1100px) {
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Pager ───────────────────────────────────────────────────────── */
.pager {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 48px;
}

.pager a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1.5px solid rgba(6,27,47,.12);
    background: #fff;
    color: var(--lux-navy);
    font-weight: 800;
    font-size: .92rem;
    text-decoration: none;
    transition: all .2s;
}

.pager a:hover,
.pager a.active {
    background: var(--lux-blue);
    border-color: var(--lux-blue);
    color: #fff;
    box-shadow: 0 8px 22px rgba(3,107,143,.22);
}

/* ═══════════════════════════════════════════════════════════════════════
   3M HOLIDAYS — FINAL WOW POLISH v2.0
   Premium hotel features, detail pages, gallery, listings, responsive
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Hotel Feature Badges (Booking.com style) ──────────────────────── */
.dp-hotel-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 6px 0 8px;
}

.dp-feat-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 16px;
    background: #fff;
    border: 1.5px solid rgba(6,27,47,.1);
    color: var(--lux-navy);
    font-size: .86rem;
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(6,27,47,.06);
    transition: transform .18s, box-shadow .18s, border-color .18s;
    white-space: nowrap;
}

.dp-feat-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(6,27,47,.12);
    border-color: var(--lux-turquoise);
}

.dp-feat-badge i {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, #e8fbfa, #cef8f6);
    color: var(--lux-blue);
    font-size: .88rem;
    flex-shrink: 0;
}

/* Premium feature variants — color code by category */
.dp-feat-badge.feat-pool i    { background: linear-gradient(135deg,#dff4ff,#b8e8ff); color:#0077b6; }
.dp-feat-badge.feat-beach i   { background: linear-gradient(135deg,#fff9e6,#ffe9a0); color:#c8870a; }
.dp-feat-badge.feat-wifi i    { background: linear-gradient(135deg,#e8f3ff,#bee0ff); color:#1565c0; }
.dp-feat-badge.feat-spa i     { background: linear-gradient(135deg,#fce8ff,#e9b3ff); color:#7b1fa2; }
.dp-feat-badge.feat-gym i     { background: linear-gradient(135deg,#fff0e6,#ffd0a0); color:#bf5700; }
.dp-feat-badge.feat-food i    { background: linear-gradient(135deg,#fffae6,#ffe8a0); color:#a07800; }
.dp-feat-badge.feat-aqua i    { background: linear-gradient(135deg,#e0f7fa,#a0e8ef); color:#006064; }
.dp-feat-badge.feat-parking i { background: linear-gradient(135deg,#f1f1f1,#ddd); color:#444; }
.dp-feat-badge.feat-kids i    { background: linear-gradient(135deg,#fff0f0,#ffd0d0); color:#c62828; }
.dp-feat-badge.feat-view i    { background: linear-gradient(135deg,#e8f5e9,#a5d6a7); color:#1b5e20; }
.dp-feat-badge.feat-all i     { background: linear-gradient(135deg,#f3e5f5,#ce93d8); color:#4a148c; }

/* ── Compact feature strip on cards ────────────────────────────────── */
.card-feat-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 8px 0 0;
}

.card-feat-dot {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 9px;
    border-radius: 999px;
    background: var(--lux-soft);
    color: var(--lux-blue);
    font-size: .74rem;
    font-weight: 800;
    border: 1px solid rgba(3,107,143,.13);
}

.card-feat-dot i { font-size: .68rem; }

/* ── Enhanced Hero (cinematic parallax-ready) ───────────────────────── */
.module-hero {
    min-height: 500px;
}

.module-hero__title {
    font-size: clamp(2.8rem, 6.5vw, 5.2rem);
}

/* Shimmer on hero title */
.module-hero__title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--lux-turquoise);
    border-radius: 999px;
    margin-top: 14px;
}

/* ── Detail Page — Super Premium ────────────────────────────────────── */
.dp-hero {
    height: clamp(400px, 60vw, 620px);
}

/* Floating scroll hint */
.dp-scroll-hint {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: rgba(255,255,255,.7);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    animation: scrollBounce 1.8s ease-in-out infinite;
    pointer-events: none;
}

.dp-scroll-hint i { font-size: 1.1rem; color: var(--lux-turquoise); }

@keyframes scrollBounce {
    0%,100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(8px); }
}

/* Gallery lightbox effect */
.dp-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.dp-gallery-grid .gal-item {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    cursor: zoom-in;
}

.dp-gallery-grid .gal-item img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.dp-gallery-grid .gal-item:first-child {
    grid-column: span 3;
}

.dp-gallery-grid .gal-item:first-child img {
    height: 320px;
}

.dp-gallery-grid .gal-item:hover img { transform: scale(1.06); }

.dp-gallery-grid .gal-item::after {
    content: '\f00e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    background: rgba(6,27,47,.42);
    opacity: 0;
    transition: opacity .25s;
}

.dp-gallery-grid .gal-item:hover::after { opacity: 1; }

/* ── Lightbox overlay ───────────────────────────────────────────────── */
.gal-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(4,15,30,.94);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.gal-lightbox.open { display: flex; }

.gal-lightbox img {
    max-width: min(94vw, 1200px);
    max-height: 90vh;
    object-fit: contain;
    border-radius: 18px;
    box-shadow: 0 40px 100px rgba(0,0,0,.6);
}

.gal-lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255,255,255,.14);
    border: 1.5px solid rgba(255,255,255,.24);
    color: #fff;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s;
}

.gal-lightbox-close:hover { background: rgba(255,255,255,.28); }

/* ── Booking card — elevated ─────────────────────────────────────────── */
.dp-booking-card {
    box-shadow: 0 28px 80px rgba(6,27,47,.14), 0 0 0 1px rgba(50,211,201,.1);
    border: none;
}

/* Price block — luxury display */
.dp-price-main {
    font-size: clamp(2rem, 4vw, 2.8rem);
}

/* ── WhatsApp CTA — pulse animation ────────────────────────────────── */
.dp-wa-btn {
    position: relative;
    overflow: hidden;
}

.dp-wa-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,.15);
    transform: translateX(-110%) skewX(-20deg);
    transition: transform .5s ease;
}

.dp-wa-btn:hover::before { transform: translateX(110%) skewX(-20deg); }

@keyframes waPulse {
    0%,100% { box-shadow: 0 12px 32px rgba(37,211,102,.3); }
    50%      { box-shadow: 0 18px 50px rgba(37,211,102,.52); }
}

.dp-wa-btn { animation: waPulse 2.5s ease-in-out infinite; }
.dp-wa-btn:hover { animation: none; }

/* ── Section title — enhanced ───────────────────────────────────────── */
.dp-section-title {
    font-size: 1.45rem;
    position: relative;
}

.dp-section-title i {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #e8fbfa, #b8f3ef);
    color: var(--lux-blue);
}

/* ── Pricing table — luxury ─────────────────────────────────────────── */
.dp-pricing-wrap {
    border: none;
    box-shadow: 0 16px 52px rgba(6,27,47,.09);
    border-radius: 24px;
    overflow: hidden;
}

.dp-pricing-table thead {
    background: linear-gradient(135deg, var(--lux-navy), #083f5a);
}

.dp-pricing-table th {
    color: #fff;
    font-size: .9rem;
    padding: 18px 20px;
    border: none;
}

.dp-pricing-table td {
    padding: 16px 20px;
    font-size: .95rem;
}

.dp-pricing-table td.price-value {
    color: var(--lux-blue);
    font-weight: 900;
    font-size: 1.05rem;
}

.dp-pricing-table tbody tr:nth-child(even) { background: #fafcff; }

/* ── Video wrapper — premium ─────────────────────────────────────────── */
.dp-video-wrap {
    box-shadow: 0 22px 60px rgba(6,27,47,.16);
    border-radius: 24px;
}

.dp-video-wrap::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 27px;
    background: linear-gradient(135deg, var(--lux-turquoise), var(--lux-blue));
    z-index: -1;
}

/* ── Includes box — improved ─────────────────────────────────────────── */
.dp-includes {
    background: linear-gradient(135deg, #f4fffe, #e8fbfa);
    border-color: rgba(50,211,201,.22);
}

.dp-includes li i { font-size: .9rem; }

/* ── Hotel card — features strip ────────────────────────────────────── */
.hotel-folder-card .card-media {
    height: 220px;
}

/* ── Filter bar — enhanced input ────────────────────────────────────── */
.listing-filter input,
.listing-filter select {
    background: #f8fcff;
    border-radius: 20px;
    border: 1.5px solid rgba(6,27,47,.1);
    font-size: .94rem;
}

.listing-filter input:focus,
.listing-filter select:focus {
    border-color: var(--lux-turquoise);
    background: #fff;
}

/* ── Cards grid gap ─────────────────────────────────────────────────── */
.cards-grid { gap: 26px; }

/* ── Section padding luxury ─────────────────────────────────────────── */
.section-pad { padding: 72px 0; }

/* ── Trip badge refinement ──────────────────────────────────────────── */
.trip-badges span {
    border-radius: 12px;
    padding: 6px 14px;
    font-size: .8rem;
}

/* ── Responsive gallery ─────────────────────────────────────────────── */
@media (max-width: 860px) {
    .dp-gallery-grid {
        grid-template-columns: repeat(2,1fr);
    }
    .dp-gallery-grid .gal-item:first-child {
        grid-column: span 2;
    }
    .dp-gallery-grid .gal-item:first-child img { height: 260px; }
    .dp-gallery-grid .gal-item img { height: 165px; }
}

@media (max-width: 560px) {
    .dp-gallery-grid {
        grid-template-columns: 1fr;
    }
    .dp-gallery-grid .gal-item,
    .dp-gallery-grid .gal-item:first-child {
        grid-column: auto;
    }
    .dp-gallery-grid .gal-item img,
    .dp-gallery-grid .gal-item:first-child img { height: 220px; }
    .dp-hotel-features { gap: 7px; }
    .dp-feat-badge { font-size: .8rem; padding: 8px 14px; }
    .dp-feat-badge i { width: 26px; height: 26px; }
}

/* ── Premium empty state icon ────────────────────────────────────────── */
.empty-state > i {
    width: 80px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 28px;
    background: linear-gradient(135deg, #e8fbfa, #cef8f6);
    color: var(--lux-blue);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

/* ── Reveal animation — staggered ─────────────────────────────────────── */
.cards-grid .premium-card:nth-child(1) { transition-delay: .04s; }
.cards-grid .premium-card:nth-child(2) { transition-delay: .10s; }
.cards-grid .premium-card:nth-child(3) { transition-delay: .16s; }
.cards-grid .premium-card:nth-child(4) { transition-delay: .22s; }
.cards-grid .premium-card:nth-child(5) { transition-delay: .28s; }
.cards-grid .premium-card:nth-child(6) { transition-delay: .34s; }

/* ── Pager — nicer ──────────────────────────────────────────────────── */
.pager a:hover { transform: translateY(-2px); }

/* ── Module hero — per-module accent colors ─────────────────────────── */
.module-listing-page[data-module="honeymoon"] .module-hero__eyebrow { color: #ff9dc0; }
.module-listing-page[data-module="honeymoon"] .module-hero__title::after { background: #ff9dc0; }
.module-listing-page[data-module="offers"] .module-hero__eyebrow { color: #ffd166; }
.module-listing-page[data-module="offers"] .module-hero__title::after { background: #ffd166; }
.module-listing-page[data-module="trips"] .module-hero__eyebrow { color: #06d6a0; }
.module-listing-page[data-module="trips"] .module-hero__title::after { background: #06d6a0; }

/* ── Listing page hero images — per module overrides ─────────────────── */
/* Already set via inline --hero-img CSS var in module-page.php; these add atmosphere */
.module-hero {
    background-attachment: fixed;
}

@media (max-width: 768px) {
    /* Disable parallax on mobile (performance) */
    .module-hero { background-attachment: scroll; }
}

/* ── hotel detail — sticky sidebar scrolls nicely on mobile ─────────── */
@media (max-width: 960px) {
    .dp-booking-card { margin-top: 40px; }
    .dp-sidebar { position: static !important; }
}

/* ── Booking form — nicer ───────────────────────────────────────────── */
.dp-form-section {
    border-radius: 28px;
    border: 1.5px solid rgba(6,27,47,.07);
}

.dp-form-section .form-control {
    border-radius: 16px;
    border: 1.5px solid rgba(6,27,47,.11);
    padding: 12px 16px;
    font-size: .95rem;
    transition: border-color .2s, box-shadow .2s;
}

.dp-form-section .form-control:focus {
    border-color: var(--lux-turquoise);
    box-shadow: 0 0 0 4px rgba(50,211,201,.12);
}

.dp-form-section .btn.btn-dark {
    background: linear-gradient(135deg, var(--lux-navy), #083f5a);
    border: none;
    border-radius: 18px;
    padding: 14px 40px;
    font-weight: 900;
    letter-spacing: -.02em;
    box-shadow: 0 14px 36px rgba(6,27,47,.22);
    transition: transform .2s, box-shadow .2s;
}

.dp-form-section .btn.btn-dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 48px rgba(6,27,47,.28);
}


/* ═══════════════════════════════════════════════════════════════════════
   3M HOLIDAYS — WOW POLISH v3.0
   Full-bleed cinematic heroes · Clickable cards · Hotel badges · Responsive
   ═══════════════════════════════════════════════════════════════════════ */

/* ── 1. MODULE HERO — Full-Bleed Cinematic (matches Activities page) ─── */

/* Remove old CSS-background approach — use real <img> instead */
.module-hero {
    position: relative;
    height: clamp(340px, 48vh, 580px);   /* ← NOT 100vh, fits laptop perfectly */
    min-height: 0;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    background: var(--lux-navy);         /* fallback while image loads */
    background-attachment: scroll !important; /* override parallax — causes sizing bugs */
}

/* The actual image */
.module-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    display: block;
    z-index: 0;
    transition: transform 8s ease;
}
.module-hero:hover .module-hero__bg {
    transform: scale(1.04);
}

/* Cinematic gradient — dark bottom, slight top fade */
.module-hero__gradient {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            to bottom,
            rgba(6,27,47,.08) 0%,
            rgba(6,27,47,.40) 50%,
            rgba(6,27,47,.88) 100%
        ),
        linear-gradient(
            to right,
            rgba(6,27,47,.30) 0%,
            transparent 55%
        );
}

/* Teal glow accent top-right */
.module-hero__gradient::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 0%, rgba(50,211,201,.14) 0%, transparent 55%);
}

/* Override old ::before/::after since we now use .module-hero__gradient */
.module-hero::before,
.module-hero::after { display: none !important; }
.module-hero__overlay { display: none !important; }

/* Content layer */
.module-hero__content {
    position: relative;
    z-index: 2;
    padding: clamp(28px, 5vh, 64px) 0 clamp(32px, 5vh, 56px);
    width: 100%;
}

/* Eyebrow label */
.module-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--lux-turquoise);
    font-size: .74rem;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.eyebrow-dot {
    width: 4px; height: 4px;
    border-radius: 50%;
    background: rgba(50,211,201,.6);
    display: inline-block;
}

/* Big title */
.module-hero__title {
    color: #fff;
    font-size: clamp(2.4rem, 5.5vw, 4.4rem);
    font-weight: 900;
    letter-spacing: -.05em;
    line-height: 1.06;
    margin: 0 0 2px;
    text-shadow: 0 4px 28px rgba(6,27,47,.45);
}

/* Underline accent */
.module-hero__title::after {
    content: '';
    display: block;
    width: 64px;
    height: 4px;
    background: var(--lux-turquoise);
    border-radius: 999px;
    margin-top: 14px;
}

/* Per-module accent overrides */
.module-hero--honeymoon .module-hero__title::after { background: #ff9dc0; }
.module-hero--honeymoon .module-hero__eyebrow      { color: #ff9dc0; }
.module-hero--offers    .module-hero__title::after { background: #ffd166; }
.module-hero--offers    .module-hero__eyebrow      { color: #ffd166; }
.module-hero--trips     .module-hero__title::after { background: #06d6a0; }
.module-hero--trips     .module-hero__eyebrow      { color: #06d6a0; }
.module-hero--transport .module-hero__title::after { background: #74b9ff; }
.module-hero--transport .module-hero__eyebrow      { color: #74b9ff; }

/* Subtitle */
.module-hero__sub {
    color: rgba(255,255,255,.84);
    font-size: clamp(.9rem, 1.6vw, 1.08rem);
    font-weight: 600;
    margin: 12px 0 0;
    max-width: 620px;
    line-height: 1.6;
}

/* Chips row */
.module-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 22px;
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,.11);
    border: 1px solid rgba(255,255,255,.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #fff;
    font-size: .81rem;
    font-weight: 800;
    transition: background .2s, border-color .2s, transform .2s;
    white-space: nowrap;
}
.hero-chip:hover {
    background: rgba(50,211,201,.2);
    border-color: rgba(50,211,201,.45);
    transform: translateY(-2px);
}
.hero-chip i { color: var(--lux-turquoise); font-size: .76rem; }

/* Scroll hint arrow */
.module-hero__scroll-hint {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: rgba(255,255,255,.55);
    font-size: 1rem;
    animation: heroScrollBounce 2s ease-in-out infinite;
    pointer-events: none;
}
@keyframes heroScrollBounce {
    0%,100% { transform: translateX(-50%) translateY(0); opacity:.55; }
    50%      { transform: translateX(-50%) translateY(7px); opacity:.9; }
}

/* ── 2. CARD — Full click area + hover overlay ──────────────────────── */

.premium-card {
    cursor: pointer;
    transition: transform .22s ease, box-shadow .22s ease;
}

.premium-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 64px rgba(6,27,47,.16) !important;
}

/* Hover CTA overlay on image */
.card-hover-cta {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(6,27,47,.42);
    opacity: 0;
    transition: opacity .25s ease;
    border-radius: inherit;
}

.card-hover-cta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--lux-turquoise);
    color: var(--lux-navy);
    font-weight: 900;
    font-size: .9rem;
    padding: 12px 24px;
    border-radius: 999px;
    transform: translateY(8px);
    transition: transform .25s ease;
}

.premium-card:hover .card-hover-cta { opacity: 1; }
.premium-card:hover .card-hover-cta span { transform: translateY(0); }

/* Discount badge on card */
.discount-badge-card {
    position: absolute;
    bottom: 12px;
    inset-inline-end: 12px;
    background: linear-gradient(135deg, #ff4757, #ee5a24);
    color: #fff;
    font-size: .73rem;
    font-weight: 900;
    padding: 5px 11px;
    border-radius: 999px;
    z-index: 4;
    box-shadow: 0 4px 14px rgba(238,90,36,.4);
    letter-spacing: .03em;
    pointer-events: none;
}

/* Price on request */
.price-on-request {
    font-size: .84rem;
    font-weight: 700;
    color: var(--lux-muted);
    font-style: italic;
}

/* ── 3. HOTEL FEATURES STRIP on card — compact Booking.com style ────── */

.card-feat-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 9px 0 4px;
}

.card-feat-dot {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #f0f9ff;
    color: var(--lux-blue);
    font-size: .73rem;
    font-weight: 800;
    border: 1px solid rgba(3,107,143,.12);
    white-space: nowrap;
    transition: background .15s, border-color .15s;
}
.card-feat-dot:hover {
    background: #ddf4ff;
    border-color: rgba(3,107,143,.25);
}
.card-feat-dot i { font-size: .67rem; color: var(--lux-blue); }

/* ── 4. FILTER BAR — glass sticky bar ──────────────────────────────── */

.module-filter-bar {
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(6,27,47,.07);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 40;
    box-shadow: 0 4px 24px rgba(6,27,47,.08);
}

.listing-filter {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.listing-filter input,
.listing-filter select {
    flex: 1;
    min-width: 180px;
    height: 48px;
    border-radius: 14px;
    border: 1.5px solid rgba(6,27,47,.1);
    background: #f6fbff;
    color: var(--lux-ink);
    padding: 0 16px;
    font-size: .92rem;
    font-weight: 600;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.listing-filter input:focus,
.listing-filter select:focus {
    border-color: var(--lux-turquoise);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(50,211,201,.1);
}
.listing-filter .btn-lux {
    height: 48px;
    padding: 0 24px;
    border-radius: 14px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ── 5. SECTION HEADING improvements ──────────────────────────────── */

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.city-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--lux-navy), #083f5a);
    color: #fff;
    padding: 8px 20px;
    border-radius: 999px;
    font-size: .84rem;
    font-weight: 900;
    flex-shrink: 0;
}

/* ── 6. RESPONSIVE — Laptop (1024–1280px) ── */
@media (max-width: 1280px) {
    .module-hero { height: clamp(320px, 44vh, 520px); }
    .module-hero__title { font-size: clamp(2.2rem, 5vw, 3.8rem); }
}

/* ── 7. RESPONSIVE — Tablet (768–1023px) ── */
@media (max-width: 1023px) {
    .module-hero { height: clamp(300px, 42vw, 460px); }
    .module-hero__title { font-size: clamp(2rem, 6vw, 3.2rem); }
    .module-hero__sub { font-size: .92rem; }
    .module-hero__content { padding: 28px 0 36px; }
    .cards-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}

/* ── 8. RESPONSIVE — Mobile (≤767px) ── */
@media (max-width: 767px) {
    .module-hero { height: clamp(280px, 55vw, 380px); }
    .module-hero__title { font-size: clamp(1.8rem, 8vw, 2.6rem); }
    .module-hero__title::after { width: 44px; height: 3px; margin-top: 10px; }
    .module-hero__sub { font-size: .86rem; }
    .module-hero__chips { gap: 6px; margin-top: 14px; }
    .hero-chip { font-size: .76rem; padding: 6px 12px; }
    .module-hero__content { padding: 20px 0 28px; }
    .listing-filter { gap: 8px; }
    .listing-filter input,
    .listing-filter select { min-width: 100%; height: 44px; }
    .listing-filter .btn-lux { width: 100%; justify-content: center; }
    .cards-grid { grid-template-columns: 1fr; gap: 16px; }
    .section-pad { padding: 40px 0; }
}

/* ── 10. SECTION PADDING — overridden in v5 below ── */

/* ═══════════════════════════════════════════════════════════════════════
   3M HOLIDAYS — FINAL CLEAN CSS v5
   Single source of truth for cards, hero, badges, responsive
   ═══════════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────────
   1. CARD MEDIA — one definition only
   ───────────────────────────────────────────────────────────────────── */
.premium-card .card-media {
    height: 230px;
    overflow: hidden;
    position: relative;
    border-radius: 22px 22px 0 0;
}
.premium-card .card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .42s ease;
}
.premium-card:hover .card-media img {
    transform: scale(1.06);
}

/* ─────────────────────────────────────────────────────────────────────
   2. CARD CONTENT — clean layout, no overlap
   ───────────────────────────────────────────────────────────────────── */
.premium-card .card-content {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* meta row — location + date */
.premium-card .card-content .meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    color: #57718a;
    font-size: .86rem;
    font-weight: 700;
    margin: 0;
    order: 1;
}
.premium-card .card-content .meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.premium-card .card-content .meta i { color: var(--lux-blue); }

/* Stars */
.premium-card .stars {
    order: 2;
    margin: 0;
    font-size: .95rem;
}

/* Title */
.premium-card .card-content h3 {
    order: 3;
    font-size: 1.18rem;
    font-weight: 900;
    color: var(--lux-navy);
    letter-spacing: -.03em;
    line-height: 1.3;
    margin: 0;
}
.premium-card .card-content h3 a {
    color: inherit;
    text-decoration: none;
    transition: color .2s;
}
.premium-card .card-content h3 a:hover { color: var(--lux-blue); }

/* Trip badges */
.premium-card .trip-badges {
    order: 4;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
}
.premium-card .trip-badges span {
    padding: 4px 11px;
    border-radius: 999px;
    background: var(--lux-soft, #e8fbfa);
    color: var(--lux-blue);
    font-size: .76rem;
    font-weight: 900;
    border: 1px solid rgba(3,107,143,.14);
}

/* Description */
.premium-card .card-desc {
    order: 5;
    color: var(--lux-muted, #5e7288);
    font-size: .88rem;
    line-height: 1.62;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Facilities strip */
.card-feat-strip {
    order: 6;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0;
}
.card-feat-dot {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #f4f8fc;
    border: 1px solid rgba(6,27,47,.08);
    color: var(--lux-ink, #1a2e3e);
    font-size: .76rem;
    font-weight: 700;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: background .18s, border-color .18s;
}
.card-feat-dot:hover {
    background: var(--lux-soft, #e8fbfa);
    border-color: rgba(50,211,201,.3);
}
.card-feat-dot i {
    font-size: .68rem;
    color: var(--lux-blue);
    flex-shrink: 0;
}

/* Bottom row — price + CTA */
.premium-card .card-bottom {
    order: 7;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(6,27,47,.07);
}
.card-price-block {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.old-price {
    color: #bbb;
    font-size: .84rem;
    font-weight: 600;
    text-decoration: line-through;
    display: block;
}
.price-main {
    color: var(--lux-blue);
    font-size: 1.18rem;
    font-weight: 900;
    letter-spacing: -.03em;
    display: block;
}
.price-on-request {
    color: var(--lux-muted, #5e7288);
    font-size: .88rem;
    font-weight: 700;
}
.card-cta {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 10px 16px;
    font-size: .83rem;
}

/* ─────────────────────────────────────────────────────────────────────
   3. BADGES — positioned correctly, no overlap with each other
   ───────────────────────────────────────────────────────────────────── */

/* Module badge — top-left */
.premium-card .module-badge {
    position: absolute;
    top: 13px;
    inset-inline-start: 13px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(6,27,47,.62);
    backdrop-filter: blur(12px);
    color: #fff;
    font-size: .74rem;
    font-weight: 900;
    padding: 6px 11px;
    border-radius: 999px;
    pointer-events: none;
}

/* Discount badge — top-right */
.discount-badge-card {
    position: absolute;
    bottom: 12px;
    inset-inline-end: 12px;
    z-index: 4;
    background: linear-gradient(135deg, #ff4757, #ee5a24);
    color: #fff;
    font-size: .72rem;
    font-weight: 900;
    padding: 5px 11px;
    border-radius: 999px;
    pointer-events: none;
    line-height: 1;
}

/* Featured badge — below discount (top-right, pushed down if discount exists) */
.featured-badge {
    position: absolute;
    top: 13px;
    inset-inline-end: 13px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--lux-gold, #c6a45d);
    color: #fff;
    font-size: .72rem;
    font-weight: 900;
    padding: 5px 11px;
    border-radius: 999px;
    pointer-events: none;
}

/* Duration badge — bottom center */
.duration-badge {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(10px);
    color: var(--lux-navy, #061b2f);
    font-size: .76rem;
    font-weight: 900;
    padding: 5px 13px;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(6,27,47,.14);
    pointer-events: none;
}
[dir="rtl"] .duration-badge {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

/* discount is now bottom-right, no push needed */

/* Hover CTA overlay */
.card-hover-cta {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(6,27,47,.38);
    opacity: 0;
    transition: opacity .25s ease;
    border-radius: inherit;
    pointer-events: none;
}
.card-hover-cta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--lux-turquoise, #32d3c9);
    color: var(--lux-navy, #061b2f);
    font-weight: 900;
    font-size: .88rem;
    padding: 11px 22px;
    border-radius: 999px;
    transform: translateY(8px);
    transition: transform .25s ease;
    pointer-events: none;
}
.premium-card:hover .card-hover-cta { opacity: 1; }
.premium-card:hover .card-hover-cta span { transform: translateY(0); }

/* ─────────────────────────────────────────────────────────────────────
   4. HERO — module listing pages
   ───────────────────────────────────────────────────────────────────── */
.module-hero__eyebrow {
    background: rgba(50,211,201,.14);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(50,211,201,.28);
    padding: 6px 16px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.module-hero__title {
    font-size: clamp(2.4rem, 5.5vw, 4.4rem) !important;
    line-height: 1.08;
}
.module-hero__sub {
    max-width: 600px;
    background: rgba(6,27,47,.28);
    backdrop-filter: blur(8px);
    padding: 10px 18px;
    border-radius: 12px;
    display: inline-block;
    margin-top: 12px;
    border: 1px solid rgba(255,255,255,.1);
    font-size: .97rem;
}

/* ─────────────────────────────────────────────────────────────────────
   5. RESULTS HEADER
   ───────────────────────────────────────────────────────────────────── */
.section-heading.with-action {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 2px solid rgba(6,27,47,.06);
    margin-bottom: 28px;
}
.section-heading.with-action span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--lux-blue);
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.section-heading.with-action h2 {
    color: var(--lux-navy);
    font-weight: 900;
    letter-spacing: -.04em;
    line-height: 1.12;
    margin: 0;
    font-size: clamp(1.7rem, 3vw, 2.8rem);
}
.city-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--lux-navy, #061b2f), #083f5a);
    color: #fff;
    padding: 8px 20px;
    border-radius: 999px;
    font-size: .84rem;
    font-weight: 900;
    flex-shrink: 0;
    white-space: nowrap;
}

/* ─────────────────────────────────────────────────────────────────────
   6. SECTION PADDING (final override)
   ───────────────────────────────────────────────────────────────────── */
.section-pad { padding: 48px 0 60px; }

/* ─────────────────────────────────────────────────────────────────────
   7. RESPONSIVE
   ───────────────────────────────────────────────────────────────────── */
@media (max-width: 1023px) {
    .cards-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .module-hero__title { font-size: clamp(2rem, 6vw, 3.2rem) !important; }
}
@media (max-width: 767px) {
    .cards-grid { grid-template-columns: 1fr; gap: 16px; }
    .module-hero__title { font-size: clamp(1.8rem, 8vw, 2.6rem) !important; }
    .premium-card .card-bottom { flex-direction: column; align-items: stretch; }
    .card-cta { width: 100%; justify-content: center; text-align: center; }
    .listing-filter { flex-direction: column; gap: 8px; }
    .listing-filter input,
    .listing-filter .btn-lux { width: 100%; }
    .section-heading.with-action { flex-direction: column; align-items: flex-start; }
    .duration-badge { font-size: .7rem; }
}


/* ═══════════════════════════════════════════════════════════════════
   3M HOLIDAYS — FULL RESPONSIVE SYSTEM
   Covers: 1280px / 1024px / 768px / 600px / 480px / 380px
   One clean block — appended last so it wins every conflict
   ═══════════════════════════════════════════════════════════════════ */

/* ── 1. LARGE LAPTOP: 1024–1280px ─────────────────────────────── */
@media (max-width: 1280px) {
    .wow-hero-grid { grid-template-columns: 1fr 380px; gap: 36px; }
    .footer-grid  { grid-template-columns: 1.4fr .7fr .7fr .9fr; gap: 24px; }
    .detail-grid  { grid-template-columns: 1fr 360px; }
    .cards-grid   { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .lagoon-grid  { gap: 28px; }
    .section-heading h2,
    .section-heading.centered h2 { font-size: clamp(1.8rem, 3vw, 3rem); }
}

/* ── 2. TABLET LANDSCAPE / SMALL LAPTOP: 769–1024px ──────────── */
@media (max-width: 1024px) {
    .wow-hero-grid {
        grid-template-columns: 1fr;
        padding-top: 40px;
        padding-bottom: 60px;
        gap: 28px;
    }
    .wow-hero-copy { text-align: center; max-width: 100%; }
    .wow-hero-copy h1 { font-size: clamp(1.9rem, 5vw, 3rem); }
    .hero-actions { justify-content: center; }
    .hero-proof   { justify-content: center; }
    .smart-search-card { max-width: 600px; margin-inline: auto; }

    .cards-grid   { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .detail-grid  { grid-template-columns: 1fr; }
    .booking-panel { position: static; }
    .detail-hero  { min-height: 400px; }

    .story-grid   { grid-template-columns: 1fr 1fr; }
    .destination-grid { grid-template-columns: repeat(2, 1fr); }
    .honeymoon-grid   { grid-template-columns: repeat(2, 1fr); }
    .concierge-steps  { grid-template-columns: 1fr 1fr; gap: 16px; }
    .review-slider, .luxury-reviews { grid-template-columns: 1fr 1fr; }
    .experience-grid  { grid-template-columns: repeat(2, 1fr); }

    .lagoon-grid  { grid-template-columns: 1fr; gap: 24px; }
    .lagoon-photo img { height: 380px; }

    .footer-grid  { grid-template-columns: 1fr 1fr; gap: 28px; }
    .footer-topline { flex-direction: column; align-items: flex-start; gap: 16px; }

    .section-pad  { padding: 48px 0; }
    .section-heading h2,
    .section-heading.centered h2 { font-size: clamp(1.75rem, 4vw, 2.8rem); }

    .module-hero  { min-height: 380px; background-attachment: scroll; }
    .module-hero__title { font-size: clamp(1.9rem, 5vw, 3rem) !important; }
    .module-hero__content { padding: 50px 0 36px; }
}

/* ── 3. TABLET PORTRAIT: 601–768px ───────────────────────────── */
@media (max-width: 768px) {
    /* Navigation */
    .nav-actions { gap: 6px; }

    /* Hero */
    .wow-hero-copy h1 { font-size: clamp(1.75rem, 7vw, 2.6rem); }
    .hero-lead   { font-size: .96rem; }

    /* Grids → 2 col */
    .cards-grid         { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .destination-grid   { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .honeymoon-grid     { grid-template-columns: 1fr; }
    .concierge-steps    { grid-template-columns: 1fr; }
    .story-grid         { grid-template-columns: 1fr; }
    .review-slider,
    .luxury-reviews     { grid-template-columns: 1fr; }
    .experience-grid    { grid-template-columns: 1fr; }
    .features-row       { grid-template-columns: 1fr 1fr; }
    .gallery-grid       { grid-template-columns: 1fr 1fr; }
    .payment-icons      { grid-template-columns: 1fr 1fr; }

    /* Detail page */
    .detail-grid  { grid-template-columns: 1fr; }
    .booking-panel { position: static; border-radius: 24px; }
    .detail-hero  { min-height: 360px; }
    .detail-hero .container { padding: 80px 0 40px; }
    .detail-hero h1 { font-size: clamp(1.8rem, 7vw, 3rem); }

    /* Module hero */
    .module-hero { min-height: 320px; }
    .module-hero__title { font-size: clamp(1.8rem, 6vw, 2.6rem) !important; }
    .module-hero__content { padding: 44px 0 30px; }
    .module-hero__chips { gap: 6px; }

    /* Typography */
    .section-heading h2,
    .section-heading.centered h2 { font-size: clamp(1.6rem, 5vw, 2.4rem); }
    .section-pad { padding: 38px 0; }

    /* Filter */
    .listing-filter { grid-template-columns: 1fr; gap: 10px; }
    .listing-filter .btn-lux { width: 100%; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .footer-topline { display: block; }
    .footer-topline .btn-lux { margin-top: 16px; display: block; width: 100%; }
    .footer-bottom { display: block; text-align: center; }
    .footer-bottom span { display: block; margin-bottom: 6px; }

    /* Lux gallery */
    .lux-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
    .lux-gallery figure:first-child { grid-row: span 1; }

    /* Events filter bar */
    .events-filter-inner { flex-direction: column; gap: 8px; }
    .events-city-tabs { gap: 6px; }
    .cat-pills { gap: 6px; }
}

/* ── 4. MOBILE LARGE: 481–600px ──────────────────────────────── */
@media (max-width: 600px) {
    /* Cards → 1 col */
    .cards-grid         { grid-template-columns: 1fr; gap: 14px; }
    .destination-grid   { grid-template-columns: 1fr; }
    .features-row       { grid-template-columns: 1fr; }
    .gallery-grid       { grid-template-columns: 1fr; }
    .gallery-grid img   { height: 210px; }
    .payment-icons      { grid-template-columns: 1fr; }

    /* Card internals */
    .premium-card .card-media  { height: 210px; }
    .premium-card .card-bottom { flex-direction: column; align-items: stretch; gap: 10px; }
    .card-cta { width: 100%; text-align: center; justify-content: center; }

    /* Hero */
    .wow-hero-copy h1 { font-size: clamp(1.6rem, 9vw, 2.2rem); }
    .hero-proof span  { width: 100%; }
    .smart-search-card { padding: 18px; border-radius: 22px; }

    /* Module hero */
    .module-hero { min-height: 270px; }
    .module-hero__title { font-size: clamp(1.6rem, 8vw, 2.2rem) !important; }
    .module-hero__sub { font-size: .88rem; padding: 8px 14px; }

    /* Typography */
    .section-heading h2,
    .section-heading.centered h2 { font-size: clamp(1.45rem, 7vw, 2rem); }
    .section-pad { padding: 32px 0; }
    .section-heading { margin-bottom: 18px; }

    /* Detail hero */
    .detail-hero { min-height: 280px; }
    .detail-hero h1 { font-size: clamp(1.6rem, 9vw, 2.4rem); }
    .detail-hero .container { padding: 60px 0 30px; }

    /* Footer */
    .footer-grid  { grid-template-columns: 1fr; }
    .lux-footer   { padding-top: 44px; }
    .footer-topline { padding-bottom: 28px; }

    /* Page hero */
    .page-hero, .inner-hero { padding: 36px 0 24px; }
    .page-title, .page-hero h1, .inner-hero h1 { font-size: clamp(1.6rem, 9vw, 2.4rem); }

    /* CTA card */
    .final-cta-card { padding: 36px 16px; border-radius: 24px; }
    .final-cta-card h2 { font-size: clamp(1.5rem, 8vw, 2.2rem); }

    /* Booking panel */
    .booking-panel { padding: 18px; }
    .glass-panel   { padding: 18px; }

    /* Lux gallery */
    .lux-gallery { grid-template-columns: 1fr; grid-auto-rows: 200px; }

    /* Destination tile */
    .destination-tile { min-height: 260px; }

    /* Events page */
    .events-city-title { font-size: 1.4rem; }
    .event-card__media { height: 190px; }
}

/* ── 5. MOBILE SMALL: 320–480px ──────────────────────────────── */
@media (max-width: 480px) {
    /* Container tighter */
    .container { width: min(100% - 20px, var(--container)); }

    /* Nav */
    .pill  { min-width: 36px; height: 38px; padding-inline: 8px; font-size: .8rem; }
    .nav-actions { gap: 4px; }

    /* Hero */
    .wow-hero-copy h1 { font-size: clamp(1.5rem, 10vw, 2rem); letter-spacing: -.02em; }
    .hero-lead { font-size: .9rem; }
    .hero-actions { flex-direction: column; gap: 8px; }
    .hero-actions .btn-lux,
    .hero-actions .btn-ghost { width: 100%; justify-content: center; }

    /* Module hero */
    .module-hero { min-height: 240px; }
    .module-hero__title { font-size: clamp(1.4rem, 10vw, 1.9rem) !important; }
    .module-hero__content { padding: 36px 0 24px; }

    /* Section */
    .section-pad { padding: 28px 0; }
    .section-heading h2,
    .section-heading.centered h2 { font-size: clamp(1.3rem, 8vw, 1.8rem); }

    /* Cards */
    .premium-card .card-media { height: 190px; }
    .premium-card .card-content { padding: 16px; }
    .premium-card .card-content h3 { font-size: 1rem; }
    .price-main { font-size: 1.05rem; }

    /* Detail */
    .detail-hero { min-height: 240px; }
    .detail-hero h1 { font-size: clamp(1.4rem, 10vw, 2rem); }
    .detail-hero .container { padding: 50px 0 24px; }

    /* Badges smaller */
    .module-badge,
    .discount-badge-card,
    .featured-badge,
    .duration-badge { font-size: .68rem; padding: 4px 9px; }

    /* Page hero */
    .page-title,
    .page-hero h1,
    .inner-hero h1 { font-size: clamp(1.4rem, 10vw, 2rem); }
    .page-hero, .inner-hero { padding: 30px 0 20px; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 20px; }
    .social-links a { width: 38px; height: 38px; }

    /* Trust strip */
    .trust-strip { margin-top: -20px; }

    /* Search card */
    .smart-search-card { padding: 16px; }
    .search-card-head strong { font-size: 1.1rem; }

    /* Lagoon */
    .lagoon-photo img { height: 260px; }

    /* CTA */
    .final-cta-card { padding: 28px 14px; }

    /* Events */
    .event-card__media { height: 170px; }
    .events-city-title { font-size: 1.2rem; }
    .cat-pill { font-size: .74rem; padding: 6px 10px; }

    /* Floating WA */
    .floating-whatsapp { width: 52px; height: 52px; font-size: 1.5rem; right: 14px; bottom: 14px; }
}

/* ── 6. VERY SMALL: max 360px (Galaxy S8 etc) ─────────────────── */
@media (max-width: 360px) {
    .container { width: min(100% - 16px, var(--container)); }
    .wow-hero-copy h1 { font-size: 1.4rem; }
    .module-hero__title { font-size: 1.3rem !important; }
    .section-heading h2,
    .section-heading.centered h2 { font-size: 1.25rem; }
    .premium-card .card-content h3 { font-size: .95rem; }
    .pill { height: 34px; padding-inline: 7px; font-size: .76rem; }
    .btn-lux { padding: 10px 16px; font-size: .84rem; }
    .nav-actions { gap: 3px; }
}

/* ── 7. IPAD PRO / LARGE TABLET: 1024–1180px ─────────────────── */
@media (min-width: 1025px) and (max-width: 1180px) {
    .cards-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .wow-hero-grid { grid-template-columns: 1fr 360px; gap: 32px; }
    .detail-grid  { grid-template-columns: 1fr 340px; }
    .footer-grid  { grid-template-columns: 1.2fr .7fr .7fr .8fr; gap: 22px; }
}

/* ── 8. WIDE SCREEN: 1440px+ ─────────────────────────────────── */
@media (min-width: 1440px) {
    :root { --container: 1360px; }
    .cards-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
    .section-pad { padding: 64px 0; }
}

/* ── UTILITY: prevent horizontal scroll globally ──────────────── */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}
*, *::before, *::after {
    min-width: 0;
}
img, video, iframe {
    max-width: 100%;
    height: auto;
}
table {
    max-width: 100%;
}
.hotel-price-table,
.dp-pricing-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}


/* ═══════════════════════════════════════════════════════════════════
   3M HOLIDAYS — TYPOGRAPHY & CONSISTENCY SYSTEM v6
   Font sizes, spacing rhythm, detail page polish
   ═══════════════════════════════════════════════════════════════════ */

/* ── 1. GLOBAL FONT SCALE — consistent base ─────────────────────── */
body {
    font-size: 15px;
    line-height: 1.72;
}

/* ── 2. HEADING SCALE — one system for all pages ────────────────── */
h1 { font-size: clamp(1.9rem, 4vw, 3.4rem);  font-weight: 900; letter-spacing: -.045em; line-height: 1.1; }
h2 { font-size: clamp(1.55rem, 3vw, 2.6rem); font-weight: 900; letter-spacing: -.04em;  line-height: 1.18; }
h3 { font-size: clamp(1.1rem,  2vw, 1.55rem); font-weight: 900; letter-spacing: -.03em;  line-height: 1.28; }
h4 { font-size: 1.05rem; font-weight: 800; }

/* ── 3. SECTION HEADINGS — consistent across all listing pages ── */
.section-heading h2,
.section-heading.centered h2 {
    font-size: clamp(1.55rem, 3vw, 2.6rem) !important;
    letter-spacing: -.04em;
    line-height: 1.18;
}

/* ── 4. HOMEPAGE HERO — proportional ────────────────────────────── */
.wow-hero-copy h1 {
    font-size: clamp(1.9rem, 4.2vw, 3.8rem) !important;
    letter-spacing: -.05em;
    line-height: 1.08;
}
.hero-lead { font-size: 1rem !important; line-height: 1.8; }

/* ── 5. MODULE HERO (listing pages) ────────────────────────────── */
.module-hero__title {
    font-size: clamp(1.8rem, 3.8vw, 3.2rem) !important;
    letter-spacing: -.045em;
    line-height: 1.1;
    text-shadow: 0 4px 24px rgba(6,27,47,.45);
}
.module-hero__sub {
    font-size: .96rem !important;
    line-height: 1.68;
}

/* ── 6. DETAIL HERO ─────────────────────────────────────────────── */
.detail-hero h1 {
    font-size: clamp(1.8rem, 4vw, 3.4rem) !important;
    letter-spacing: -.045em;
    line-height: 1.1;
}

/* ── 7. CARD TYPOGRAPHY ─────────────────────────────────────────── */
.premium-card .card-content h3,
.card-content h3 {
    font-size: 1.08rem !important;
    letter-spacing: -.025em;
    line-height: 1.38;
}
.premium-card .card-desc,
.card-desc {
    font-size: .87rem !important;
    line-height: 1.6;
}
.price-main { font-size: 1.12rem !important; }
.old-price  { font-size: .82rem !important; }

/* ── 8. SECTION KICKERs ─────────────────────────────────────────── */
.section-heading span,
.lux-kicker,
.footer-kicker,
.eyebrow {
    font-size: .72rem !important;
    letter-spacing: .18em;
}

/* ── 9. CONTENT TEXT ────────────────────────────────────────────── */
.glass-panel p,
.dv4-card p,
.lagoon-copy p,
.card-desc,
.hero-lead {
    font-size: .96rem;
    line-height: 1.75;
}

/* ── 10. DESTINATION TILE ───────────────────────────────────────── */
.destination-tile h3 { font-size: 1.35rem !important; }
.destination-tile p  { font-size: .9rem;  }

/* ── 11. FOOTER ─────────────────────────────────────────────────── */
.footer-topline h2 {
    font-size: clamp(1.3rem, 3vw, 2.2rem) !important;
}
.final-cta-card h2 {
    font-size: clamp(1.5rem, 3.5vw, 2.8rem) !important;
}

/* ── 12. PAYMENT HEADING ────────────────────────────────────────── */
.payment-grid h2 {
    font-size: clamp(1.4rem, 3vw, 2.4rem) !important;
}

/* ── 13. DETAIL PAGE SECTIONS ───────────────────────────────────── */
.dv4-stitle {
    font-size: 1.1rem !important;
}
.dv4-feat-pill {
    font-size: .86rem;
}
.booking-panel h3,
.price-big {
    font-size: clamp(1.1rem, 2.5vw, 1.7rem) !important;
}

/* ── 14. SECTION SPACING — breathing room ───────────────────────── */
.section-pad          { padding: 52px 0 !important; }
.section-heading      { margin-bottom: 22px; }
.lagoon-grid          { gap: 28px; }
.trust-strip          { margin-top: -24px; }
.lux-footer           { padding-top: 52px; }
.footer-topline       { padding-bottom: 36px; }

/* ── 15. SEARCH CARD HEADING ────────────────────────────────────── */
.search-card-head strong { font-size: 1.25rem !important; }

/* ── 16. STORY CARDS ────────────────────────────────────────────── */
.story-card h3 { font-size: 1.05rem; }

/* ── 17. EXPERIENCE CARDS ───────────────────────────────────────── */
.experience-card h3 { font-size: 1.05rem; margin: 14px 0 8px; }
.experience-card p  { font-size: .9rem; }

/* ── 18. CONCIERGE STEPS ────────────────────────────────────────── */
.concierge-steps h3 { font-size: 1rem; }
.concierge-steps p  { font-size: .9rem; }

/* ── 19. REVIEW CARDS ───────────────────────────────────────────── */
.review-head h3 { font-size: .98rem; }
.review-head p  { font-size: .83rem; }

/* ── 20. RESPONSIVE OVERRIDES ───────────────────────────────────── */
@media (max-width: 768px) {
    body { font-size: 14.5px; }
    h1   { font-size: clamp(1.6rem, 7vw, 2.4rem); }
    h2   { font-size: clamp(1.35rem, 5.5vw, 2rem); }
    h3   { font-size: clamp(1rem, 4vw, 1.35rem); }
    .section-pad { padding: 36px 0 !important; }
    .detail-hero h1 { font-size: clamp(1.5rem, 7vw, 2.2rem) !important; }
    .module-hero__title { font-size: clamp(1.5rem, 7vw, 2.2rem) !important; }
    .wow-hero-copy h1 { font-size: clamp(1.55rem, 7vw, 2.2rem) !important; }
    .final-cta-card h2 { font-size: clamp(1.3rem, 6vw, 2rem) !important; }
    .footer-topline h2 { font-size: clamp(1.2rem, 5vw, 1.8rem) !important; }
    .destination-tile h3 { font-size: 1.15rem !important; }
    .section-heading h2,
    .section-heading.centered h2 { font-size: clamp(1.3rem, 5.5vw, 1.9rem) !important; }
}

@media (max-width: 480px) {
    body { font-size: 14px; line-height: 1.68; }
    h1   { font-size: clamp(1.4rem, 9vw, 2rem); }
    h2   { font-size: clamp(1.2rem, 7vw, 1.7rem); }
    h3   { font-size: clamp(.95rem, 5vw, 1.2rem); }
    .section-pad { padding: 28px 0 !important; }
    .module-hero__title { font-size: clamp(1.35rem, 9vw, 1.9rem) !important; }
    .wow-hero-copy h1 { font-size: clamp(1.35rem, 9vw, 1.9rem) !important; }
    .section-heading h2,
    .section-heading.centered h2 { font-size: clamp(1.15rem, 7vw, 1.6rem) !important; }
    .premium-card .card-content h3 { font-size: .95rem !important; }
}


/* ── Facebook Video Button (replaces broken embed) ───────────────── */
.dv4-fb-video-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    min-height: 280px;
    border-radius: 22px;
    background: linear-gradient(135deg, #1a56db 0%, #1877f2 50%, #0ea5e9 100%);
    padding: 48px 36px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.dv4-fb-video-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 20%, rgba(255,255,255,.12) 0%, transparent 60%);
    pointer-events: none;
}
.dv4-fb-icon {
    width: 88px;
    height: 88px;
    background: rgba(255,255,255,.2);
    backdrop-filter: blur(8px);
    border: 2px solid rgba(255,255,255,.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    color: #fff;
    position: relative;
    z-index: 1;
}
.dv4-fb-label {
    color: rgba(255,255,255,.92);
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
    max-width: 360px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}
.dv4-fb-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #1877f2 !important;
    font-weight: 900;
    font-size: 1.05rem;
    padding: 15px 32px;
    border-radius: 999px;
    text-decoration: none !important;
    box-shadow: 0 16px 40px rgba(0,0,0,.25);
    transition: transform .22s ease, box-shadow .22s ease;
    position: relative;
    z-index: 1;
    letter-spacing: -.01em;
}
.dv4-fb-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 56px rgba(0,0,0,.32);
    color: #1877f2 !important;
}
.dv4-fb-btn i { font-size: 1.25rem; }

@media (max-width: 480px) {
    .dv4-fb-video-wrap { min-height: 220px; padding: 32px 20px; gap: 16px; }
    .dv4-fb-icon { width: 68px; height: 68px; font-size: 2.1rem; }
    .dv4-fb-label { font-size: .92rem; }
    .dv4-fb-btn { font-size: .9rem; padding: 12px 24px; }
}

/* FINAL MOBILE LOGO FIX */
@media (max-width: 768px) {

    .site-header::after {
        display: none !important;
        content: none !important;
    }

    .nav-wrap {
        display: grid !important;
        grid-template-columns: 48px 1fr 48px;
        align-items: center !important;
        min-height: 70px !important;
        position: relative !important;
        direction: rtl !important;
    }

    .mobile-menu {
        grid-column: 1 !important;
        justify-self: start !important;
        position: static !important;
        transform: none !important;
    }

    .lux-brand {
        grid-column: 3 !important;
        justify-self: end !important;
        position: static !important;
        transform: none !important;
        width: auto !important;
        height: auto !important;
        min-width: 0 !important;
        overflow: visible !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .brand-logo-img,
    .site-logo {
        height: 52px !important;
        max-height: 52px !important;
        max-width: 92px !important;
        width: auto !important;
        object-fit: contain !important;
        display: block !important;
        transform: translateY(-2px) !important;
    }

    .brand-copy {
        display: none !important;
    }

    .nav-actions {
        grid-column: 2 !important;
        justify-self: center !important;
        padding: 0 !important;
    }
}

/* ═══════════════════════════════════════════════════
   FIX 1: فردي/مزدوج/ثلاثي — الكارت
   ═══════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .card-feat-dot {
        white-space: normal !important;
        word-break: break-word !important;
        max-width: 100% !important;
        font-size: .7rem !important;
    }
    .card-feat-strip {
        flex-wrap: wrap !important;
    }
}

/* ═══════════════════════════════════════════════════
   FIX 2: اللوجو في Desktop view من الموبايل
   ═══════════════════════════════════════════════════ */
@media (min-width: 769px) {
    .lux-brand {
        position: static !important;
        transform: none !important;
        width: auto !important;
        height: auto !important;
        flex: unset !important;
        gap: 14px !important;
        overflow: visible !important;
    }
    .brand-logo-img {
        height: 52px !important;
        max-width: 160px !important;
        width: auto !important;
        object-fit: contain !important;
        display: block !important;
    }
    .brand-copy {
        display: flex !important;
    }
    .site-header::after {
        display: none !important;
        content: none !important;
    }
}

/* ═══════════════════════════════════════════════════
   FIX: إخفاء card-feat-strip على الموبايل
   ═══════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .card-feat-strip { display: none !important; }
}

/* ═══════════════════════════════════════════════════
   HOTFIX: خط أسماء الفنادق أوضح وصريح
   التأثير: أسماء الفنادق داخل الكروت فقط
   ═══════════════════════════════════════════════════ */
.premium-card[data-module="hotels"] .card-content h3,
.premium-card[data-module="hotels"] .card-content h3 a {
    font-family: Tahoma, "Segoe UI", Arial, sans-serif !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
    word-spacing: 0 !important;
    line-height: 1.5 !important;
    font-size: 1.28rem !important;
    color: var(--lux-navy) !important;
    text-rendering: optimizeLegibility !important;
    -webkit-font-smoothing: antialiased !important;
}

.rtl .premium-card[data-module="hotels"] .card-content h3,
.rtl .premium-card[data-module="hotels"] .card-content h3 a {
    direction: rtl !important;
    unicode-bidi: plaintext !important;
}

@media (max-width: 768px) {
    .premium-card[data-module="hotels"] .card-content h3,
    .premium-card[data-module="hotels"] .card-content h3 a {
        font-size: 1.2rem !important;
        line-height: 1.58 !important;
        font-weight: 900 !important;
    }
}

