/* =========================================
   HOME REDESIGN — rails, chips, sections
========================================= */

.emh-home {
    font-family: "Manrope", system-ui, sans-serif;
}

.emh-wrap {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 20px;
}

.emh-section {
    padding: 56px 0;
}

.emh-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.emh-section-head .tag {
    display: block;
    color: #d4a017;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    margin-bottom: 8px;
}

.emh-section-head h2 {
    margin: 0;
    color: #14213d;
    font-size: clamp(26px, 3.5vw, 36px);
    font-weight: 800;
    line-height: 1.15;
}

.emh-section-head h2 span { color: #d4a017; }

.emh-section-head p {
    margin: 8px 0 0;
    color: #697386;
    font-size: 14px;
    max-width: 520px;
}

.emh-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    background: #14213d;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.emh-view-all:hover { background: #d4a017; color: #14213d; }

/* Chips */
.emh-chips-section {
    padding: 18px 0 8px;
    background: #fff;
}

.emh-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.emh-chip {
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid #d7dee8;
    background: #fff;
    color: #3d4c63;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.emh-chip:hover,
.emh-chip.is-active {
    background: #14213d;
    border-color: #14213d;
    color: #fff;
}

/* Package rails */
.emh-rail-section { background: #f4f7fb; }

.emh-rail-shell { position: relative; }

.emh-rail {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 4px 2px 12px;
    scrollbar-width: none;
}

.emh-rail::-webkit-scrollbar { display: none; }

.emh-rail > .emh-pkg-card {
    flex: 0 0 min(300px, 78vw);
    scroll-snap-align: start;
}

.emh-rail-btn {
    position: absolute;
    top: 40%;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #14213d;
    box-shadow: 0 8px 20px rgba(20,33,61,0.15);
    cursor: pointer;
}

.emh-rail-btn.prev { left: -6px; }
.emh-rail-btn.next { right: -6px; }

/* Package card */
.emh-pkg-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(20,33,61,0.08);
    box-shadow: 0 10px 24px rgba(20,33,61,0.06);
    display: flex;
    flex-direction: column;
}

.emh-pkg-image {
    position: relative;
    display: block;
    height: 190px;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
}

.emh-pkg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.emh-pkg-card:hover .emh-pkg-image img { transform: scale(1.05); }

.emh-pkg-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(8,18,36,0.7) 100%);
}

.emh-pkg-duration {
    position: absolute;
    left: 12px;
    top: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.95);
    color: #14213d;
    font-size: 11px;
    font-weight: 800;
}

