/* Bali Voyager 5.0 — activities pages + homepage activities section. Builds on landing.css tokens. */
:root { --av-navy: #031b33; --av-radius: 22px; --av-shadow: 0 24px 60px #0a1f4d26; }

/* ---------- Header on dark activity heroes ---------- */
@media (min-width: 961px) {
	.bv-activities .lp-menu > a:not(.lp-button) { color: #fff; }
	.bv-activities .lp-menu > a[aria-current="page"] { border-bottom-color: var(--lp-orange); }
}
.lp-menu > a[aria-current="page"] { border-bottom-color: var(--lp-orange); }

/* ---------- Hero ---------- */
.av-hero { position: relative; isolation: isolate; min-height: 760px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--av-navy); color: #fff; }
.av-hero__bg, .av-hero__video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; background: center / cover no-repeat; transform: scale(1.02); }
.av-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #021529e6 0%, #021529b3 38%, #02152933 70%, #02152900 100%), linear-gradient(0deg, #021529f2 0%, #02152900 45%), linear-gradient(180deg, #0215298c 0%, #02152900 22%); }
.av-hero__inner { padding-top: 170px; padding-bottom: 56px; max-width: var(--lp-wrap); }
.av-hero__inner > * { max-width: 660px; }
.av-crumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; font-size: 13px; color: #ffffffb3; }
.av-crumbs a { color: #ffffffd9 !important; text-decoration: none; }
.av-crumbs a:hover { color: #fff !important; text-decoration: underline; }
.av-chip { display: inline-block; margin-bottom: 18px !important; padding: 6px 14px; border-radius: 99px; background: var(--lp-orange); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.av-hero h1 { color: #fff; font-size: clamp(42px, 5.4vw, 76px); line-height: 1.02; font-weight: 800; letter-spacing: -.045em; text-wrap: balance; }
.av-hero h1 em { font-style: normal; font-weight: 500; color: #ffffffe6; }
.av-hero__lead { margin-top: 20px !important; font-size: 19px; line-height: 1.6; color: #ffffffe6; }
.av-hero__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-top: 26px; }
.av-hero__price span { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #ffffffb3; }
.av-hero__price strong { font-size: 34px; font-weight: 800; letter-spacing: -.03em; color: #fff; }
.av-hero__price em { font-style: normal; font-size: 14px; color: #ffffffbf; }
.av-hero .lp-hero__actions { margin-top: 28px; }
.av-hero .lp-ghost { color: #fff; border-color: #ffffffb3; }
.av-facts { border-top: 1px solid #ffffff26; background: #02152966; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.av-facts__row { display: grid; grid-template-columns: repeat(4, 1fr); }
.av-facts p { padding: 22px 24px; border-right: 1px solid #ffffff1f; }
.av-facts p:first-child { padding-left: 0; }
.av-facts p:last-child { border-right: 0; }
.av-facts span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #ffffff99; }
.av-facts strong { display: block; margin-top: 4px; font-size: 15px; font-weight: 650; color: #fff; }
.av-hero--index { min-height: 820px; }
.av-hero--index .av-hero__inner > * { max-width: 720px; }

/* ---------- Overview ---------- */
.av-overview__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.av-overview__grid.is-portrait { grid-template-columns: 1.4fr 1fr; }
.av-copy { margin-top: 20px !important; font-size: 17px; line-height: 1.8; }
.av-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 30px 0 0; padding: 0; list-style: none; }
.av-highlights li { position: relative; padding: 14px 16px 14px 46px; border-radius: 14px; background: var(--lp-tint); font-size: 14.5px; font-weight: 650; line-height: 1.45; }
.av-highlights li::before { content: "✓"; position: absolute; left: 14px; top: 13px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--lp-orange); color: #fff; font-size: 12px; }
.av-media { position: relative; }
.av-media img, .av-video { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--av-radius); background: var(--av-navy); box-shadow: var(--av-shadow); }
.av-overview__grid:not(.is-portrait) .av-video { aspect-ratio: 16 / 10; }
.is-portrait .av-video { aspect-ratio: 9 / 16; max-height: 720px; margin-inline: auto; width: auto; max-width: 100%; }
.av-media__note { margin-top: 12px !important; font-size: 13px; color: var(--lp-muted); text-align: center; }

/* ---------- Gallery ---------- */
.av-gallery-wrap { padding-bottom: 24px; }
.av-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 14px; }
.av-gallery__item { position: relative; padding: 0; border: 0; border-radius: 18px; overflow: hidden; background: var(--lp-tint); cursor: zoom-in; }
.av-gallery__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.av-gallery__item:nth-child(6) { grid-column: span 2; }
.av-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.av-gallery__item:hover img { transform: scale(1.05); }

/* ---------- Prices ---------- */
.av-prices { background: var(--lp-tint); }
.av-price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.av-price { position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: var(--av-radius); background: #fff; border: 1px solid var(--lp-line); }
.av-price:first-child { border: 2px solid var(--lp-orange); }
.av-price h3 { font-size: 24px; }
.av-price__detail { margin-top: 6px !important; color: var(--lp-muted); font-size: 14.5px; }
.av-price__amount { margin-top: 26px !important; font-size: 48px; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--lp-blue); }
.av-price__amount small { font-size: 15px; font-weight: 700; letter-spacing: .04em; vertical-align: super; }
.av-price__alt { margin-top: 10px !important; font-size: 14px; color: var(--lp-muted); }
.av-price__cta { display: inline-flex; gap: 10px; align-items: center; margin-top: 24px; font-size: 14px; font-weight: 700; color: var(--lp-blue) !important; text-decoration: none; }
.av-price__cta:hover { color: var(--lp-orange) !important; }
.av-group-title { margin: 48px 0 18px; font-size: 22px; }
.av-group-title:first-of-type { margin-top: 0; }
.av-packages { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.av-package { display: flex; flex-direction: column; padding: 24px; border-radius: 18px; background: #fff; border: 1px solid var(--lp-line); }
.av-package__head h4 { margin: 0; font-size: 18px; font-weight: 750; letter-spacing: -.02em; }
.av-package__prices { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 12px !important; }
.av-package__prices span { font-size: 18px; font-weight: 800; color: var(--lp-blue); letter-spacing: -.02em; }
.av-package__prices small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--lp-muted); }
.av-package__inc { margin-top: 14px !important; font-size: 14px; line-height: 1.65; }
.av-package__time { margin-top: 8px !important; font-size: 13px; color: var(--lp-muted); }
.av-package .av-price__cta { margin-top: auto; padding-top: 16px; }
.av-pricelists { margin-top: 40px; }
.av-pricelists > p { margin-bottom: 14px !important; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--lp-orange); }
.av-pricelists > div { display: flex; flex-wrap: wrap; gap: 14px; }
.av-pricelist { width: 150px; padding: 0; border: 1px solid var(--lp-line); border-radius: 12px; overflow: hidden; background: #fff; cursor: zoom-in; }
.av-pricelist img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; }
.av-schedule, .av-itinerary { margin-top: 40px; padding: 28px 32px; border-radius: var(--av-radius); background: #fff; border: 1px solid var(--lp-line); }
.av-schedule ul { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.av-schedule li { padding: 10px 16px; border-radius: 99px; background: var(--lp-tint); font-weight: 650; font-size: 14.5px; }
.av-itinerary ol { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.av-itinerary li { position: relative; padding: 22px 18px 0 0; border-top: 3px solid var(--lp-line); }
.av-itinerary li::before { content: ""; position: absolute; top: -9px; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--lp-orange); }
.av-itinerary time { display: block; font-size: 20px; font-weight: 800; color: var(--lp-blue); }
.av-itinerary span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.55; }

/* ---------- Details ---------- */
.av-lists { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 20px; }
.av-list { padding: 30px; border-radius: var(--av-radius); border: 1px solid var(--lp-line); background: #fff; }
.av-list h3 { margin-bottom: 18px !important; font-size: 20px; }
.av-list ul { margin: 0; padding: 0; list-style: none; }
.av-list li { position: relative; padding: 9px 0 9px 30px; border-top: 1px solid #edf1f5; font-size: 15px; line-height: 1.5; }
.av-list li:first-child { border-top: 0; }
.av-list li::before { position: absolute; left: 0; top: 9px; font-weight: 800; }
.av-list--yes { background: var(--lp-blue); border-color: var(--lp-blue); }
.av-list--yes h3, .av-list--yes li { color: #fff !important; border-color: #ffffff26; }
.av-list--yes li::before { content: "✓"; color: var(--lp-orange); }
.av-list--no li::before { content: "–"; color: var(--lp-muted); }
.av-list--bring li::before { content: "•"; color: var(--lp-orange); font-size: 20px; top: 4px; }

/* ---------- Booking ---------- */
.av-book { background: linear-gradient(180deg, #fff 0%, var(--lp-tint) 100%); }
.av-book__grid { display: grid; grid-template-columns: 1fr 440px; gap: 72px; align-items: start; }
.av-know h2 { font-size: clamp(30px, 3vw, 42px); }
.av-know ul { margin: 26px 0 0; padding: 0; list-style: none; }
.av-know li { position: relative; padding: 12px 0 12px 28px; border-bottom: 1px solid var(--lp-line); font-size: 15.5px; line-height: 1.6; }
.av-know li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 8px; height: 8px; border-radius: 50%; background: var(--lp-orange); }
.av-driver { margin-top: 34px; padding: 26px 28px; border-radius: var(--av-radius); background: #fff; border: 1px solid var(--lp-line); }
.av-driver strong { display: block; font-size: 18px; }
.av-driver p { margin-top: 8px !important; font-size: 15px; line-height: 1.7; }
.av-driver .lp-text-link { margin-top: 12px; }
.av-form-card { position: sticky; top: 24px; }
.admin-bar .av-form-card { top: 56px; }
.av-form-card input[type="number"] { width: 100%; }

/* ---------- Cards ---------- */
.av-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.av-card { position: relative; display: flex; flex-direction: column; min-height: 420px; overflow: hidden; border-radius: var(--av-radius); background: var(--av-navy); color: #fff !important; text-decoration: none; isolation: isolate; box-shadow: 0 1px 0 #0000; transition: transform .3s ease, box-shadow .3s ease; }
.av-card:hover { transform: translateY(-4px); box-shadow: var(--av-shadow); }
.av-card__media { position: absolute; inset: 0; z-index: -2; }
.av-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.av-card:hover .av-card__media img { transform: scale(1.06); }
.av-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #02152900 30%, #021529d9 78%, #021529f2 100%); }
.av-card__tag { position: absolute; top: 18px; left: 18px; padding: 5px 12px; border-radius: 99px; background: #ffffffe6; color: var(--lp-ink); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.av-card__body { display: flex; flex-direction: column; gap: 8px; margin-top: auto; padding: 26px; }
.av-card__title { font-size: 24px; font-weight: 800; line-height: 1.15; letter-spacing: -.03em; }
.av-card__text { font-size: 14.5px; line-height: 1.55; color: #ffffffd9; }
.av-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; padding-top: 14px; border-top: 1px solid #ffffff2e; }
.av-card__price { font-size: 16px; font-weight: 800; }
.av-card__price small { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #ffffffb3; }
.av-card__go { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--lp-orange); color: #fff; font-size: 18px; transition: transform .3s ease; }
.av-card:hover .av-card__go { transform: translateX(4px); }
.av-card--feature { grid-column: span 2; min-height: 520px; }
.av-card--feature .av-card__title { font-size: 34px; }
.av-grid--row { grid-template-columns: repeat(3, 1fr); }

/* ---------- Overview page ---------- */
.av-why { background: var(--lp-tint); }
.av-why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.av-why__grid article { padding: 30px 26px; border-radius: var(--av-radius); background: #fff; border: 1px solid var(--lp-line); }
.av-why__grid span { display: block; margin-bottom: 28px; font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--lp-orange); }
.av-why__grid h3 { font-size: 20px; }
.av-why__grid p { margin-top: 10px !important; font-size: 15px; line-height: 1.7; }
.av-more__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }

/* ---------- Homepage section ---------- */
.av-home { background: linear-gradient(180deg, #fff 0%, var(--lp-tint) 100%); }
.av-reel { position: relative; display: block; overflow: hidden; height: 440px; border-radius: 28px; background: var(--av-navy) center / cover; color: #fff !important; text-decoration: none; isolation: isolate; box-shadow: var(--av-shadow); }
.av-reel video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.av-reel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #021529d9 0%, #02152966 45%, #02152900 75%); }
.av-reel__text { position: absolute; left: 48px; bottom: 44px; max-width: 460px; display: flex; flex-direction: column; gap: 12px; }
.av-reel__kicker { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--lp-orange); }
.av-reel strong { font-size: clamp(26px, 2.6vw, 36px); font-weight: 800; line-height: 1.15; letter-spacing: -.03em; }
.av-reel__cta { display: inline-flex; align-self: flex-start; gap: 12px; margin-top: 8px; padding: 12px 20px; border-radius: 99px; background: var(--lp-orange); font-size: 14px; font-weight: 700; }
.av-grid--home { grid-template-columns: repeat(4, 1fr); margin-top: 22px; }
.av-grid--home .av-card { min-height: 360px; }
.av-grid--home .av-card__title { font-size: 21px; }
.av-grid--home .av-card__text { display: none; }

/* ---------- Lightbox ---------- */
.av-lightbox { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; padding: 40px 70px; background: #020c17f2; }
.av-lightbox[hidden] { display: none; }
.av-lightbox img { max-width: 100%; max-height: calc(100vh - 80px); width: auto; height: auto; border-radius: 12px; }
.av-lightbox button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: #ffffff26; color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.av-lightbox button:hover { background: var(--lp-orange); }
.av-lightbox__close { top: 18px; right: 18px; }
.av-lightbox__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.av-lightbox__next { right: 14px; top: 50%; transform: translateY(-50%); }
body.av-noscroll { overflow: hidden; }

/* ---------- Footer (4 columns) ---------- */
.lp-footer__top.av-footer__top { grid-template-columns: 1.2fr .8fr .8fr 1fr; }

/* ---------- Responsive ---------- */
@media (max-width: 1150px) {
	.av-grid--home { grid-template-columns: repeat(3, 1fr); }
	.av-book__grid { grid-template-columns: 1fr 400px; gap: 48px; }
}
@media (max-width: 960px) {
	.av-hero { min-height: 0; }
	.av-hero::after { background: linear-gradient(0deg, #021529f2 0%, #021529b3 55%, #02152966 100%); }
	.av-hero__inner { padding-top: 140px; padding-bottom: 40px; }
	.av-facts__row { grid-template-columns: 1fr 1fr; }
	.av-facts p { padding: 16px 18px; border-bottom: 1px solid #ffffff1f; }
	.av-facts p:nth-child(odd) { padding-left: 0; }
	.av-facts p:nth-child(2) { border-right: 0; }
	.av-overview__grid, .av-overview__grid.is-portrait { grid-template-columns: 1fr; gap: 40px; }
	.av-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
	.av-gallery__item:nth-child(6) { grid-column: auto; }
	.av-lists { grid-template-columns: 1fr; }
	.av-book__grid { grid-template-columns: 1fr; }
	.av-form-card { position: static; }
	.av-grid, .av-grid--row { grid-template-columns: 1fr 1fr; }
	.av-card--feature { grid-column: 1 / -1; min-height: 440px; }
	.av-why__grid { grid-template-columns: 1fr 1fr; }
	.av-itinerary ol { grid-template-columns: 1fr; gap: 0; }
	.av-itinerary li { padding: 0 0 20px 28px; border-top: 0; border-left: 3px solid var(--lp-line); }
	.av-itinerary li::before { top: 4px; left: -9px; }
	.av-reel { height: 360px; }
	.av-grid--home { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding-bottom: 8px; margin-inline: -48px; padding-inline: 48px; scrollbar-width: none; }
	.av-grid--home::-webkit-scrollbar { display: none; }
	.av-grid--home .av-card { flex: 0 0 260px; scroll-snap-align: start; min-height: 340px; }
	.lp-footer__top.av-footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
	.av-hero h1 { font-size: 38px; }
	.av-hero__lead { font-size: 16.5px; }
	.av-hero__price strong { font-size: 28px; }
	.av-facts strong { font-size: 13.5px; }
	.av-highlights { grid-template-columns: 1fr; }
	.av-gallery { grid-auto-rows: 130px; gap: 8px; }
	.av-grid, .av-grid--row, .av-why__grid { grid-template-columns: 1fr; }
	.av-card, .av-card--feature { min-height: 380px; }
	.av-card--feature .av-card__title { font-size: 28px; }
	.av-price { padding: 26px; }
	.av-packages { grid-template-columns: 1fr; }
	.av-schedule, .av-itinerary { padding: 22px; }
	.av-list { padding: 24px; }
	.av-more__head { flex-direction: column; align-items: start; }
	.av-reel { height: 420px; border-radius: 22px; }
	.av-reel::after { background: linear-gradient(0deg, #021529e6 0%, #02152933 70%); }
	.av-reel__text { left: 22px; right: 22px; bottom: 24px; }
	.av-grid--home { margin-inline: -16px; padding-inline: 16px; }
	.av-lightbox { padding: 60px 12px; }
	.av-lightbox__prev, .av-lightbox__next { top: auto; bottom: 14px; transform: none; }
	.av-lightbox__prev { left: calc(50% - 60px); }
	.av-lightbox__next { right: calc(50% - 60px); }
	.lp-footer__top.av-footer__top { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	.av-card, .av-card__media img, .av-gallery__item img, .av-card__go { transition: none; }
}

/* Grid rhythm: 7 cards fill complete rows. */
@media (min-width: 961px) {
	.av-all .av-grid { grid-auto-rows: minmax(380px, auto); }
	.av-all .av-card { min-height: 380px; }
	.av-all .av-card:last-child { grid-column: span 2; }
	.av-grid--home .av-card:first-child { grid-row: span 2; }
	.av-grid--home .av-card:first-child .av-card__title { font-size: 30px; }
	.av-grid--home .av-card:first-child .av-card__text { display: block; }
}
@media (min-width: 961px) and (max-width: 1150px) {
	.av-grid--home .av-card:first-child { grid-row: auto; }
}

/* v5.2: Friends of Bali Voyager. */
.av-friends { background: #fff; }
.av-friends__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.av-friend { display: flex; flex-direction: column; padding: 38px 36px; border-radius: var(--av-radius); color: #fff; }
.av-friend--sea { background: linear-gradient(135deg, #003a70 0%, #00539e 60%, #0b7bbd 100%); }
.av-friend--ink { background: linear-gradient(135deg, #111 0%, #26211c 100%); }
.av-friends .av-friend h3, .av-friends .av-friend p, .av-friends .av-friend a { color: #fff; }
.av-friend__where { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #ffffffb3 !important; }
.av-friend h3 { margin-top: 10px !important; font-size: 30px; font-weight: 800; letter-spacing: -.03em; }
.av-friend h3 a { text-decoration: none; }
.av-friend p:not(.av-friend__where) { margin-top: 14px !important; font-size: 16px; line-height: 1.75; }
.av-friend p a { text-decoration: underline; text-decoration-color: var(--lp-orange); text-underline-offset: 4px; }
.av-friend__tip { opacity: .85; font-size: 14.5px !important; }
.av-friend__cta { display: inline-flex; align-self: flex-start; gap: 10px; margin-top: auto; padding: 12px 20px; border-radius: 99px; background: var(--lp-orange); color: #fff !important; font-size: 14px; font-weight: 700; text-decoration: none; }
.av-friend p.av-friend__tip { margin-bottom: 26px !important; }
.av-home__friend { margin-top: 28px !important; padding: 18px 22px; border-left: 4px solid var(--lp-orange); border-radius: 12px; background: #fff; font-size: 15.5px; line-height: 1.7; }
.av-home__friend a { color: var(--lp-blue); font-weight: 700; }
@media (max-width: 960px) { .av-friends__grid { grid-template-columns: 1fr; } .av-friend { padding: 30px 26px; } }
