/* ==================================================================
   Bali Sunshine Tours & Travel
   Palette: dusk-sea indigo, sunshine yellow, lagoon teal, sea-foam
   Type:    Bricolage Grotesque (display) + Instrument Sans (text)
================================================================== */
:root {
  --indigo: #10263F;
  --indigo-2: #1B3B5C;
  --sun: #F7B500;
  --sun-deep: #DD8A00;
  --lagoon: #0B7A75;
  --foam: #ECF4F2;
  --ink: #16242F;
  --muted: #566773;
  --line: #D9E3E1;
  --white: #fff;
  --wa: #128C4A;
  --danger: #B3261E;
  --display: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --text: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 72px;
  --r: 14px;
  --shadow: 0 18px 40px -22px rgba(16, 38, 63, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--text); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lagoon); text-underline-offset: 3px; }
a:hover { color: var(--indigo); }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.015em; color: var(--indigo); text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.22rem; font-weight: 700; line-height: 1.25; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.center { text-align: center; }
.mt { margin-top: 2rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--sun); color: var(--indigo); padding: .7rem 1rem; z-index: 200; font-weight: 600; }
.skip:focus { left: .5rem; top: .5rem; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .7rem 1.4rem; border-radius: 999px; border: 2px solid transparent; font: 600 1rem/1.1 var(--text); text-decoration: none; cursor: pointer; transition: background .18s, color .18s, border-color .18s, transform .18s; }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: .45rem 1rem; font-size: .92rem; }
.btn-block { width: 100%; }
.btn-sun { background: var(--sun); color: var(--indigo); }
.btn-sun:hover { background: #FFC933; color: var(--indigo); }
.btn-ink { background: var(--indigo); color: #fff; }
.btn-ink:hover { background: var(--indigo-2); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #0E7A40; color: #fff; }
.btn-line { border-color: var(--indigo); color: var(--indigo); background: transparent; }
.btn-line:hover { background: var(--indigo); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--indigo); }
.btn-ghost-dark { border-color: var(--line); color: var(--indigo); background: #fff; }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); background: #fff; border-bottom: 1px solid var(--line); transition: background .25s, border-color .25s, box-shadow .25s; }
.header-row { display: flex; align-items: center; gap: 1.2rem; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--indigo); flex-shrink: 0; }
.brand-logo { height: 46px; width: auto; }
.brand-sun { width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 50% 60%, var(--sun) 0 58%, transparent 60%), var(--indigo); box-shadow: inset 0 -12px 0 var(--indigo); border: 2px solid var(--sun); }
.brand-text { font: 800 1.18rem/1 var(--display); letter-spacing: -.02em; }
.brand-text small { display: block; font: 500 .72rem/1.3 var(--text); letter-spacing: 0; color: var(--muted); margin-top: 3px; }

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav > ul { display: flex; gap: .1rem; }
.main-nav a { display: inline-flex; align-items: center; gap: .35rem; padding: .6rem .7rem; border-radius: 8px; font-weight: 500; font-size: .97rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.main-nav a:hover, .main-nav a.is-active { color: var(--lagoon); }
.main-nav a.is-active { box-shadow: inset 0 -2px 0 var(--sun); border-radius: 0; }
.has-sub { position: relative; }
.sub { position: absolute; top: 100%; left: 0; min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: .5rem; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: flex; justify-content: space-between; width: 100%; color: var(--ink) !important; }
.sub a:hover { background: var(--foam); }
.sub a span { color: var(--muted); font-size: .85rem; }
.header-actions { display: flex; align-items: center; gap: .9rem; }
.header-phone { font-weight: 600; font-size: .95rem; color: var(--indigo); text-decoration: none; white-space: nowrap; }

.burger { display: none; width: 48px; height: 48px; border: 0; background: var(--sun); border-radius: 12px; cursor: pointer; padding: 14px 12px; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 2.5px; border-radius: 2px; background: var(--indigo); }

/* transparent over the home hero until the page scrolls */
.is-home .site-header:not(.is-stuck) { background: transparent; border-color: transparent; }
.is-home .site-header:not(.is-stuck) .brand,
.is-home .site-header:not(.is-stuck) .main-nav > ul > li > a,
.is-home .site-header:not(.is-stuck) .header-phone { color: #fff; }
.is-home .site-header:not(.is-stuck) .brand-text small { color: rgba(255,255,255,.75); }
.site-header.is-stuck { box-shadow: 0 8px 24px -18px rgba(16,38,63,.6); }
.is-sub main { padding-top: var(--header-h); }

@media (max-width: 1320px) { .header-phone { display: none; } }
@media (max-width: 1140px) {
  .main-nav { display: none; }
  .header-actions { margin-left: auto; }
  .burger { display: flex; }
}
@media (max-width: 520px) { .header-cta { display: none; } :root { --header-h: 64px; } .brand-text { font-size: 1.05rem; } }

/* ---------- drawer ---------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(16,38,63,.55); z-index: 110; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 120; width: min(400px, 92vw); background: #fff; display: flex; flex-direction: column; transform: translateX(102%); transition: transform .28s cubic-bezier(.2,.7,.2,1); overflow-y: auto; overscroll-behavior: contain; }
.drawer.is-open { transform: none; box-shadow: -30px 0 60px -30px rgba(0,0,0,.5); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 1; }
.drawer-title { font: 800 1.3rem var(--display); color: var(--indigo); }
.drawer-close { width: 48px; height: 48px; border-radius: 12px; border: 0; background: var(--foam); font-size: 1.9rem; line-height: 1; color: var(--indigo); cursor: pointer; }
.drawer-search { display: flex; gap: .5rem; padding: 1rem 1.25rem 0; }
.drawer-search input { flex: 1; min-width: 0; }
.drawer-search button { border: 0; background: var(--indigo); color: #fff; border-radius: 10px; padding: 0 1rem; font: 600 .95rem var(--text); cursor: pointer; }
.drawer-nav, .drawer-sub { list-style: none; margin: 0; padding: 0; }
.drawer-nav { padding: .5rem 1.25rem; }
.drawer-nav > li { border-bottom: 1px solid var(--line); }
.drawer-nav > li > a { display: flex; align-items: center; min-height: 56px; font: 700 1.2rem var(--display); color: var(--indigo); text-decoration: none; }
.drawer-nav a.is-active { color: var(--lagoon); }
.drawer-sub { padding: 0 0 .8rem; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.drawer-sub a { display: flex; justify-content: space-between; align-items: center; min-height: 44px; padding: 0 .8rem; border-radius: 10px; background: var(--foam); color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 500; }
.drawer-sub a span { color: var(--muted); font-size: .82rem; }
.drawer-foot { margin-top: auto; padding: 1rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom)); display: grid; gap: .6rem; }
body.no-scroll { overflow: hidden; }

/* ---------- quick bar (phones) ---------- */
.quickbar { display: none; }
@media (max-width: 760px) {
  .quickbar { position: fixed; inset: auto 0 0 0; z-index: 90; display: grid; grid-template-columns: repeat(5, 1fr); background: var(--indigo); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -10px 30px -18px rgba(0,0,0,.6); }
  .quickbar a, .quickbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 60px; border: 0; background: none; color: #DCE6EE; font: 500 .72rem var(--text); text-decoration: none; cursor: pointer; }
  .quickbar svg { width: 22px; height: 22px; }
  .quickbar .quickbar-wa { color: var(--indigo); background: var(--sun); font-weight: 600; }
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(94vh, 880px); display: flex; align-items: center; overflow: hidden; color: #fff; background: linear-gradient(180deg, #0B1C30 0%, var(--indigo) 45%, #24507A 100%); padding: calc(var(--header-h) + 3rem) 0 7rem; }
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide { background-size: cover; background-position: center; opacity: 0; transition: opacity 1.4s ease; }
.hero-slide.is-on { opacity: 1; }
.hero-slides::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,28,48,.86) 0%, rgba(11,28,48,.55) 48%, rgba(11,28,48,.15) 100%), linear-gradient(0deg, rgba(11,28,48,.55), transparent 40%); }
.hero-slides:empty::after { display: none; }
.hero-sun { position: absolute; right: -90px; bottom: -300px; width: 600px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #FFD557 0%, var(--sun) 45%, var(--sun-deep) 100%); box-shadow: 0 0 0 46px rgba(247,181,0,.13), 0 0 0 110px rgba(247,181,0,.07); animation: sunrise 1.6s cubic-bezier(.2,.7,.2,1) both; }
@keyframes sunrise { from { transform: translateY(220px); opacity: 0; } to { transform: none; opacity: 1; } }
.hero-inner { position: relative; z-index: 2; }
.hero-kicker { font-weight: 500; color: var(--sun); margin-bottom: 1.1rem; }
.hero h1 { color: #fff; max-width: 13ch; margin-bottom: 1.3rem; }
.hero-text { max-width: 58ch; font-size: 1.14rem; color: #E3EBF2; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 2.2rem; }
.hero-search { display: flex; gap: .4rem; width: min(680px, 100%); background: #fff; padding: .4rem; border-radius: 999px; box-shadow: var(--shadow); }
.hero-search select, .hero-search input { border: 0 !important; background: transparent !important; min-height: 48px; box-shadow: none !important; }
.hero-search select { width: 11.5rem; border-right: 1px solid var(--line) !important; border-radius: 999px 0 0 999px !important; padding-left: 1.1rem; }
.hero-search input { flex: 1; min-width: 0; }
.hero-caption { position: absolute; z-index: 2; right: 3rem; bottom: 2.2rem; margin: 0; text-align: right; color: var(--indigo); font-weight: 600; line-height: 1.3; max-width: 240px; }
.hero-count { display: block; font: 800 1.5rem var(--display); }
@media (max-width: 900px) {
  .hero { min-height: 0; padding-bottom: 9rem; }
  .hero-sun { width: 360px; right: -70px; bottom: -200px; }
  .hero-caption { right: 1.2rem; bottom: 1.2rem; max-width: 180px; font-size: .88rem; }
  .hero-count { font-size: 1.15rem; }
}
@media (max-width: 600px) {
  .hero-search { flex-direction: column; border-radius: 20px; padding: .6rem; }
  .hero-search select { width: 100%; border-right: 0 !important; border-bottom: 1px solid var(--line) !important; border-radius: 0 !important; padding-left: .6rem; }
  .hero-cta .btn { flex: 1 1 100%; }
}

/* ---------- sections ---------- */
.section { padding: clamp(3.8rem, 8vw, 7rem) 0; }
.section-tight { padding-top: clamp(2rem, 4vw, 3.2rem); }
.section-foam { background: var(--foam); }
.section-ink { background: var(--indigo); color: #DCE6EE; }
.section-ink h2, .section-ink h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 2.6rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.section-ink .section-head p { color: #B9C8D6; }
.kicker { font-weight: 600; color: var(--lagoon); margin-bottom: .6rem; }
.note { color: var(--muted); font-size: .95rem; max-width: 80ch; margin-top: 1.6rem; }
.empty { background: var(--foam); border-radius: var(--r); padding: 1.6rem; color: var(--muted); }
.empty .btn { margin-top: .4rem; }

/* about */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.about-copy p { max-width: 68ch; }
.about-copy blockquote { margin: 2rem 0 0; padding-left: 1.2rem; border-left: 5px solid var(--sun); font: 700 clamp(1.3rem, 2.4vw, 1.8rem)/1.25 var(--display); color: var(--indigo); }
.about-facts { background: var(--indigo); color: #DCE6EE; border-radius: 22px; padding: clamp(1.5rem, 3vw, 2.4rem); position: sticky; top: calc(var(--header-h) + 20px); }
.about-facts dl { margin: 0 0 1.2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 1rem; }
.about-facts dt { font: 800 clamp(1.5rem, 2.6vw, 2.1rem)/1.1 var(--display); color: var(--sun); }
.about-facts dd { margin: .3rem 0 0; font-size: .93rem; }
.about-facts p { margin: 0; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.18); font-size: .95rem; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } .about-facts { position: static; } }

/* why */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.why-item { border-top: 3px solid var(--sun); padding-top: 1.2rem; }
.why-item p { margin: 0; font-size: .98rem; color: #B9C8D6; }
@media (max-width: 960px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .why-grid { grid-template-columns: 1fr; gap: 1.5rem; } }

/* filter chips */
.filter { display: flex; gap: .5rem; margin-bottom: 2rem; overflow-x: auto; padding-bottom: .4rem; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.filter button, .filter a { flex-shrink: 0; min-height: 44px; padding: .5rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font: 600 .95rem var(--text); text-decoration: none; cursor: pointer; display: inline-flex; align-items: center; gap: .45rem; }
.filter span { font-weight: 500; font-size: .82rem; color: var(--muted); }
.filter .is-on { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.filter .is-on span { color: var(--sun); }

/* tour cards */
.tour-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(330px, 100%), 1fr)); gap: 1.8rem; }
.tour-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.tour-card[hidden] { display: none; }
.tour-media { position: relative; display: block; aspect-ratio: 16 / 11; overflow: hidden; background: var(--indigo); }
.tour-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tour-card:hover .tour-media img { transform: scale(1.04); }
.tour-media-empty { position: absolute; inset: 0; display: grid; place-items: end start; padding: 1.2rem; background: radial-gradient(circle at 85% 115%, var(--sun) 0 34%, transparent 35%), linear-gradient(160deg, #0B1C30, #24507A); }
.tour-media-empty span { font: 800 1.7rem/1 var(--display); color: rgba(255,255,255,.9); max-width: 60%; }
.stub { position: absolute; top: 1rem; left: 0; background: var(--sun); color: var(--indigo); font-weight: 600; font-size: .86rem; padding: .35rem .9rem .35rem .8rem; border-radius: 0 999px 999px 0; }
.tour-body { display: flex; flex-direction: column; flex: 1; padding: 1.3rem 1.4rem 1.4rem; }
.tour-cat { margin: 0 0 .35rem; font-size: .88rem; font-weight: 600; color: var(--lagoon); }
.tour-body h3 { font-size: 1.32rem; margin-bottom: .5rem; }
.tour-body h3 a { color: inherit; text-decoration: none; }
.tour-body h3 a:hover { color: var(--lagoon); }
.tour-sum { color: var(--muted); font-size: .98rem; }
.tour-foot { margin-top: auto; padding-top: 1rem; border-top: 1px dashed var(--line); display: grid; gap: .8rem; }
.tour-price { font: 700 1.15rem var(--display); color: var(--indigo); }
.tour-price small { font: 500 .85rem var(--text); color: var(--muted); }
.tour-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.tour-actions .btn { flex: 1 1 auto; }

/* split sections + forms */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.ticks { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: .7rem; }
.ticks li { position: relative; padding-left: 2rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .28em; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--lagoon) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat; }
.crosses li::before { background-color: #8A97A0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 3l6 6M9 3l-6 6' stroke='%23fff' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
.ticks-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .ticks-2 { grid-template-columns: 1fr; } }

.form { display: grid; gap: 1rem; }
.form label { display: grid; gap: .35rem; font-weight: 600; font-size: .92rem; color: var(--indigo); }
input, select, textarea { width: 100%; font: 400 1rem var(--text); color: var(--ink); background: #fff; border: 1.5px solid #C5D2D0; border-radius: 10px; padding: .7rem .85rem; min-height: 48px; }
textarea { resize: vertical; min-height: 96px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--lagoon); box-shadow: 0 0 0 3px rgba(11,122,117,.18); }
input[readonly] { background: var(--foam); font-weight: 600; }
.is-invalid { border-color: var(--danger) !important; }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 480px) { .form-2 { grid-template-columns: 1fr; } }
.form-error { margin: 0; color: var(--danger); font-weight: 600; font-size: .95rem; }
.form-ok { margin: 0; color: var(--lagoon); font-weight: 600; }
.card-form { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow); }
.card-form h3 { font-size: 1.5rem; margin: 0; }
.form-lead { margin: -.5rem 0 .3rem; color: var(--muted); font-size: .97rem; }

/* optional tours */
.act-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr)); gap: 1.2rem; }
.act-card { display: flex; flex-direction: column; text-align: left; padding: 0; border: 1px solid var(--line); border-radius: 18px; background: #fff; overflow: hidden; cursor: pointer; font: inherit; color: inherit; transition: border-color .18s, box-shadow .18s; }
.act-card:hover { border-color: var(--lagoon); box-shadow: var(--shadow); }
.act-card[hidden] { display: none; }
.act-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.act-body { display: grid; gap: .25rem; padding: 1.2rem 1.2rem .6rem; }
.act-title { font: 700 1.15rem/1.25 var(--display); color: var(--indigo); }
.act-meta { color: var(--muted); font-size: .9rem; }
.act-price { font-weight: 600; color: var(--lagoon); }
.act-more { margin-top: auto; padding: .8rem 1.2rem; border-top: 1px dashed var(--line); font-weight: 600; font-size: .92rem; color: var(--indigo); }
.table-scroll { overflow-x: auto; margin: 1.2rem 0; }
.rates { width: 100%; border-collapse: collapse; min-width: 520px; text-align: center; }
.rates th, .rates td { padding: .7rem .6rem; border: 1px solid var(--line); }
.rates thead th { background: var(--indigo); color: #fff; font-weight: 600; }
.rates tbody th { background: var(--foam); text-align: left; font-weight: 600; }
.rates td { font: 700 1.05rem var(--display); color: var(--indigo); }
.act-modal-img { width: 100%; aspect-ratio: 16/8; object-fit: cover; border-radius: 14px; margin-bottom: 1.2rem; }

/* gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; gap: .8rem; }
.gallery-grid a { display: block; overflow: hidden; border-radius: 14px; background: var(--indigo); }
.gallery-grid a:nth-child(6n + 1) { grid-column: span 2; grid-row: span 2; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-grid a:hover img { transform: scale(1.05); }
.gallery-sm { grid-auto-rows: 150px; }
.gallery-sm a:nth-child(6n + 1) { grid-column: auto; grid-row: auto; }
@media (max-width: 760px) { .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; } }

/* team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.6rem; }
.team-card { text-align: left; }
.team-card img, .team-card .avatar { width: 100%; aspect-ratio: 4/4.4; object-fit: cover; border-radius: 18px; margin-bottom: 1rem; }
.avatar { display: grid; place-items: center; background: var(--foam); color: var(--lagoon); font: 800 2.6rem var(--display); }
.avatar-sm { width: 46px; height: 46px; border-radius: 50%; font-size: 1rem; background: var(--sun); color: var(--indigo); flex-shrink: 0; }
.team-card h3 { margin-bottom: .2rem; font-size: 1.12rem; }
.team-card p { margin: 0; color: var(--muted); }

/* reviews */
.review-grid { columns: 3 300px; column-gap: 1.5rem; }
.review { break-inside: avoid; margin: 0 0 1.5rem; padding: 1.6rem; border-radius: 18px; background: var(--indigo-2); }
.stars { color: var(--sun); letter-spacing: 3px; margin-bottom: .7rem; }
.review blockquote { margin: 0 0 1.2rem; color: #fff; }
.review figcaption { display: flex; gap: .8rem; align-items: center; font-size: .95rem; }
.review figcaption strong { color: #fff; }
.review figcaption small { display: block; color: #9FB3C6; }

/* contact */
.contact-card { font-style: normal; display: grid; gap: .45rem; margin-top: 1.6rem; padding: 1.5rem; border-radius: 18px; background: var(--foam); }
.contact-card strong { font: 700 1.1rem var(--display); color: var(--indigo); }

/* sub-page headers */
.page-head { background: var(--indigo); color: #DCE6EE; padding: clamp(2.2rem, 5vw, 4rem) 0; position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; right: -80px; bottom: -190px; width: 320px; aspect-ratio: 1; border-radius: 50%; background: var(--sun); }
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.4rem); }
.page-head p { max-width: 64ch; margin: 0; }
.crumbs { font-size: .9rem; margin-bottom: 1rem; color: #9FB3C6; }
.crumbs a { color: #DCE6EE; }
.toolbar { display: grid; gap: 1rem; margin-bottom: 1rem; }
.toolbar .filter { margin-bottom: 0; }
.search-row { display: grid; grid-template-columns: minmax(0, 1fr) 190px auto; gap: .6rem; }
@media (max-width: 640px) { .search-row { grid-template-columns: 1fr 1fr; } .search-row input { grid-column: 1 / -1; } }
.result-count { color: var(--muted); font-size: .95rem; margin-bottom: 1.6rem; }
.pager { display: flex; gap: .4rem; justify-content: center; margin-top: 2.5rem; flex-wrap: wrap; }
.pager a { min-width: 44px; min-height: 44px; display: grid; place-items: center; border-radius: 10px; border: 1.5px solid var(--line); text-decoration: none; font-weight: 600; color: var(--indigo); }
.pager .is-on { background: var(--indigo); color: #fff; border-color: var(--indigo); }

/* tour detail */
.tour-hero { background: var(--indigo); color: #DCE6EE; padding: clamp(2.4rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem); background-size: cover; background-position: center; position: relative; }
.tour-hero.has-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,28,48,.92) 0%, rgba(11,28,48,.55) 60%, rgba(11,28,48,.45) 100%); }
.tour-hero.has-img { padding-top: clamp(6rem, 16vw, 12rem); }
.tour-hero .wrap { position: relative; }
.tour-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.6rem); max-width: 20ch; }
.tour-hero-sum { max-width: 62ch; font-size: 1.12rem; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem 2.4rem; margin: 1.8rem 0 0; padding: 1.2rem 0 0; border-top: 1px solid rgba(255,255,255,.2); font-weight: 600; color: #fff; }
.facts span { display: block; font-weight: 500; font-size: .84rem; color: var(--sun); }
.tour-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.tour-side { position: sticky; top: calc(var(--header-h) + 20px); }
@media (max-width: 960px) { .tour-layout { grid-template-columns: 1fr; } .tour-side { position: static; } }
.prose p { max-width: 70ch; }
.h-sm { font-size: 1.5rem; margin-top: 2.4rem; }
.tabs { margin-top: 2.6rem; }
.tab-list { display: flex; gap: .3rem; border-bottom: 2px solid var(--line); overflow-x: auto; }
.tab-list button { flex-shrink: 0; min-height: 50px; padding: 0 1.3rem; border: 0; background: none; font: 600 1.02rem var(--text); color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -2px; cursor: pointer; }
.tab-list button[aria-selected="true"] { color: var(--indigo); border-color: var(--sun); }
[role="tabpanel"] { padding-top: 1.8rem; }
.days { list-style: none; margin: 0; padding: 0; position: relative; }
.days::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.days li { position: relative; padding: 0 0 2rem 2.6rem; }
.days li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--sun); border: 4px solid #fff; box-shadow: 0 0 0 2px var(--sun-deep); }
.day-no { font-weight: 600; font-size: .9rem; color: var(--lagoon); }
.days h3 { margin: .1rem 0 .4rem; }
.days p { margin-bottom: .5rem; max-width: 68ch; }
.meals { font-size: .92rem; color: var(--muted); }
.book-box { border: 1px solid var(--line); border-radius: 22px; padding: 1.6rem; box-shadow: var(--shadow); background: #fff; }
.book-price { font: 800 1.7rem var(--display); color: var(--indigo); margin-bottom: .6rem; }
.book-price small { font: 500 .9rem var(--text); color: var(--muted); }
.book-note { font-size: .9rem; color: var(--muted); margin: .9rem 0 0; }
.sticky-book { display: none; }
@media (max-width: 960px) {
  .sticky-book { position: fixed; inset: auto 0 0 0; z-index: 80; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem 1rem; background: #fff; border-top: 1px solid var(--line); font: 700 1.05rem var(--display); color: var(--indigo); }
}
@media (max-width: 760px) { .sticky-book { bottom: calc(60px + env(safe-area-inset-bottom)); } }

/* modal + lightbox */
.modal, .lightbox { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 1rem; background: rgba(11,28,48,.72); overflow-y: auto; }
.modal-box { position: relative; width: min(760px, 100%); max-height: calc(100dvh - 2rem); overflow-y: auto; background: #fff; border-radius: 22px; padding: clamp(1.4rem, 4vw, 2.4rem); animation: pop .22s ease both; }
.modal-narrow { width: min(520px, 100%); }
@keyframes pop { from { transform: translateY(14px); opacity: 0; } }
.modal-box h2 { font-size: 1.7rem; padding-right: 3rem; }
.modal-lead { color: var(--muted); }
.modal-close { position: absolute; top: .8rem; right: .8rem; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--foam); font-size: 1.7rem; line-height: 1; cursor: pointer; color: var(--indigo); z-index: 2; }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { max-height: 84vh; max-width: min(1100px, 92vw); border-radius: 10px; }
.lightbox figcaption { color: #fff; margin-top: .7rem; }
.lb-nav { position: fixed; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); font-size: 1.9rem; line-height: 1; cursor: pointer; }
.lb-prev { left: 1rem; } .lb-next { right: 1rem; }

/* footer */
.site-footer { background: #0B1C30; color: #B9C8D6; padding-top: clamp(3rem, 6vw, 5rem); font-size: .97rem; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.brand-footer { color: #fff; margin-bottom: 1rem; }
.brand-footer .brand-text small { color: #9FB3C6; }
.footer-h { font: 700 1.05rem var(--display); color: #fff; margin-bottom: 1rem; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer a { color: #DCE6EE; text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.footer-ig { font-weight: 600; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; margin-top: 3rem; padding: 1.4rem 0; border-top: 1px solid rgba(255,255,255,.12); font-size: .88rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.header-cta, .header-phone { white-space: nowrap; }
