/* Home page package tiles + the enquiry form after the opening (build/home_pkg_cards.py, data build/home_package_cards.json).
   The opening's 8 film tiles keep their films, sizes and motion; each gets a compact package overlay in the style of the old tile label
   (white type on a dark gradient). The whole tile is the Enquire tap area; nothing here changes a tile's size (no layout shift). */
.intro .works .tile[data-href]{cursor:pointer}   /* the whole tile opens its package page (assets/js/pkg-cards.js) */
.pkt{position:absolute;inset:0;z-index:2;container-type:size;color:#fff;pointer-events:none}
.pkt::before{content:"";position:absolute;inset:auto 0 0 0;height:78%;background:linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.55) 45%,rgba(0,0,0,.8));pointer-events:none}
.pkt .tag{pointer-events:none}
.pkt-b{position:absolute;left:14px;right:14px;bottom:12px;display:flex;flex-direction:column;gap:6px}
.pkt-n{margin:0;font:700 17px/1.15 Inter,system-ui,sans-serif;letter-spacing:-.01em;color:#fff;overflow-wrap:anywhere}
.pkt-r{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}
.pkt-p{font-size:13.5px;line-height:1.2;color:rgba(255,255,255,.9);margin-right:auto}
.pkt-p b{font-weight:700;color:#fff}
.pkt-go{pointer-events:auto;display:inline-flex;align-items:center;min-height:30px;padding:0 13px;border-radius:999px;background:#fff;color:#111;font:700 13px/1 Inter,system-ui,sans-serif;text-decoration:none}
.pkt-go:focus-visible{outline:3px solid #fff;outline-offset:2px;box-shadow:0 0 0 5px #111}
.tile[data-pkc]:hover .pkt-go{background:#e9e9e9}
@container (max-width:230px){.pkt-pp{display:none}}
@container (max-width:200px){.pkt-b{left:10px;right:10px;bottom:9px;gap:5px}.pkt-n{font-size:14.5px}.pkt-p{font-size:12.5px}.pkt-go{min-height:26px;padding:0 10px;font-size:12.5px}}
/* wide, short tiles (the strips above and below the centre film on laptops): one line, so the floating search bar never covers the name */
@container (min-width:480px) and (max-height:180px){.pkt-b{flex-direction:row;align-items:center;gap:16px}.pkt-n{white-space:nowrap}.pkt-r{flex:1;flex-wrap:nowrap}}
/* phones: the centre still's film (assets/js/pkg-cards.js) */
.pkt-mid{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
/* narrow, short tiles: a long package name takes the label chip's room */
@container (max-width:200px) and (max-height:140px){.pkt-long .tag{display:none}}
/* short tiles (small phones): the Enquire chip takes the label chip's corner, so name and price keep the bottom */
@container (max-height:120px){.pkt .tag{display:none}.pkt-b{inset:0;justify-content:flex-end;padding:0 9px 8px;gap:3px}.pkt-n{font-size:14px}.pkt-p{font-size:12.5px}.pkt-go{position:absolute;top:8px;right:8px;min-height:24px;padding:0 10px;font-size:12.5px}}

/* "Explore all tour packages" (/packages/): after the opening, and under the lower section with destination footage */
.tt-allpk-wrap{display:flex;justify-content:center;padding:28px 20px 0;text-align:center}
.pkc-allpk{padding:0 20px 56px}
.tt-allpk{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:0 28px;border-radius:999px;background:#111;color:#fff;font:600 15.5px/1 Inter,system-ui,sans-serif;text-decoration:none;transition:transform .25s ease,box-shadow .25s ease}
.tt-allpk span{transition:transform .25s ease}
.tt-allpk:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(0,0,0,.2)}
.tt-allpk:hover span{transform:translateX(4px)}
.tt-allpk:focus-visible{outline:3px solid #111;outline-offset:3px}
@media (prefers-reduced-motion:reduce){.tt-allpk,.tt-allpk span{transition:none}}

/* the form section takes over the overlap #proof had with the opening's last stretch (laptops/PCs) */
.pkc{position:relative;z-index:1;padding:56px 0 40px}
@media (min-width:1000px){.pkc{padding:120px 0 40px}}
@media (min-width:1000px) and (prefers-reduced-motion:no-preference){.pkc{margin-top:-34vh}}
.pkc ~ #proof{margin-top:0!important}
.pkc .sec-head{margin-bottom:24px;padding:0 20px}
.pkc .sec-head p{max-width:620px;margin:0 auto;font-size:15px}

/* enquiry form: a dark panel like the one under "From Idea to Itinerary" */
.pkf{margin:0;padding:clamp(20px,3vw,40px);border-radius:22px;background:#000;color:#fff;display:grid;gap:22px 48px;scroll-margin-top:16px}
@media (min-width:1000px){.pkf{grid-template-columns:minmax(0,1fr) minmax(0,2fr);align-items:start}}
.pkf-intro p{margin:0 0 10px;font-size:15px;line-height:1.5;color:rgba(255,255,255,.75)}
.pkf-lead{font-size:17px!important;color:#fff!important}
.pkf-all a{color:#fff;font-weight:600}
.pkf-alt a{color:#fff;font-weight:600;text-decoration:underline;text-underline-offset:3px}
.pkf-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:14px 18px}
@media (min-width:600px){.pkf-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pkf-wide{grid-column:1/-1}}
.pkf-f{display:flex;flex-direction:column;gap:7px;min-width:0}
.pkf-f>label{font-size:14px;font-weight:600;color:rgba(255,255,255,.9)}
.pkf-f>label b{color:#fff}
.pkf-opt{font-weight:400;color:rgba(255,255,255,.6)}
.pkf-f input:not([type=checkbox]):not([type=radio]),.pkf-f select,.pkf-f textarea{width:100%;box-sizing:border-box;min-height:48px;border:1px solid rgba(255,255,255,.28);border-radius:12px;background:rgba(255,255,255,.07);color:#fff;padding:12px 14px;font:500 16px/1.3 Inter,system-ui,sans-serif;outline:0;transition:border-color .2s,background .2s;color-scheme:dark}
.pkf-f textarea{resize:vertical;min-height:88px}
.pkf-f select{appearance:none;-webkit-appearance:none;padding-right:40px;background-image:linear-gradient(45deg,transparent 50%,#fff 50%),linear-gradient(135deg,#fff 50%,transparent 50%);background-position:calc(100% - 20px) 50%,calc(100% - 14px) 50%;background-size:6px 6px;background-repeat:no-repeat}
.pkf-f select option{color:#111;background:#fff}
.pkf-f input::placeholder,.pkf-f textarea::placeholder{color:rgba(255,255,255,.45)}
.pkf-f input:not([type=checkbox]):not([type=radio]):focus-visible,.pkf-f select:focus-visible,.pkf-f textarea:focus-visible{border-color:#fff;background:rgba(255,255,255,.12);outline:3px solid #fff;outline-offset:2px}
.pkf-f.err input,.pkf-f.err select,.pkf-f.err textarea{border-color:#ff8a80;border-width:2px}
.pkf-e{margin:0;font-size:14px;line-height:1.35;color:#ffb4ab}
.pkf-e:empty{display:none}
.pkf-pref{display:flex;flex-wrap:wrap;gap:6px 18px;align-items:center;border:0;margin:18px 0 0;padding:0;font-size:15px}
.pkf-pref legend{float:left;margin-right:6px;font-size:14px;font-weight:600;color:rgba(255,255,255,.9)}
.pkf-pref label,.pkf-consent label{display:inline-flex;align-items:center;gap:10px;min-height:44px;cursor:pointer}
.pkf-consent{margin-top:6px}
.pkf-consent label{font-size:15px;line-height:1.4;color:rgba(255,255,255,.85)}
.pkf input[type=radio],.pkf input[type=checkbox]{accent-color:#fff;width:20px;height:20px;margin:0;flex:none}
.pkf input[type=radio]:focus-visible,.pkf input[type=checkbox]:focus-visible{outline:3px solid #fff;outline-offset:3px}
.pkf-hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.pkf-act{margin-top:16px}
.pkf-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:50px;min-width:200px;border:0;border-radius:999px;background:#fff;color:#111;padding:0 30px;font:700 15px/1 Inter,system-ui,sans-serif;cursor:pointer}
.pkf-btn:hover{background:#e9e9e9}
.pkf-btn:focus-visible{outline:3px solid #fff;outline-offset:3px}
.pkf-btn[aria-busy=true]{cursor:progress;opacity:.8}
.pkf-spin{display:none;width:16px;height:16px;border-radius:50%;border:2px solid rgba(0,0,0,.25);border-top-color:#111;animation:pkfSpin .8s linear infinite}
.pkf-btn[aria-busy=true] .pkf-spin{display:inline-block}
@keyframes pkfSpin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.pkf-spin{animation-duration:2.4s}}
@media (max-width:599px){.pkf-btn{width:100%}}
.pkf-msg{margin-top:14px;font-size:15px;line-height:1.5;color:rgba(255,255,255,.9)}
.pkf-msg:empty{display:none}
.pkf-msg.ok,.pkf-msg.bad{padding:14px 16px;border-radius:12px;border:1px solid rgba(255,255,255,.3);background:rgba(255,255,255,.06)}
.pkf-msg.bad{border-color:#ffb4ab}
.pkf-msg a{color:#fff;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.pkf-msg .pkf-wa{display:inline-flex;align-items:center;min-height:44px;margin-top:8px;padding:0 18px;border-radius:999px;background:#fff;color:#111;text-decoration:none}
.pkf-terms{margin:12px 0 0;font-size:14px}
.pkf-terms a{color:rgba(255,255,255,.75)}
.pkf-picked{outline:2px solid #fff;outline-offset:2px}

/* phones: a small Enquire button bottom left; hidden while the hero is on screen and while the form is on screen */
.pkc-fab{display:none}
@media (max-width:760px){
  .pkc-fab{position:fixed;left:14px;bottom:calc(18px + env(safe-area-inset-bottom,0px));z-index:60;display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:0 15px;border-radius:999px;background:#fff;color:#111;border:1px solid rgba(0,0,0,.18);box-shadow:0 6px 20px rgba(0,0,0,.18);font:600 14px/1 Inter,system-ui,sans-serif;text-decoration:none;transition:opacity .3s}
  .pkc-fab:focus-visible{outline:3px solid #111;outline-offset:3px}
  @media (max-width:359px){.pkc-fab{padding:0 13px}.pkc-fab svg{display:none}}
  html.sih-on .pkc-fab,html.float-off .pkc-fab,html.pkc-formon .pkc-fab{opacity:0!important;visibility:hidden;pointer-events:none!important}
}
@media (max-width:1024px){html.pkc-formon .rail,html.pkc-formon .mnav-btn,html.pkc-formon .ttc-launch{opacity:0!important;visibility:hidden;pointer-events:none!important}}

/* enquiry pop-up (build/home_pkg_popup.py, assets/js/pkg-popup.js): a fixed overlay, nothing on the page moves.
   Round 6 (Ruksana 28 Nov 20:13): white, short and minimal, the same on laptops and phones - white card, black text, thin light-grey
   borders, a black button, a quiet x. Laptops: a small centred card; phones: a compact bottom sheet. The inline form keeps its own look. */
.pkp{position:fixed;inset:0;z-index:220;display:flex;align-items:center;justify-content:center;padding:16px}
.pkp[hidden]{display:none}
.pkp-bg{position:absolute;inset:0;background:rgba(17,17,17,.45);opacity:0;transition:opacity .25s ease}
.pkp-card{position:relative;width:min(430px,100%);max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overflow:auto;overscroll-behavior:contain;padding:22px 22px 16px;border:1px solid #e4e4e4;border-radius:16px;background:#fff;color:#111;box-shadow:0 24px 60px rgba(0,0,0,.22);opacity:0;transform:translateY(12px);transition:opacity .25s ease,transform .3s cubic-bezier(.16,1,.3,1);font-family:Inter,system-ui,sans-serif}
.pkp.on .pkp-bg{opacity:1}
.pkp.on .pkp-card{opacity:1;transform:none}
.pkp-card:focus{outline:none}
.pkp-card:focus-visible{outline:2px solid #111;outline-offset:-2px}
.pkp-x{position:absolute;top:8px;right:8px;z-index:2;display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:50%;background:transparent;color:#6b6b6b;cursor:pointer}
.pkp-x svg{width:18px;height:18px}
.pkp-x:hover{background:#f2f2f2;color:#111}
.pkp-x:focus-visible{outline:2px solid #111;outline-offset:0}
.pkp-h{margin:0 40px 0 0;font:700 22px/1.2 Inter,system-ui,sans-serif;letter-spacing:-.02em;color:#111}
.pkp-lead{margin:4px 0 14px;font-size:13.5px;line-height:1.45;color:#555}
/* the form inside, in white */
.pkp .pkf-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 10px;margin:0}
.pkp .pkf-wide{grid-column:1/-1}
.pkp .pkf-f{gap:4px}
.pkp .pkf-f>label{font-size:13px;font-weight:600;color:#111}
.pkp .pkf-f>label b{color:#111}
.pkp .pkf-opt{color:#777;font-weight:400}
.pkp .pkf-f input:not([type=checkbox]):not([type=radio]),.pkp .pkf-f select{min-height:44px;height:44px;padding:0 12px;border:1px solid #d4d4d4;border-radius:10px;background:#fff;color:#111;font:500 16px/1.2 Inter,system-ui,sans-serif;color-scheme:light}
.pkp .pkf-f select{padding-right:34px;background-image:linear-gradient(45deg,transparent 50%,#111 50%),linear-gradient(135deg,#111 50%,transparent 50%);background-position:calc(100% - 18px) 50%,calc(100% - 13px) 50%;background-size:5px 5px;background-repeat:no-repeat}
.pkp .pkf-f input::placeholder{color:#9a9a9a}
.pkp .pkf-f input:not([type=checkbox]):not([type=radio]):focus-visible,.pkp .pkf-f select:focus-visible{border-color:#111;background:#fff;outline:2px solid #111;outline-offset:1px}
.pkp .pkf-f.err input,.pkp .pkf-f.err select{border-color:#b3261e;border-width:1.5px}
.pkp .pkf-e{font-size:12.5px;color:#b3261e}
.pkp .pkf-consent{margin-top:4px}
.pkp .pkf-consent label{min-height:44px;gap:9px;font-size:13px;line-height:1.35;color:#444}
.pkp .pkf input[type=checkbox],.pkp input[type=checkbox]{accent-color:#111;width:18px;height:18px}
.pkp input[type=checkbox]:focus-visible{outline:2px solid #111;outline-offset:2px}
.pkp .pkf-act{margin-top:4px}
.pkp .pkf-btn{width:100%;min-height:46px;min-width:0;border-radius:10px;background:#111;color:#fff;font:600 15px/1 Inter,system-ui,sans-serif}
.pkp .pkf-btn:hover{background:#000}
.pkp .pkf-btn:focus-visible{outline:2px solid #111;outline-offset:2px}
.pkp .pkf-spin{border-color:rgba(255,255,255,.35);border-top-color:#fff}
.pkp .pkf-msg{margin-top:10px;font-size:14px;line-height:1.45;color:#111}
.pkp .pkf-msg.ok,.pkp .pkf-msg.bad{padding:12px 14px;border-radius:10px;border:1px solid #d4d4d4;background:#f7f7f7}
.pkp .pkf-msg.bad{border-color:#e6b4b0;background:#fdf4f3}
.pkp .pkf-msg a{color:#111}
.pkp .pkf-msg .pkf-wa{min-height:44px;margin-top:8px;padding:0 16px;border-radius:10px;background:#111;color:#fff;text-decoration:none}
.pkp-foot{margin:6px 0 0;font-size:12.5px;line-height:1.4;color:#777;text-align:center}
.pkp-foot a{display:inline-block;padding:6px 2px;color:#555;text-decoration:underline;text-underline-offset:2px}
.pkp-foot a:first-child{color:#111;font-weight:600}
@media (max-width:760px){
  .pkp{align-items:flex-end;padding:0}
  .pkp-card{width:100%;max-height:85vh;max-height:85dvh;border:0;border-radius:16px 16px 0 0;padding:16px 16px calc(12px + env(safe-area-inset-bottom,0px));transform:translateY(24px);box-shadow:0 -10px 40px rgba(0,0,0,.18)}
  .pkp-h{font-size:21px}
  .pkp-lead{margin-bottom:10px;font-size:13px}
}
@media (max-width:359px){.pkp .pkf-f input:not([type=checkbox]):not([type=radio]){padding:0 9px}}   /* the placeholders fit the half-width fields at 320 px */
@media (prefers-reduced-motion:reduce){.pkp-bg,.pkp-card{transition:none}}
/* the floating buttons stay out of the way while the pop-up is open */
html.pkp-open .rail,html.pkp-open .pkc-fab,html.pkp-open .ttc-launch,html.pkp-open .wa-pill,html.pkp-open .mnav-btn,html.pkp-open .ttc-hint{opacity:0!important;visibility:hidden;pointer-events:none!important}

/* the chat launcher's one-time hint (assets/js/pkg-popup.js) */
.ttc-hint{position:fixed;right:22px;bottom:90px;z-index:169;max-width:240px;padding:11px 15px;border:0;border-radius:16px 16px 4px 16px;background:#fff;color:#111;font:600 14px/1.35 Inter,system-ui,sans-serif;text-align:left;box-shadow:0 10px 30px rgba(0,0,0,.22);cursor:pointer;opacity:0;transform:translateY(8px);transition:opacity .3s ease,transform .3s ease}
.ttc-hint.on{opacity:1;transform:none}
.ttc-hint:focus-visible{outline:3px solid #111;outline-offset:2px}
@media (max-width:760px){.ttc-hint{right:14px;bottom:138px;max-width:min(230px,calc(100vw - 28px))}}
@media (prefers-reduced-motion:reduce){.ttc-hint{transition:none}}
/* 29 Nov 08:27: the inline form section is gone; only its "Explore all tour packages" link stays, in a slim band */
.pkc.pkc-slim{padding:40px 0 8px}
@media (min-width:1000px){.pkc.pkc-slim{padding:72px 0 8px}}
.pkc-slim .pkc-allpk{padding:0 20px}
