/* =========================================================
   Keef Tour & Travels – Packages + Enquiry popup  (add AFTER style.css)
   ========================================================= */
:root {
    --enq-primary: #0011ff;
    --enq-primary-dark: #0000cc;
    --enq-accent: #ff004f;
    --enq-ink: #1b2130;
    --enq-muted: #667085;
    --enq-line: #e4e7ee;
    --enq-card: #ffffff;
    --enq-soft: #f4f6fb;
    --enq-radius: 22px;
}
body.dark {
    --enq-ink: #f2f4f8;
    --enq-muted: #a3acba;
    --enq-line: #2b3140;
    --enq-card: #151922;
    --enq-soft: #1c212c;
}

/* ---------- Floating button ---------- */
.enq-fab {
    position: fixed;
    left: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    z-index: 900;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 20px;
    border: none; border-radius: 999px; cursor: pointer;
    background: var(--enq-accent); color: #fff;
    font: 600 14px "Poppins", sans-serif;
    box-shadow: 0 8px 22px rgba(255, 0, 79, .4);
    transition: transform .25s ease, opacity .25s ease;
    animation: enqPulse 2.8s ease-in-out infinite;
}
.enq-fab:hover { transform: translateY(-2px) scale(1.04); }
body.enq-lock .enq-fab { opacity: 0; pointer-events: none; }
@keyframes enqPulse {
    0%, 100% { box-shadow: 0 8px 22px rgba(255, 0, 79, .4); }
    50%      { box-shadow: 0 8px 32px rgba(255, 0, 79, .8); }
}

/* ---------- Overlay + dialog ---------- */
.enq-overlay {
    position: fixed; inset: 0; z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    background: rgba(8, 12, 26, .66);
    -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
    opacity: 0; visibility: hidden;
    transition: opacity .3s ease, visibility .3s;
}
.enq-overlay.open { opacity: 1; visibility: visible; }

/* The dialog never grows taller than the screen. Inside it:
   [photo panel]  |  [ scrolling form area ]
                     [ fixed Send button  ]   <- always visible, can never be clipped */
.enq-modal {
    position: relative;
    width: min(960px, 100%);
    height: auto;
    max-height: calc(100vh - 40px);
    max-height: calc(100dvh - 40px);
    display: grid;
    grid-template-columns: minmax(280px, .82fr) 1.3fr;
    grid-template-rows: minmax(0, 1fr);
    overflow: hidden;
    background: var(--enq-card); color: var(--enq-ink);
    border-radius: var(--enq-radius);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
    transform: translateY(26px) scale(.97);
    transition: transform .4s cubic-bezier(.2, .8, .2, 1);
    font-family: "Poppins", sans-serif;
}
.enq-overlay.open .enq-modal { transform: none; }

.enq-close {
    position: absolute; top: 12px; right: 12px; z-index: 5;
    width: 38px; height: 38px; border: none; border-radius: 50%; cursor: pointer;
    background: var(--enq-soft); color: var(--enq-ink); font-size: 16px;
    display: grid; place-items: center;
    transition: background .2s, color .2s, transform .2s;
}
.enq-close:hover { background: var(--enq-accent); color: #fff; transform: rotate(90deg); }

/* ---------- Left panel ---------- */
.enq-side {
    position: relative; color: #fff; min-height: 0; overflow: hidden;
    padding: 34px 28px 28px;
    display: flex; flex-direction: column; justify-content: space-between; gap: 22px;
    background:
        linear-gradient(180deg, rgba(5, 8, 40, .55) 0%, rgba(5, 8, 40, .35) 35%, rgba(5, 8, 30, .9) 100%),
        url("assests/Grid/landscape-view-himalayas-kashmir-1.avif") center / cover no-repeat;
}
.enq-brand { font-size: 20px; font-weight: 600; letter-spacing: .3px; }
.enq-brand small { font-weight: 300; font-size: 13px; opacity: .85; margin-left: 4px; }
.enq-side h3 { font-size: 28px; font-weight: 600; line-height: 1.2; margin-top: 16px; }
.enq-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font-size: 14px; }
.enq-points i { color: #ffd24a; margin-right: 8px; }
.enq-talk {
    display: grid; gap: 8px; font-size: 13.5px;
    padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .25);
}
.enq-talk span { opacity: .8; }
.enq-talk a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; width: fit-content; }
.enq-talk a:hover { text-decoration: underline; }
.enq-talk i { width: 18px; text-align: center; }