.emh-pkg-place {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.emh-pkg-place i { color: #d4a017; margin-right: 4px; }

.emh-pkg-body { padding: 14px 14px 12px; display: flex; flex-direction: column; flex: 1; }

.emh-pkg-body h3 {
    margin: 0;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 800;
}

.emh-pkg-body h3 a { color: #14213d; text-decoration: none; }

.emh-pkg-chips {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.emh-pkg-chips li {
    padding: 4px 8px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #4b5c72;
    font-size: 11px;
    font-weight: 700;
}

.emh-pkg-foot {
    margin-top: auto;
    padding-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid rgba(20,33,61,0.06);
}

.emh-pkg-price small {
    display: block;
    color: #8a93a3;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.emh-pkg-price strong {
    color: #14213d;
    font-size: 18px;
    font-weight: 800;
}

.emh-pkg-actions { display: inline-flex; gap: 8px; }

.emh-pkg-wa {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e8f8ee;
    color: #128c7e;
    font-size: 17px;
    text-decoration: none;
}

.emh-pkg-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 10px;
    background: #14213d;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.emh-pkg-btn:hover { background: #d4a017; color: #14213d; }

/* Destinations strip polish */
.destination-highlights {
    background: #fff;
    padding: 28px 0 10px;
}

/* Why mosaic */
.emh-why {
    background: #fff;
    padding: 70px 0 90px;
}

.emh-why-grid {
    display: grid;
    grid-template-columns: 1fr 1.35fr 1fr;
    gap: 16px;
    align-items: stretch;
}

.emh-why-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.emh-why-card {
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #e5eaf1;
    background: #fff;
    min-height: 160px;
}

.emh-why-card.accent {
    background: #14213d;
    border-color: #14213d;
    color: #fff;
}

.emh-why-card.accent h3,
.emh-why-card.accent p { color: #fff; }

.emh-why-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
    background: #f1f5f9;
}

.emh-why-icon img { width: 100%; height: 100%; object-fit: cover; }

.emh-why-card h3 {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 800;
    color: #14213d;
}

.emh-why-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: #697386;
}

.emh-why-center {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 340px;
}

.emh-why-center img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.emh-why-cta {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    width: calc(100% - 28px);
    max-width: 520px;
    background: #fff;
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.emh-why-cta h3 {
    margin: 0 0 6px;
    font-size: 14px;
    font-style: italic;
    color: #14213d;
}

.emh-why-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    font-size: 11px;
    font-weight: 700;
    color: #5b6b7c;
}

.emh-why-stats span i { color: #d4a017; margin-right: 4px; }

.emh-why-cta .btn {
    border: 0;
    border-radius: 10px;
    background: #0b3d91;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    padding: 11px 14px;
    cursor: pointer;
}

/* Blogs */
.emh-blogs { background: #f7f9fc; padding: 70px 0; }

.emh-blogs-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 18px;
}

.emh-blog-list { display: flex; flex-direction: column; gap: 12px; }

.emh-blog-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 14px;
    padding: 12px;
    background: #fff;
    border: 1px solid #e5eaf1;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
}

.emh-blog-row img {
    width: 100%;
    height: 92px;
    object-fit: cover;
    border-radius: 10px;
}

.emh-blog-meta {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    color: #8a93a3;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 6px;
}

.emh-blog-row h3 {
    margin: 0;
    font-size: 15px;
    line-height: 1.35;
    color: #14213d;
    font-weight: 800;
}

.emh-blog-feature {
    display: block;
    background: #fff;
    border: 1px solid #e5eaf1;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.emh-blog-feature-img {
    position: relative;
    height: 260px;
}

.emh-blog-feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.emh-blog-feature-img span {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0,0,0,0.45);
}

.emh-blog-feature-body { padding: 14px 16px 18px; }

.emh-blog-feature-body h3 {
    margin: 6px 0 8px;
    font-size: 18px;
    color: #14213d;
}

.emh-blog-feature-body p {
    margin: 0;
    color: #697386;
    font-size: 13px;
    line-height: 1.55;
}

.emh-blogs-cta {
    text-align: center;
    margin-top: 22px;
}

/* Videos */
.emh-videos { background: #fff; padding: 70px 0; text-align: center; }

.emh-videos-stage {
    position: relative;
    max-width: 820px;
    margin: 24px auto 0;
    min-height: 360px;
}

.emh-video-card {
    position: absolute;
    left: 50%;
    top: 0;
    width: min(640px, 92%);
    border-radius: 16px;
    overflow: hidden;
    background: #111;
    box-shadow: 0 16px 40px rgba(0,0,0,0.25);
    transition: transform 0.35s ease, opacity 0.35s ease;
    transform: translateX(-50%) scale(0.86);
    opacity: 0.45;
    z-index: 1;
}

.emh-video-card.is-active {
    transform: translateX(-50%) scale(1);
    opacity: 1;
    z-index: 3;
}

.emh-video-card.is-prev {
    transform: translateX(calc(-50% - 90px)) scale(0.88) rotate(-4deg);
    z-index: 2;
}

.emh-video-card.is-next {
    transform: translateX(calc(-50% + 90px)) scale(0.88) rotate(4deg);
    z-index: 2;
}

.emh-video-thumb {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    background: #1a1a1a;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.emh-video-thumb img,
.emh-video-thumb iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
    display: block;
}

.emh-video-thumb.is-playing {
    cursor: default;
}

.emh-video-thumb.is-playing .emh-video-play {
    display: none;
}

.emh-video-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 42px;
    background: rgba(0,0,0,0.25);
}

.emh-video-title {
    padding: 12px 14px;
    color: #fff;
    text-align: left;
    font-size: 13px;
    font-weight: 700;
}

.emh-video-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.emh-yt-wrap {
    margin-top: 18px;
}

.emh-video-nav button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #d7dee8;
    background: #fff;
    cursor: pointer;
}

/* Trust / reviews dark */
.emh-trust {
    background: #0f1a2b;
    color: #fff;
    padding: 70px 0;
}

.emh-trust h2 {
    margin: 0 0 28px;
    text-align: center;
    font-size: clamp(24px, 3.5vw, 34px);
    font-weight: 800;
}

.emh-trust-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 34px;
}

.emh-trust-stat {
    text-align: center;
    padding: 10px;
}

.emh-trust-stat i {
    color: #d4a017;
    font-size: 22px;
    margin-bottom: 8px;
}

.emh-trust-stat strong {
    display: block;
    font-size: 28px;
    font-weight: 900;
}

.emh-trust-stat span {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
}

.emh-trust-rail {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    scrollbar-width: none;
}

.emh-trust-rail::-webkit-scrollbar { display: none; }

.emh-trust-card {
    flex: 0 0 min(320px, 85vw);
    scroll-snap-align: start;
    background: #fff;
    color: #14213d;
    border-radius: 16px;
    padding: 18px;
}

.emh-trust-card .stars { color: #d4a017; margin-bottom: 8px; font-size: 12px; font-weight: 800; }

.emh-trust-card .tag {
    display: inline-block;
    margin-left: 8px;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid #f3c1cb;
    color: #c0456a;
    font-size: 11px;
    font-weight: 700;
}

.emh-trust-card h3 {
    margin: 8px 0;
    font-size: 16px;
}

.emh-trust-card p {
    margin: 0;
    color: #5b6b7c;
    font-size: 13px;
    line-height: 1.55;
}

.emh-trust-card footer {
    margin-top: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.emh-trust-card footer strong { display: block; }

.emh-trust-card footer small { color: #8a93a3; }

.emh-trust-cta {
    text-align: center;
    margin-top: 24px;
}

.emh-trust-cta a {
    display: inline-flex;
    padding: 12px 18px;
    border-radius: 10px;
    background: #d4a017;
    color: #14213d;
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 980px) {
    .emh-why-grid { grid-template-columns: 1fr; }
    .emh-why-center { min-height: 280px; order: -1; }
    .emh-blogs-grid { grid-template-columns: 1fr; }
    .emh-trust-stats { grid-template-columns: repeat(2, 1fr); }
    .emh-rail-btn { display: none; }
    .emh-video-card.is-prev,
    .emh-video-card.is-next { display: none; }
}

@media (max-width: 640px) {
    .emh-blog-row { grid-template-columns: 100px 1fr; }
    .emh-why-cta { position: static; transform: none; width: 100%; margin-top: 12px; }
    .emh-why-center { overflow: visible; }
}
