/* ══════════════════════════════════════════════════════════════════════
   VAYANTA — Destination page v2 (/destinations/{slug}, resources/views/destination-v2/show)
   Design: LANDING-PAGE/destination-v2 (approved). Buttons, headings, form fields, tour
   cards and price blocks come from v2-components.css; only this page's layout is here.
   --dv2-head = the sticky site header's height (set by destination-v2.js), so the
   filter bar always sits below it. One page scrollbar.
   ══════════════════════════════════════════════════════════════════════ */
:root { --dv2-head: 77px; }
.dv2 { font-family: 'Manrope', sans-serif; color: #13201B; background: #F5F4EF; width: 100%; min-width: 0; }
.dv2 *, .dv2 *::before, .dv2 *::after { box-sizing: border-box; }
.dv2 a { color: #0E3B2E; }
.dv2 a:focus-visible, .dv2 button:focus-visible, .dv2 select:focus-visible { outline: 3px solid #F2A93B; outline-offset: 2px; }
.dv2-wrap { max-width: 1280px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.dv2-sec { padding-top: 48px; display: flex; flex-direction: column; gap: 16px; }
.dv2-head { display: flex; flex-direction: column; gap: 6px; }
.dv2-head--row { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; }
.dv2-head--row > div:first-child { display: flex; flex-direction: column; gap: 6px; }

/* ---- 1 Hero ---- */
.dv2-hero { position: relative; color: #fff; overflow: hidden; background: #0B2A21; }
.dv2-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: dv2kb 14s ease-out forwards; }
@keyframes dv2kb { from { transform: scale(1) } to { transform: scale(1.08) } }
.dv2-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 18, 14, .45), rgba(4, 18, 14, .62)); }
.dv2-hero__in { position: relative; padding-top: 28px; padding-bottom: 44px; display: flex; flex-direction: column; gap: 26px; }
.dv2-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; font-weight: 600; color: rgba(255, 255, 255, .85); }
.dv2-crumbs li { display: inline-flex; gap: 8px; align-items: center; }
.dv2 .dv2-crumbs a { color: rgba(255, 255, 255, .88); text-decoration: none; min-height: 24px; display: inline-flex; align-items: center; }
.dv2 .dv2-crumbs a:hover { color: #fff; text-decoration: underline; }
.dv2-crumbs [aria-current] { color: #fff; }
.dv2-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 36px; align-items: end; }
.dv2-hero__text { display: flex; flex-direction: column; gap: 18px; padding-top: 40px; min-width: 0; }
.dv2-hero__eyebrow { align-self: flex-start; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.dv2-h1 { color: #fff; margin: 0; font-family: 'Fraunces', serif; font-weight: 700; font-size: clamp(40px, 6vw, 80px); line-height: 1.02; letter-spacing: -1px; text-shadow: 0 2px 24px rgba(0, 0, 0, .45); overflow-wrap: anywhere; }
.dv2-h1 span { font-style: italic; color: #F2A93B; font-size: .62em; }
.dv2-hero__intro { margin: 0; font-size: 18px; line-height: 1.6; max-width: 600px; text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }
.dv2-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.dv2-facts li { background: #fff; color: #0E3B2E; border-radius: 14px; padding: 10px 14px; display: flex; flex-direction: column; line-height: 1.2; }
.dv2-facts b { font-size: 20px; font-family: 'Fraunces', serif; }
.dv2-facts b.is-small { font-size: 16px; font-family: 'Manrope', sans-serif; }
.dv2-facts span { font-size: 12px; font-weight: 700; color: #4B5A53; }

/* ---- 2 Plan box ---- */
.dv2-plan { background: #fff; color: #13201B; border-radius: 22px; padding: 20px; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); display: flex; flex-direction: column; gap: 12px; margin: 0; scroll-margin-top: calc(var(--dv2-head) + 12px); }
.dv2-plan__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.dv2-plan__head b { font-family: 'Fraunces', serif; font-size: 22px; }
.dv2-plan__head span { font-size: 12px; font-weight: 800; color: #4B5A53; white-space: nowrap; }
.dv2-plan__step { display: flex; flex-direction: column; gap: 10px; }
.dv2-plan__step[hidden], .dv2-plan__done[hidden] { display: none; }
.dv2-plan__done { background: #EEF4EF; border-radius: 16px; padding: 16px; }
.dv2-plan__done:focus { outline: none; }
.dv2-plan__note { font-size: 12.5px; color: #4B5A53; text-align: center; }
.dv2-label { font-size: 13px; font-weight: 800; color: #4B5A53; }
.dv2-pick { display: grid; gap: 8px; }
.dv2-pick--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dv2-pick--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dv2-pick button, .dv2-chips button { min-height: 44px; border-radius: 12px; font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; background: #fff; color: #13201B; border: 1.5px solid #D9DDD6; padding: 0 8px; }
.dv2-pick button[aria-pressed="true"], .dv2-chips button[aria-pressed="true"] { background: #0E3B2E; color: #fff; border-color: #0E3B2E; }
.dv2-back { border: 0; background: none; font: inherit; font-size: 13px; font-weight: 700; color: #4B5A53; cursor: pointer; min-height: 44px; }

/* ---- 3 Trust strip ---- */
.dv2-trust { background: #fff; border-bottom: 1px solid #E6E8E2; }
.dv2-trust ul { list-style: none; margin: 0 auto; padding-top: 14px; padding-bottom: 14px; display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; font-size: 14px; font-weight: 700; color: #3A4A42; }
.dv2-trust li { display: inline-flex; gap: 8px; align-items: center; }

/* ---- 4 Trip length cards ---- */
.dv2-lengths { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.dv2-length { display: flex; flex-direction: column; gap: 4px; text-align: left; padding: 18px; border-radius: 18px; cursor: pointer; font: inherit; min-height: 96px; background: #fff; color: #13201B; border: 2px solid #E6E8E2; }
.dv2-length > b { font-family: 'Fraunces', serif; font-size: 26px; }
.dv2-length > span { font-size: 14px; font-weight: 600; }
.dv2-length[aria-pressed="true"] { background: #0E3B2E; color: #fff; border-color: #0E3B2E; }

/* ---- 5 Trips: sticky filters + grid ---- */
.dv2-trips { scroll-margin-top: var(--dv2-head); padding-top: 40px; }
.dv2-sort { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: #4B5A53; }
.dv2-sort select { height: 44px; border: 1.5px solid #D9DDD6; border-radius: 12px; padding: 0 12px; font: inherit; font-size: 14.5px; font-weight: 700; color: #13201B; background: #fff; }
.dv2-filters { position: sticky; top: var(--dv2-head); z-index: 30; background: rgba(245, 244, 239, .97); padding: 10px 0; display: flex; flex-direction: column; gap: 8px; border-bottom: 1px solid #E6E8E2; }
.dv2-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.dv2-chips button { border-radius: 999px; padding: 0 16px; font-size: 14.5px; white-space: nowrap; flex: none; }
.dv2-chips .dv2-chip-place { background: #FCEBD0; border-color: #F2A93B; color: #7A4A0E; }
.dv2-chips .dv2-chip-place[hidden] { display: none; }
.dv2-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.dv2-grid > [hidden] { display: none; }
.dv2-showmore { align-self: center; padding: 0 26px; }
.dv2-showmore[hidden] { display: none; }
.dv2-empty { background: #fff; border: 1px dashed #C9D2CB; border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; }
.dv2-empty[hidden] { display: none; }
.dv2-empty b { font-size: 18px; }
.dv2-empty span { font-size: 15px; color: #3A4A42; }

/* ---- 6 Can't decide band ---- */
.dv2-band { background: #0E3B2E; color: #fff; border-radius: 20px; padding: 18px 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.dv2-band > span:first-child { display: flex; flex-direction: column; gap: 2px; }
.dv2-band b { font-size: 17px; }
.dv2-band > span:first-child > span { font-size: 14px; color: rgba(255, 255, 255, .82); }
.dv2-band__acts { display: flex; gap: 8px; flex-wrap: wrap; }
.v2-btn.dv2-ghost-dark { background: transparent; border: 1.5px solid rgba(255, 255, 255, .5); color: #fff; }

/* ---- 7 Places + 11 more destinations (photo tiles) ---- */
.dv2-places { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.dv2-place, .dv2-dest { position: relative; height: 190px; border-radius: 18px; overflow: hidden; border: 0; padding: 0; cursor: pointer; text-align: left; font: inherit; background: #24483D; display: block; }
.dv2-place img, .dv2-dest img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.dv2-place:hover img, .dv2-dest:hover img { transform: scale(1.04); }
.dv2-place__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 18, 14, .05), rgba(4, 18, 14, .62)); }
.dv2-place__txt { position: absolute; left: 14px; bottom: 12px; right: 14px; color: #fff; display: flex; flex-direction: column; gap: 2px; }
.dv2-place__txt b { font-family: 'Fraunces', serif; font-size: 22px; }
.dv2-place__txt span { font-size: 13px; font-weight: 700; }
.dv2-dests { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.dv2-dest { height: 150px; border-radius: 16px; }
.dv2 .dv2-dest b { position: absolute; left: 12px; bottom: 10px; right: 12px; color: #fff; font-family: 'Fraunces', serif; font-size: 19px; }

/* ---- 8 Month by month ---- */
.dv2-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; font-weight: 700; color: #3A4A42; }
.dv2-legend span { display: inline-flex; gap: 6px; align-items: center; }
.dv2-legend i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.dv2-legend .is-best, .dv2-months .is-best { background: #0E3B2E; color: #fff; }
.dv2-legend .is-rain, .dv2-months .is-rain { background: #9CC1AC; color: #0B2A21; }
.dv2-legend .is-other, .dv2-months .is-other { background: #E6E8E2; color: #3A4A42; }
.dv2-months { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; }
.dv2-months li { border-radius: 12px; padding: 10px 8px; display: flex; flex-direction: column; gap: 3px; min-height: 64px; }
.dv2-months b { font-size: 14px; }
.dv2-months span { font-size: 11.5px; font-weight: 700; opacity: .9; }

/* ---- 9 About + one price ---- */
.dv2-about { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.dv2-about__text { display: flex; flex-direction: column; gap: 12px; }
.dv2-about__text p { margin: 0; font-size: 16px; line-height: 1.75; color: #3A4A42; }
.dv2-sorted { background: #0E3B2E; color: #fff; border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.dv2-about > .dv2-sorted:only-child { grid-column: 1 / -1; }
.dv2-sorted__eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 1.4px; color: #F2A93B; text-transform: uppercase; }
.dv2-sorted > b { font-family: 'Fraunces', serif; font-size: 28px; line-height: 1.15; }
.dv2-sorted ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.dv2-sorted li { display: flex; gap: 10px; font-size: 15px; }
.dv2-sorted li::before { content: "✓"; color: #F2A93B; font-weight: 800; }
.dv2-sorted .v2-btn { align-self: flex-start; }

/* ---- 12 Final CTA ---- */
.dv2-final { padding-top: 40px; padding-bottom: 72px; }
.dv2-final__box { background: #F2A93B; border-radius: 28px; padding: 32px 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.dv2-final__box > div:first-child { display: flex; flex-direction: column; gap: 8px; max-width: 640px; }
.dv2-final h2 { margin: 0; font-family: 'Fraunces', serif; font-size: clamp(26px, 3.2vw, 40px); color: #0E3B2E; }
.dv2-final p { margin: 0; font-size: 16px; color: #3B2A0E; font-weight: 600; }
.dv2-final__acts { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---- 13 Mobile sticky bar (phones only; under every modal) ---- */
.dv2-bar { display: none; }

@media (max-width: 980px) {
    .dv2-hero__grid { grid-template-columns: minmax(0, 1fr); }
    .dv2-hero__text { padding-top: 8px; }
    .dv2-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dv2-places { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .dv2-about { grid-template-columns: minmax(0, 1fr); }
    .dv2-dests { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .dv2-months { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .dv2-wrap { padding-left: 16px; padding-right: 16px; }
    .dv2-sec { padding-top: 40px; }
    .dv2-hero__in { padding-bottom: 28px; gap: 18px; }
    .dv2-hero__intro { font-size: 16px; }
    .dv2-lengths { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .dv2-length { padding: 14px; min-height: 84px; }
    .dv2-length > b { font-size: 22px; }
    .dv2-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .dv2-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 6px; }
    .dv2-chips::-webkit-scrollbar { display: none; }
    .dv2-places { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 46%; overflow-x: auto; margin: 0 -16px; padding: 0 16px 8px; scrollbar-width: none; }
    .dv2-dests { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 42%; overflow-x: auto; margin: 0 -16px; padding: 0 16px 8px; scrollbar-width: none; }
    .dv2-places::-webkit-scrollbar, .dv2-dests::-webkit-scrollbar { display: none; }
    .dv2-months { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .dv2-final { padding-bottom: 96px; }
    .dv2-final__box { padding: 26px 20px; }
    .dv2-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 1030; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; background: #0E3B2E; border-radius: 18px; padding: 8px; box-shadow: 0 14px 34px rgba(0, 0, 0, .28); transition: transform .25s ease, opacity .25s ease; }
    .dv2-bar.is-tucked { transform: translateY(140%); opacity: 0; pointer-events: none; }
    .dv2 .dv2-bar a, .dv2 .dv2-bar button { text-decoration: none; font: inherit; font-weight: 800; font-size: 14px; border-radius: 12px; min-height: 50px; display: flex; align-items: center; justify-content: center; gap: 6px; border: 0; cursor: pointer; }
    .dv2 .dv2-bar__wa { background: #1F7A4D; color: #fff; }
    .dv2 .dv2-bar__plan { background: #F2A93B; color: #0E3B2E; }
    .dv2 .dv2-bar__call { background: rgba(255, 255, 255, .12); color: #fff; }
    /* The bar carries WhatsApp on phones, so the round site-wide button steps aside here. */
    body:has(.dv2-bar) .nd-global-wa-float { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
    .dv2-hero__img { animation: none; }
    .dv2-place img, .dv2-dest img, .dv2-bar { transition: none; }
}