/* ---------- Right panel: scrolling form + fixed footer ---------- */
.enq-main {
    min-height: 0; min-width: 0;
    display: flex; flex-direction: column;
    overflow: hidden;
}
.enq-scroll {
    flex: 1 1 auto; min-height: 0;
    padding: 32px 32px 10px;
    overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
    scrollbar-width: thin; scrollbar-color: #b8bfcc transparent;
}
.enq-scroll::-webkit-scrollbar { width: 8px; }
.enq-scroll::-webkit-scrollbar-thumb { background: #c3c9d6; border-radius: 8px; }
.enq-head h2 { font-size: 26px; font-weight: 600; line-height: 1.2; padding-right: 40px; }
.enq-sub { color: var(--enq-muted); font-size: 14px; margin: 6px 0 20px; }

.enq-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.enq-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; min-width: 0; }
.enq-field label { font-size: 12.5px; font-weight: 600; color: var(--enq-muted); }
.enq-field label b { color: var(--enq-accent); }
.enq-field input, .enq-field select, .enq-field textarea {
    width: 100%; min-width: 0;
    padding: 12px 14px; border-radius: 11px;
    border: 1.5px solid var(--enq-line);
    background: var(--enq-card); color: var(--enq-ink);
    font: 400 14.5px "Poppins", sans-serif;
    outline: none; appearance: none; -webkit-appearance: none;
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.enq-field select {
    padding-right: 36px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23667085' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center;
}
.enq-field input[type="date"] { min-height: 46px; }
.enq-field textarea { resize: vertical; min-height: 78px; max-height: 200px; }
.enq-field input::placeholder, .enq-field textarea::placeholder { color: #9aa3b2; }
.enq-field input:focus, .enq-field select:focus, .enq-field textarea:focus {
    border-color: var(--enq-primary); box-shadow: 0 0 0 4px rgba(0, 17, 255, .12);
}
.enq-field.invalid input, .enq-field.invalid select { border-color: var(--enq-accent); background: rgba(255, 0, 79, .04); }
.enq-error { color: var(--enq-accent); font-size: 12px; }
.enq-error:empty { display: none; }

.enq-hint {
    margin: -4px 0 14px; padding: 9px 13px; border-radius: 10px;
    background: rgba(0, 17, 255, .07); color: var(--enq-primary);
    font-size: 13px; font-weight: 500;
}
.enq-hint[hidden] { display: none; }
body.dark .enq-hint { color: #9db0ff; background: rgba(120, 140, 255, .14); }
.enq-hint i { margin-right: 6px; }

.enq-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; opacity: 0; }

/* fixed footer – outside the scrolling area, so it is ALWAYS visible */
.enq-actions {
    flex: 0 0 auto;
    padding: 12px 32px calc(14px + env(safe-area-inset-bottom, 0px));
    background: var(--enq-card);
    border-top: 1px solid var(--enq-line);
    box-shadow: 0 -10px 24px rgba(16, 24, 40, .06);
}
.enq-actions[hidden] { display: none; }
.enq-submit {
    width: 100%; padding: 14px; border: none; border-radius: 12px; cursor: pointer;
    background: linear-gradient(135deg, var(--enq-primary), #3b4bff); color: #fff;
    font: 600 16px "Poppins", sans-serif;
    box-shadow: 0 8px 20px rgba(0, 17, 255, .28);
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s;
}
.enq-submit:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(0, 17, 255, .36); }
.enq-submit:disabled { opacity: .75; cursor: wait; transform: none; }
.enq-note { font-size: 12px; color: var(--enq-muted); text-align: center; margin-top: 8px; }
.enq-alert { margin-bottom: 10px; padding: 10px 13px; border-radius: 10px; font-size: 13.5px; background: #ffe9ee; color: #b0003a; }
.enq-alert[hidden] { display: none; }

/* ---------- Success ---------- */
.enq-success { text-align: center; padding: 56px 8px 40px; }
.enq-success[hidden] { display: none; }
.enq-success .tick {
    width: 78px; height: 78px; margin: 0 auto 20px; border-radius: 50%;
    display: grid; place-items: center; font-size: 34px;
    background: #e3f8ec; color: #1f9d55;
    animation: enqPop .5s cubic-bezier(.2, 1.4, .4, 1);
}
@keyframes enqPop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.enq-success h3 { font-size: 26px; margin-bottom: 8px; }
.enq-success p { color: var(--enq-muted); font-size: 14.5px; line-height: 1.6; }
.enq-ref { margin-top: 12px; font-weight: 600; color: var(--enq-ink) !important; letter-spacing: .4px; }
.enq-success-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.enq-wa, .enq-ghost {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 22px; border-radius: 999px; cursor: pointer;
    font: 600 14.5px "Poppins", sans-serif; text-decoration: none;
}
.enq-wa { background: #25d366; color: #fff; border: none; }
.enq-ghost { background: transparent; color: var(--enq-ink); border: 1.5px solid var(--enq-line); }
.enq-ghost:hover { border-color: var(--enq-ink); }

body.enq-lock { overflow: hidden; }

/* =========================================================
   Responsive – enquiry popup
   ========================================================= */
@media (min-width: 1400px) {
    .enq-modal { width: 1020px; }
    .enq-scroll { padding: 38px 38px 12px; }
    .enq-actions { padding-inline: 38px; }
}

/* short laptop screens / display scaling: tighter spacing so most of the form is visible at once */
@media (min-width: 761px) and (max-height: 820px) {
    .enq-overlay, .pkg-overlay { padding: 14px; }
    .enq-modal { max-height: calc(100vh - 28px); max-height: calc(100dvh - 28px); }
    .pkg-modal { max-height: calc(100vh - 28px); max-height: calc(100dvh - 28px); }
    .enq-side { padding: 24px 22px 20px; gap: 14px; }
    .enq-side h3 { font-size: 22px; margin-top: 10px; }
    .enq-points { gap: 8px; font-size: 13px; }
    .enq-talk { padding-top: 12px; gap: 6px; font-size: 13px; }
    .enq-scroll { padding: 22px 26px 8px; }
    .enq-head h2 { font-size: 22px; }
    .enq-sub { margin: 4px 0 14px; font-size: 13px; }
    .enq-field { margin-bottom: 10px; gap: 4px; }
    .enq-field input, .enq-field select, .enq-field textarea { padding: 9px 12px; font-size: 14px; border-radius: 10px; }
    .enq-field input[type="date"] { min-height: 40px; }
    .enq-field textarea { min-height: 56px; }
    .enq-actions { padding: 10px 26px 12px; }
    .enq-submit { padding: 12px; font-size: 15px; }
    .enq-note { margin-top: 6px; }
    .pd-hero { aspect-ratio: auto; height: 150px; min-height: 0; }
    .pd-hero-text { padding: 16px 24px; }
    .pd-body { padding: 20px 24px 6px; }
}
@media (min-width: 761px) and (max-height: 640px) {
    .enq-side { display: none; }
    .enq-modal { grid-template-columns: 1fr; width: min(700px, 100%); }
    .enq-sub { display: none; }
    .enq-head h2 { margin-bottom: 12px; }
    .enq-scroll { padding: 18px 24px 8px; }
    .enq-actions { padding-inline: 24px; }
    .enq-field label { font-size: 12px; }
    .pd-hero { height: 120px; }
}

/* tablets / small laptops (narrow) */
@media (max-width: 960px) {
    .enq-side { padding: 28px 22px 22px; }
    .enq-side h3 { font-size: 23px; }
    .enq-scroll { padding: 28px 24px 10px; }
    .enq-actions { padding-inline: 24px; }
}

/* phones & portrait tablets: bottom sheet.  banner on top, scrolling form, fixed Send button */
@media (max-width: 760px) {
    .enq-overlay { padding: 0; align-items: flex-end; }
    .enq-modal {
        display: flex; flex-direction: column;
        width: 100%;
        max-height: 94vh; max-height: 94dvh;
        border-radius: 22px 22px 0 0;
        transform: translateY(100%);
    }
    .enq-overlay.open .enq-modal { transform: none; }

    .enq-side { flex: 0 0 auto; padding: 20px 60px 18px 20px; gap: 0; }
    .enq-brand { font-size: 15px; }
    .enq-side h3 { font-size: 19px; margin-top: 6px; }
    .enq-points, .enq-talk { display: none; }
    .enq-close { top: 12px; right: 12px; background: rgba(255,255,255,.92); color: #1b2130; }

    .enq-main { flex: 1 1 auto; }
    .enq-scroll { padding: 18px 18px 8px; }
    .enq-head h2 { font-size: 21px; padding-right: 0; }
    .enq-sub { font-size: 13.5px; margin-bottom: 16px; }
    .enq-actions { padding: 10px 18px calc(12px + env(safe-area-inset-bottom, 0px)); }

    .enq-field input, .enq-field select, .enq-field textarea { font-size: 16px; padding: 12px 13px; }

    .enq-fab { padding: 14px 16px; }
    .enq-fab span { display: none; }
}
@media (max-width: 440px) {
    .enq-row:not(.enq-row-keep) { grid-template-columns: 1fr; gap: 0; }
    .enq-success { padding-top: 36px; }
    .enq-success h3 { font-size: 22px; }
    .enq-success-actions { flex-direction: column; align-items: stretch; }
    .enq-wa, .enq-ghost { justify-content: center; }
}

/* phones turned sideways */
@media (max-height: 560px) and (max-width: 900px) and (orientation: landscape) {
    .enq-overlay { padding: 8px; align-items: center; }
    .enq-modal { display: flex; flex-direction: column; max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); border-radius: 16px; transform: none; }
    .enq-side { display: none; }
    .enq-scroll { padding: 16px 20px 6px; }
    .enq-actions { padding: 8px 20px 10px; }
    .enq-note { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .enq-fab { animation: none; }
    .enq-modal, .enq-overlay, .enq-success .tick { transition: none; animation: none; }
}

/* =========================================================
   PACKAGES  (equal-height cards, rows always fill the width)
   ========================================================= */
.packages { --gap: clamp(16px, 2vw, 26px); }

/* filters: one tidy row, scrolls sideways on small screens instead of wrapping */
.pkg-filters {
    display: flex; gap: 10px; margin: 1.4rem 0 .4rem;
    overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    padding: 4px 2px 6px;
}
.pkg-filters::-webkit-scrollbar { display: none; }
.pkg-filter {
    flex: 0 0 auto; cursor: pointer;
    padding: 9px 20px; border-radius: 999px;
    border: 1.5px solid var(--enq-line); background: var(--enq-card); color: var(--enq-ink);
    font: 500 14px "Poppins", sans-serif; white-space: nowrap;
    transition: all .25s ease;
}
.pkg-filter:hover { border-color: var(--enq-primary); }
.pkg-filter.active { background: var(--enq-primary); border-color: var(--enq-primary); color: #fff; }

/* 3 per row on desktop, 2 on tablet, 1 on phones – the last row stretches so there is never an empty slot */
.pkg-grid {
    display: flex; flex-wrap: wrap; gap: var(--gap);
    padding-block: 1.4rem 1rem;
}
.pkg-item {
    flex: 1 1 calc((100% - 2 * var(--gap)) / 3 - 1px);
    min-width: 0;
    container-type: inline-size;          /* lets a card re-layout itself when it is wide */
}
.pkg-item[hidden] { display: none; }
@media (max-width: 1060px) { .pkg-item { flex-basis: calc((100% - var(--gap)) / 2 - 1px); } }
@media (max-width: 640px)  { .pkg-item { flex-basis: 100%; } }

.pkg-card {
    height: 100%;
    display: flex; flex-direction: column;
    background: var(--enq-card); color: var(--enq-ink);
    border: 1px solid var(--enq-line); border-radius: 20px; overflow: hidden;
    box-shadow: 0 6px 24px rgba(16, 24, 40, .07);
    transition: transform .3s ease, box-shadow .3s ease;
    font-family: "Poppins", sans-serif;
}
@media (hover: hover) {
    .pkg-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(16, 24, 40, .16); }
}

.pkg-media { position: relative; flex: 0 0 auto; aspect-ratio: 16 / 10; overflow: hidden; background: var(--enq-soft); }
.pkg-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
@media (hover: hover) { .pkg-card:hover .pkg-media img { transform: scale(1.06); } }
.pkg-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 40%, rgba(0,0,0,.6)); }

.pkg-badge, .pkg-duration {
    position: absolute; z-index: 1; color: #fff;
    font: 600 12px/1 "Poppins", sans-serif; padding: 7px 13px; border-radius: 999px;
}
.pkg-badge { top: 14px; left: 14px; background: #7a8494; }
.pkg-badge.value   { background: #2e9e5b; }
.pkg-badge.family  { background: #c99a06; }
.pkg-badge.couples { background: #e0338a; }
.pkg-badge.custom  { background: var(--enq-accent); }
.pkg-duration { bottom: 14px; left: 14px; background: rgba(0,0,0,.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); display: inline-flex; gap: 6px; align-items: center; }

.pkg-body { flex: 1; display: flex; flex-direction: column; padding: 20px 20px 20px; min-width: 0; }
.pkg-title { font-size: clamp(19px, 1.6vw, 22px); font-weight: 600; line-height: 1.25; margin: 0; }
.pkg-route { margin: 6px 0 0; font-size: 13px; font-weight: 500; color: var(--enq-primary); display: flex; gap: 7px; align-items: flex-start; line-height: 1.4; }
.pkg-route i { font-size: 12px; margin-top: 3px; }
body.dark .pkg-route { color: #9db0ff; }
.pkg-desc { margin: 12px 0 0; font-size: 14px; line-height: 1.6; color: var(--enq-muted); }

.pkg-highlights { list-style: none; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px dashed var(--enq-line); display: grid; gap: 8px; }
.pkg-highlights li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; }
.pkg-highlights li::before {
    content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
    flex: 0 0 18px; height: 18px; border-radius: 50%; margin-top: 1px;
    display: grid; place-items: center; font-size: 9px;
    color: #1f9d55; background: rgba(46, 158, 91, .14);
}

/* footer pinned to the bottom so every card in a row lines up */
.pkg-footer { margin-top: auto; padding-top: 20px; display: grid; gap: 14px; }
.pkg-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; }
.pkg-price small { flex-basis: 100%; font-size: 11.5px; color: var(--enq-muted); text-transform: uppercase; letter-spacing: .5px; }
.pkg-price strong { font-size: 26px; font-weight: 700; line-height: 1.1; }
.pkg-price span { font-size: 13px; color: var(--enq-muted); }
.pkg-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.pkg-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 46px; padding: 10px 14px; border-radius: 12px; cursor: pointer;
    font: 600 14.5px "Poppins", sans-serif; white-space: nowrap;
    transition: background .25s, transform .2s, box-shadow .25s, border-color .25s;
}
.pkg-btn-primary { border: none; color: #fff; background: linear-gradient(135deg, var(--enq-primary), #3b4bff); box-shadow: 0 6px 16px rgba(0, 17, 255, .26); }
.pkg-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(0, 17, 255, .34); }
.pkg-btn-ghost { background: transparent; color: var(--enq-ink); border: 1.5px solid var(--enq-line); }
.pkg-btn-ghost:hover { border-color: var(--enq-primary); color: var(--enq-primary); }
body.dark .pkg-btn-ghost:hover { color: #9db0ff; border-color: #9db0ff; }

/* wide cards (the stretched last row, or a single filtered card) turn horizontal */
@container (min-width: 560px) {
    .pkg-card { flex-direction: row; }
    .pkg-media { flex: 0 0 42%; aspect-ratio: auto; min-height: 300px; }
    .pkg-body { padding: 26px 28px; }
}
@container (min-width: 820px) {
    .pkg-media { flex-basis: 36%; }
    .pkg-footer { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 22px; }
    .pkg-actions { justify-self: end; width: min(100%, 360px); }
}
@container (max-width: 340px) {
    .pkg-actions { grid-template-columns: 1fr; }
}

/* =========================================================
   PACKAGE DETAILS POPUP
   ========================================================= */
.pkg-overlay { z-index: 9998; }            /* the enquiry popup (9999) always opens on top of it */
.pkg-modal {
    position: relative; width: min(820px, 100%);
    max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px);
    display: flex; flex-direction: column; overflow: hidden;
    background: var(--enq-card); color: var(--enq-ink);
    border-radius: var(--enq-radius); box-shadow: 0 30px 80px rgba(0,0,0,.45);
    transform: translateY(26px) scale(.97); transition: transform .4s cubic-bezier(.2,.8,.2,1);
    font-family: "Poppins", sans-serif;
}
.pkg-overlay.open .pkg-modal { transform: none; }
.pkg-modal .enq-close { background: rgba(255,255,255,.92); color: #1b2130; }
.pd-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }

.pd-hero { position: relative; aspect-ratio: 21 / 8; min-height: 190px; background: var(--enq-soft); }
.pd-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pd-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 25%, rgba(0,0,0,.78)); }
.pd-hero-text { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 22px 28px; color: #fff; }
.pd-hero-text h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 600; line-height: 1.2; margin: 10px 0 4px; }
.pd-hero-text p { font-size: 13.5px; opacity: .92; margin: 0; }
.pd-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pd-hero .pkg-badge { position: static; }
.pd-chip { font: 600 12px/1 "Poppins", sans-serif; padding: 7px 13px; border-radius: 999px; background: rgba(255,255,255,.2); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }

.pd-body { padding: 26px 28px 8px; }
.pd-desc { font-size: 15px; line-height: 1.65; color: var(--enq-muted); margin: 0; }
.pd-highlights { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pd-highlights li { padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; background: var(--enq-soft); border: 1px solid var(--enq-line); }

.pd-h { display: flex; align-items: center; gap: 10px; margin: 30px 0 16px; font-size: 16px; font-weight: 600; }
.pd-h i { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-size: 14px; color: var(--enq-primary); background: rgba(0,17,255,.09); }
body.dark .pd-h i { color: #9db0ff; background: rgba(120,140,255,.16); }

/* day-by-day timeline */
.pd-timeline { list-style: none; margin: 0; padding: 0; }
.pd-timeline li { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding-bottom: 18px; }
.pd-timeline li:last-child { padding-bottom: 0; }
.pd-timeline li::before {            /* connector line */
    content: ""; position: absolute; left: 25px; top: 52px; bottom: -2px; width: 2px;
    background: repeating-linear-gradient(180deg, var(--enq-line) 0 5px, transparent 5px 9px);
}
.pd-timeline li:last-child::before { display: none; }
.pd-day {
    width: 52px; height: 52px; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: #fff; background: linear-gradient(135deg, var(--enq-primary), #3b4bff);
    box-shadow: 0 6px 14px rgba(0,17,255,.25); font-weight: 700; font-size: 18px; line-height: 1;
}
.pd-day small { font-size: 9px; letter-spacing: .8px; font-weight: 600; opacity: .85; margin-bottom: 2px; }
.pd-step { align-self: center; padding: 12px 16px; border-radius: 14px; background: var(--enq-soft); font-size: 14px; line-height: 1.5; }

.pd-flex { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: rgba(0,17,255,.06); border: 1px dashed rgba(0,17,255,.3); }
.pd-flex[hidden] { display: none; }
.pd-flex i { color: var(--enq-primary); font-size: 18px; margin-top: 2px; }
.pd-flex p { margin: 0; font-size: 14px; line-height: 1.6; }
body.dark .pd-flex i { color: #9db0ff; }

.pd-incl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.pd-incl li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; }
.pd-incl li::before {
    content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
    flex: 0 0 20px; height: 20px; border-radius: 50%; margin-top: 1px; display: grid; place-items: center;
    font-size: 10px; color: #1f9d55; background: rgba(46,158,91,.14);
}
.pd-note { margin: 24px 0 0; padding: 12px 16px; border-radius: 12px; background: var(--enq-soft); font-size: 12.5px; line-height: 1.55; color: var(--enq-muted); display: flex; gap: 10px; }
.pd-note i { margin-top: 3px; }

.pd-bar {
    flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 14px 28px calc(14px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--enq-line); background: var(--enq-card);
}
.pd-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 8px; }
.pd-price small { flex-basis: 100%; font-size: 11px; color: var(--enq-muted); text-transform: uppercase; letter-spacing: .5px; }
.pd-price strong { font-size: 24px; font-weight: 700; }
.pd-price span { font-size: 13px; color: var(--enq-muted); }
.pd-bar .pkg-btn { padding-inline: 30px; }

/* ---------- details popup: responsive ---------- */
@media (max-width: 760px) {
    .pkg-overlay { align-items: flex-end; padding: 0; }
    .pkg-modal { width: 100%; max-height: 94vh; max-height: 94dvh; border-radius: 22px 22px 0 0; transform: translateY(100%); }
    .pkg-overlay.open .pkg-modal { transform: none; }
    .pd-hero { aspect-ratio: 16 / 9; min-height: 170px; }
    .pd-hero-text { padding: 18px 20px; }
    .pd-body { padding: 22px 20px 6px; }
    .pd-bar { padding-inline: 20px; }
    .pd-h { margin-top: 26px; }
}
@media (max-width: 520px) {
    .pd-incl { grid-template-columns: 1fr; }
    .pd-timeline li { grid-template-columns: 44px 1fr; gap: 12px; }
    .pd-timeline li::before { left: 21px; top: 46px; }
    .pd-day { width: 44px; height: 44px; border-radius: 14px; font-size: 16px; }
    .pd-step { padding: 10px 14px; font-size: 13.5px; }
    .pd-bar .pkg-btn { padding-inline: 20px; }
    .pd-price strong { font-size: 21px; }
}
@media (max-height: 560px) and (orientation: landscape) {
    .pkg-overlay { align-items: center; padding: 8px; }
    .pkg-modal { max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); border-radius: 16px; transform: none; }
    .pd-hero { aspect-ratio: auto; min-height: 120px; }
}
@media (prefers-reduced-motion: reduce) {
    .pkg-card, .pkg-media img, .pkg-modal { transition: none; }
}


/* =========================================================
   Details popup on short screens
   ========================================================= */
@media (min-width: 761px) and (max-height: 820px) {
    .pkg-modal { max-height: calc(100vh - 28px); max-height: calc(100dvh - 28px); }
}

/* The site's global "ul li" rule adds side padding + hover zoom – switch that off for these lists */
.pkg-highlights, .pd-incl, .pd-highlights, .enq-points { cursor: default; margin-left: 0; }
.pkg-highlights li, .pd-incl li, .enq-points li { padding-inline: 0; border-radius: 0; }
.pkg-highlights li:hover, .pd-incl li:hover, .pd-highlights li:hover, .enq-points li:hover { transform: none; cursor: default; }
.pkg-price strong { white-space: nowrap; }
