/* ==========================================================================
   wagotravel — design system + site styles
   Brand: Pine (trust) · Marigold (energy, CTA) · Sand (warmth)
   Type:  Bricolage Grotesque (display) · Inter (UI/body)
   ========================================================================== */

:root {
  /* Pine — primary */
  --pine-950: #071F1B;
  --pine-900: #0B2B26;
  --pine-700: #134E44;
  --pine-500: #1F7A6A;
  --pine-300: #9FD8CB;
  --pine-100: #DCEFEA;
  --pine-50:  #EEF7F4;

  /* Marigold — accent / CTA (always with pine-900 text) */
  --marigold-600: #D97314;
  --marigold-500: #F28C28;
  --marigold-300: #F9C48C;
  --marigold-100: #FDEBD6;

  /* Sand — canvas */
  --sand-50:  #FBF7F0;
  --sand-100: #F3ECDF;
  --sand-200: #E7DCC8;

  /* Neutrals + signal */
  --ink: #0B2B26;
  --ink-2: #3D524E;
  --ink-3: #6B7C78;
  --line: #E4DED2;
  --white: #FFFFFF;
  --coral: #C93B33;
  --success: #1F7A4D;

  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgb(11 43 38 / .06), 0 2px 8px rgb(11 43 38 / .05);
  --shadow-md: 0 8px 24px rgb(11 43 38 / .10);
  --shadow-lg: 0 24px 60px rgb(11 43 38 / .18);

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--sand-50);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--marigold-500); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: clamp(56px, 8vw, 112px); }
.section--tight { padding-block: clamp(40px, 5vw, 72px); }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--pine-500);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--marigold-500); border-radius: 2px; }
.h-display { font-size: clamp(40px, 6.4vw, 84px); font-weight: 800; letter-spacing: -0.035em; }
.h1 { font-size: clamp(32px, 4.4vw, 56px); font-weight: 800; letter-spacing: -0.03em; }
.h2 { font-size: clamp(26px, 3vw, 40px); font-weight: 700; }
.h3 { font-size: 20px; font-weight: 700; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); }
.muted { color: var(--ink-3); }
.hl { color: var(--marigold-500); }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head > div { max-width: 640px; }
.section-head .h2 { margin-top: 10px; }
.section-head p { margin-top: 12px; color: var(--ink-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  border: 0; border-radius: var(--r-pill);
  font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--marigold-500); color: var(--pine-900); box-shadow: 0 6px 18px rgb(242 140 40 / .35); }
.btn--primary:hover { background: var(--marigold-600); }
.btn--dark { background: var(--pine-900); color: var(--sand-50); }
.btn--dark:hover { background: var(--pine-700); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--pine-900); }
.btn--light { background: rgb(255 255 255 / .14); color: #fff; border: 1.5px solid rgb(255 255 255 / .35); backdrop-filter: blur(8px); }
.btn--light:hover { background: rgb(255 255 255 / .24); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn--lg { min-height: 56px; padding: 0 30px; font-size: 16px; }
.btn svg { width: 18px; height: 18px; flex: none; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 40px; padding: 0 16px;
  border-radius: var(--r-pill); border: 1.5px solid var(--line);
  background: var(--white); font-size: 14px; font-weight: 500; color: var(--ink-2);
  transition: all .15s ease; white-space: nowrap;
}
.chip:hover { border-color: var(--pine-500); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--pine-900); border-color: var(--pine-900); color: var(--sand-50); }

.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: var(--r-pill);
  font-size: 12px; font-weight: 700; letter-spacing: .02em;
}
.badge--marigold { background: var(--marigold-500); color: var(--pine-900); }
.badge--pine { background: var(--pine-900); color: var(--sand-50); }
.badge--coral { background: var(--coral); color: #fff; }
.badge--soft { background: var(--pine-100); color: var(--pine-700); }

/* ---------- Announcement + header ---------- */
.announce {
  background: var(--pine-900); color: var(--pine-100);
  font-size: 13.5px; text-align: center; padding: 9px var(--gutter);
}
.announce a { color: var(--marigold-300); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(251 247 240 / .86);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header__inner { height: var(--header-h); display: flex; align-items: center; gap: 32px; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo__mark { width: 40px; height: 40px; }
.logo__word { font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -0.04em; line-height: 1; }
.logo__word span { font-family: var(--font-body); font-weight: 500; font-size: 14px; letter-spacing: .04em; color: var(--pine-500); margin-left: 3px; }

.nav { display: flex; gap: 4px; }
.nav a {
  padding: 8px 14px; border-radius: var(--r-pill);
  font-size: 15px; font-weight: 500; color: var(--ink-2);
}
.nav a:hover { background: var(--sand-100); color: var(--ink); }
.nav a.is-active { color: var(--ink); font-weight: 600; }
.header__actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header__phone { display: flex; flex-direction: column; font-size: 12px; line-height: 1.25; color: var(--ink-3); margin-right: 6px; }
.header__phone strong { color: var(--ink); font-size: 14px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--white); align-items: center; justify-content: center; }
.menu-btn svg { width: 22px; height: 22px; }

.mobile-nav {
  display: none; position: fixed; inset: calc(var(--header-h)) 0 0 0; z-index: 49;
  background: var(--sand-50); padding: 24px var(--gutter); overflow-y: auto;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 24px; font-weight: 700; }
.mobile-nav .btn { margin-top: 24px; width: 100%; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 16px var(--gutter) 0; }
.hero__frame {
  position: relative; overflow: hidden;
  max-width: 1440px; margin: 0 auto;
  min-height: clamp(560px, 78vh, 760px);
  border-radius: var(--r-xl);
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; isolation: isolate;
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.04); animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__frame::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgb(7 31 27 / .55) 0%, rgb(7 31 27 / 0) 30%),
    linear-gradient(0deg, rgb(7 31 27 / .92) 0%, rgb(7 31 27 / .55) 38%, rgb(7 31 27 / 0) 70%);
}
.hero__content { padding: clamp(28px, 5vw, 64px); padding-bottom: 150px; max-width: 920px; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px; border-radius: var(--r-pill);
  background: rgb(255 255 255 / .14); backdrop-filter: blur(10px);
  border: 1px solid rgb(255 255 255 / .22);
  font-size: 14px; font-weight: 500;
}
.hero__avatars { display: flex; }
.hero__avatars img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; border: 2px solid var(--pine-900); margin-left: -8px; }
.hero__avatars img:first-child { margin-left: 0; }
.hero h1 { margin-top: 22px; }
.hero h1 em { font-style: normal; color: var(--marigold-500); }
.hero .lead { color: rgb(255 255 255 / .86); margin-top: 18px; max-width: 580px; }

/* Booking widget */
.finder {
  position: relative; z-index: 5;
  max-width: 1180px; margin: -110px auto 0;
  background: var(--white); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); padding: 10px;
}
.finder__tabs { display: flex; gap: 4px; padding: 6px 6px 12px; overflow-x: auto; scrollbar-width: none; }
.finder__tabs::-webkit-scrollbar { display: none; }
.finder__tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border: 0; background: transparent; border-radius: var(--r-pill);
  font-size: 14.5px; font-weight: 600; color: var(--ink-3); white-space: nowrap;
}
.finder__tab svg { width: 18px; height: 18px; }
.finder__tab:hover { color: var(--ink); background: var(--sand-50); }
.finder__tab[aria-selected="true"] { background: var(--pine-50); color: var(--pine-700); }
.finder__form {
  display: grid; grid-template-columns: 1.5fr 1.1fr 1.1fr 0.9fr auto;
  background: var(--sand-50); border-radius: var(--r-md); border: 1px solid var(--line);
}
.field { position: relative; padding: 14px 20px; border-right: 1px solid var(--line); min-width: 0; }
.field:last-of-type { border-right: 0; }
.field label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.field input, .field select {
  width: 100%; border: 0; background: transparent; padding: 4px 0 0;
  font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--ink);
  outline: none; appearance: none; text-overflow: ellipsis;
}
.field input::placeholder { color: var(--ink-3); font-weight: 600; }
.field small { display: block; font-size: 13px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.field:focus-within { background: var(--white); box-shadow: inset 0 0 0 2px var(--pine-500); border-radius: var(--r-md); }
.finder__submit { margin: 8px; min-width: 150px; border-radius: var(--r-md); }
.finder__foot { display: flex; align-items: center; gap: 10px; padding: 14px 10px 6px; flex-wrap: wrap; font-size: 14px; }
.finder__foot > span { color: var(--ink-3); font-weight: 500; margin-right: 4px; }
.finder__foot .chip { min-height: 34px; padding: 0 12px; font-size: 13.5px; }

/* ---------- Trust strip ---------- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust__item { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: var(--r-md); }
.trust__icon {
  flex: none; width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center; background: var(--pine-100); color: var(--pine-700);
}
.trust__icon svg { width: 24px; height: 24px; }
.trust__item strong { display: block; font-family: var(--font-display); font-size: 18px; line-height: 1.2; }
.trust__item span { font-size: 14px; color: var(--ink-3); }

/* ---------- Departures ---------- */
.filters { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.toggle { display: inline-flex; padding: 4px; background: var(--sand-100); border-radius: var(--r-pill); }
.toggle button { border: 0; background: transparent; padding: 10px 20px; border-radius: var(--r-pill); font-weight: 600; font-size: 14.5px; color: var(--ink-2); }
.toggle button[aria-pressed="true"] { background: var(--white); color: var(--ink); box-shadow: var(--shadow-sm); }
.months { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.months::-webkit-scrollbar { display: none; }

.grid-trips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trip-card {
  display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease;
}
.trip-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.trip-card__media { position: relative; aspect-ratio: 4 / 3.2; overflow: hidden; }
.trip-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.trip-card:hover .trip-card__media img { transform: scale(1.06); }
.trip-card__badges { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; align-items: start; }
.trip-card__save {
  width: 36px; height: 36px; border-radius: 50%; border: 0;
  background: rgb(255 255 255 / .9); display: grid; place-items: center; color: var(--ink);
}
.trip-card__save svg { width: 18px; height: 18px; }
.trip-card__save[aria-pressed="true"] { color: var(--coral); }
.trip-card__save[aria-pressed="true"] svg { fill: currentColor; }
.trip-card__duration {
  position: absolute; left: 12px; bottom: 12px;
  padding: 5px 10px; border-radius: var(--r-pill);
  background: rgb(7 31 27 / .72); backdrop-filter: blur(6px);
  color: #fff; font-size: 12.5px; font-weight: 600;
}
.trip-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.trip-card__meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-3); gap: 8px; }
.rating { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--ink); }
.rating svg { width: 14px; height: 14px; color: var(--marigold-500); fill: currentColor; }
.rating span { color: var(--ink-3); font-weight: 500; }
.trip-card h3 { font-size: 18px; font-weight: 700; line-height: 1.25; }
.trip-card__dates { display: flex; gap: 6px; flex-wrap: wrap; }
.trip-card__dates span { font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 6px; background: var(--sand-100); color: var(--ink-2); }
.trip-card__dates span.low { background: var(--marigold-100); color: #8A4300; }
.trip-card__foot { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); display: flex; align-items: end; justify-content: space-between; gap: 8px; }
.price s { font-size: 13px; color: var(--ink-3); }
.price strong { display: block; font-family: var(--font-display); font-size: 22px; line-height: 1.1; }
.price small { font-size: 12px; color: var(--ink-3); }
.trip-card__emi { font-size: 12px; color: var(--success); font-weight: 600; text-align: right; }
.empty { grid-column: 1 / -1; text-align: center; padding: 48px; border: 1.5px dashed var(--line); border-radius: var(--r-lg); color: var(--ink-3); }

/* ---------- Categories bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 16px; }
.tile {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  color: #fff; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px; isolation: isolate;
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(7 31 27 / .85), rgb(7 31 27 / 0) 60%); }
.tile:hover img { transform: scale(1.06); }
.tile--wide { grid-column: span 2; }
.tile--tall { grid-row: span 2; }
.tile h3 { font-size: 24px; }
.tile p { font-size: 14px; color: rgb(255 255 255 / .82); margin-top: 4px; }
.tile__count { position: absolute; top: 18px; right: 18px; }
.tile__arrow {
  position: absolute; top: 18px; left: 18px;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgb(255 255 255 / .18); backdrop-filter: blur(6px);
  display: grid; place-items: center; transition: background .2s, transform .2s;
}
.tile__arrow svg { width: 18px; height: 18px; }
.tile:hover .tile__arrow { background: var(--marigold-500); color: var(--pine-900); transform: rotate(-45deg); }

/* ---------- Destinations rail ---------- */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.dest { scroll-snap-align: start; }
.dest__img { aspect-ratio: 3 / 4; border-radius: var(--r-lg); overflow: hidden; }
.dest__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.dest:hover .dest__img img { transform: scale(1.05); }
.dest h3 { font-size: 19px; margin-top: 12px; }
.dest p { font-size: 14px; color: var(--ink-3); }
.rail-nav { display: flex; gap: 8px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--white); display: grid; place-items: center; }
.icon-btn:hover { border-color: var(--pine-900); }
.icon-btn svg { width: 20px; height: 20px; }

/* ---------- Why / how ---------- */
.why { background: var(--pine-900); color: var(--sand-50); border-radius: var(--r-xl); padding: clamp(32px, 6vw, 80px); position: relative; overflow: hidden; }
.why .eyebrow { color: var(--pine-300); }
.why .lead { color: var(--pine-100); }
.why__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.why__features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feature { padding: 22px; border-radius: var(--r-md); background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .1); }
.feature__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--marigold-500); color: var(--pine-900); display: grid; place-items: center; margin-bottom: 14px; }
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 18px; }
.feature p { font-size: 14.5px; color: var(--pine-100); margin-top: 6px; opacity: .85; }
.steps { margin-top: 40px; display: grid; gap: 4px; counter-reset: step; }
.step { display: flex; gap: 16px; align-items: start; padding: 14px 0; border-top: 1px solid rgb(255 255 255 / .12); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--marigold-500); min-width: 28px; padding-top: 2px;
}
.step strong { display: block; font-size: 16px; }
.step span { font-size: 14.5px; color: var(--pine-100); opacity: .8; }
.why__mark { position: absolute; right: -60px; bottom: -80px; width: 340px; opacity: .05; pointer-events: none; }

/* ---------- Community / testimonials ---------- */
.ugc { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 40px; }
.ugc img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-md); }
.ugc img:nth-child(2n) { transform: translateY(18px); }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.review__stars { display: flex; gap: 2px; color: var(--marigold-500); }
.review__stars svg { width: 18px; height: 18px; fill: currentColor; }
.review blockquote { margin: 0; font-size: 16.5px; line-height: 1.55; }
.review__who { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.review__who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.review__who strong { display: block; font-size: 15px; }
.review__who span { font-size: 13px; color: var(--ink-3); }
.review__src { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--pine-500); }

/* ---------- Custom trip CTA ---------- */
.custom { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; border-radius: var(--r-xl); overflow: hidden; background: var(--marigold-100); }
.custom__copy { padding: clamp(32px, 5vw, 64px); }
.custom__copy ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.custom__copy li { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.custom__copy li svg { width: 20px; height: 20px; color: var(--pine-500); flex: none; }
.custom__form { background: var(--white); margin: 16px; border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); display: grid; gap: 14px; align-content: start; }
.input { display: grid; gap: 6px; }
.input label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.input input, .input select, .input textarea {
  min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--sand-50); outline: none;
}
.input textarea { padding: 12px 14px; min-height: 90px; resize: vertical; }
.input input:focus, .input select:focus, .input textarea:focus { border-color: var(--pine-500); background: var(--white); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-note { font-size: 13px; color: var(--ink-3); text-align: center; }
.form-success { display: none; padding: 14px; border-radius: 12px; background: var(--pine-50); color: var(--pine-700); font-weight: 600; text-align: center; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 80px); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 0;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
  font-family: var(--font-display); font-size: 19px; font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: var(--sand-100); font-family: var(--font-body); font-size: 20px; font-weight: 400; transition: transform .2s, background .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--marigold-500); }
.faq details p { padding: 0 48px 22px 0; color: var(--ink-2); }

/* ---------- Footer ---------- */
.footer { background: var(--pine-950); color: var(--pine-100); margin-top: clamp(56px, 8vw, 112px); }
.footer__news { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 48px; border-bottom: 1px solid rgb(255 255 255 / .1); flex-wrap: wrap; }
.footer__news h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); }
.footer__news form { display: flex; gap: 8px; background: rgb(255 255 255 / .06); padding: 6px; border-radius: var(--r-pill); border: 1px solid rgb(255 255 255 / .14); width: min(100%, 460px); }
.footer__news input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 16px; color: #fff; outline: none; }
.footer__news input::placeholder { color: rgb(220 239 234 / .55); }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; padding-block: 56px; }
.footer__grid h4 { font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--pine-300); margin-bottom: 16px; }
.footer__grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; }
.footer__grid a:hover { color: var(--marigold-300); }
.footer__brand p { margin-top: 16px; font-size: 15px; max-width: 300px; opacity: .8; }
.footer .logo__word { color: #fff; }
.footer .logo__word span { color: var(--pine-300); }
.socials { display: flex; gap: 8px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / .08); }
.socials a:hover { background: var(--marigold-500); color: var(--pine-900); }
.socials svg { width: 18px; height: 18px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 24px; border-top: 1px solid rgb(255 255 255 / .1); font-size: 13.5px; opacity: .7; }

/* ---------- Floating action ---------- */
.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 56px; padding: 0 22px 0 18px; border-radius: var(--r-pill);
  background: var(--pine-900); color: #fff; font-weight: 600; box-shadow: var(--shadow-lg);
}
.fab svg { width: 24px; height: 24px; color: #4ADE80; }
.fab:hover { background: var(--pine-700); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__img { animation: none; transform: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Trip detail page
   ========================================================================== */
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--ink-3); padding-block: 20px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 10px; border-radius: var(--r-xl); overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery img:first-child { grid-row: span 2; }
.gallery__more { position: relative; }
.gallery__more .btn { position: absolute; right: 14px; bottom: 14px; }
.trip-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; margin-top: 36px; align-items: start; }
.trip-layout > * { min-width: 0; }
.reviews--2 { grid-template-columns: 1fr 1fr; }
.trip-head .badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.trip-head p.lead { margin-top: 14px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; }
.fact { padding: 16px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); }
.fact span { display: block; font-size: 12.5px; color: var(--ink-3); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.fact strong { font-family: var(--font-display); font-size: 18px; }
.tabs { position: sticky; top: var(--header-h); z-index: 10; background: var(--sand-50); display: flex; gap: 4px; margin-top: 36px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs a { padding: 16px 16px; font-weight: 600; font-size: 15px; color: var(--ink-3); border-bottom: 2.5px solid transparent; white-space: nowrap; }
.tabs a.is-active, .tabs a:hover { color: var(--ink); border-bottom-color: var(--marigold-500); }
.trip-section { padding-top: 40px; scroll-margin-top: calc(var(--header-h) + 60px); }
.trip-section > h2 { font-size: 28px; margin-bottom: 18px; }
.highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; list-style: none; padding: 0; margin: 0; }
.highlights li { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); font-weight: 500; }
.highlights svg { width: 22px; height: 22px; color: var(--pine-500); flex: none; }
.itin details { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); margin-bottom: 10px; overflow: hidden; }
.itin summary { list-style: none; cursor: pointer; display: flex; gap: 16px; align-items: center; padding: 16px 18px; }
.itin summary::-webkit-details-marker { display: none; }
.itin__day { flex: none; width: 56px; height: 56px; border-radius: 14px; background: var(--pine-50); color: var(--pine-700); display: grid; place-items: center; text-align: center; font-size: 11px; font-weight: 600; line-height: 1.1; text-transform: uppercase; }
.itin__day b { display: block; font-family: var(--font-display); font-size: 22px; }
.itin details[open] .itin__day { background: var(--marigold-500); color: var(--pine-900); }
.itin summary strong { font-family: var(--font-display); font-size: 18px; display: block; color: var(--ink); }
.itin summary > span:last-child > span { font-size: 14px; color: var(--ink-3); }
.itin details[open] summary > span:last-child > span { display: none; }
.itin details > div { padding: 0 18px 18px 90px; color: var(--ink-2); }
.incl { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.incl > div { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; }
.incl h3 { font-size: 18px; margin-bottom: 12px; }
.incl ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; }
.incl li { display: flex; gap: 10px; }
.incl li::before { content: "✓"; color: var(--success); font-weight: 700; }
.incl .no li::before { content: "✕"; color: var(--coral); }
.policy { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.policy div { padding: 18px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); }
.policy strong { display: block; font-family: var(--font-display); font-size: 22px; }
.policy span { font-size: 14px; color: var(--ink-3); }

.book { position: sticky; top: calc(var(--header-h) + 20px); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-md); padding: 24px; }
.book__price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.book__price strong { font-family: var(--font-display); font-size: 34px; }
.book__price s { color: var(--ink-3); }
.book__dates { display: grid; gap: 8px; margin: 18px 0; max-height: 300px; overflow-y: auto; }
.date-opt { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--white); text-align: left; width: 100%; }
.date-opt strong { display: block; font-size: 15px; }
.date-opt span { font-size: 12.5px; color: var(--ink-3); }
.date-opt em { font-style: normal; font-size: 12px; font-weight: 700; }
.date-opt em.low { color: var(--coral); }
.date-opt em.ok { color: var(--success); }
.date-opt[aria-pressed="true"] { border-color: var(--pine-900); background: var(--pine-50); box-shadow: inset 0 0 0 1px var(--pine-900); }
.date-opt:disabled { opacity: .5; cursor: not-allowed; }
.qty { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.qty__ctrl { display: flex; align-items: center; gap: 14px; }
.qty__ctrl button { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--white); font-size: 18px; }
.book__total { display: flex; justify-content: space-between; padding: 14px 0; border-top: 1px solid var(--line); font-weight: 600; }
.book__total strong { font-family: var(--font-display); font-size: 20px; }
.book .btn { width: 100%; }
.book__alt { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.book__note { margin-top: 14px; font-size: 13px; color: var(--ink-3); text-align: center; }
.captain { display: flex; gap: 14px; align-items: center; margin-top: 18px; padding: 14px; border-radius: var(--r-md); background: var(--sand-50); }
.captain img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.captain strong { display: block; font-size: 15px; }
.captain span { font-size: 13px; color: var(--ink-3); }

.mobile-book { display: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav, .header__phone { display: none; }
  .menu-btn { display: inline-flex; }
  .grid-trips { grid-template-columns: repeat(2, 1fr); }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .finder__form { grid-template-columns: 1fr 1fr; }
  .field { border-bottom: 1px solid var(--line); }
  .field:nth-of-type(2n) { border-right: 0; }
  .finder__submit { grid-column: 1 / -1; }
  .why__grid, .faq-wrap, .custom { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
  .trip-layout { grid-template-columns: 1fr; }
  .book { position: static; }
}
@media (max-width: 720px) {
  :root { --header-h: 64px; }
  .header__actions .btn--ghost { display: none; }
  .hero { padding: 8px 8px 0; }
  .hero__frame { border-radius: var(--r-lg); min-height: 620px; }
  .hero__content { padding: 24px 20px 130px; }
  .finder { margin: -100px 8px 0; }
  .finder__form { grid-template-columns: 1fr; }
  .field { border-right: 0; }
  .grid-trips { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; gap: 4px; }
  .trust__item { padding: 10px 4px; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; gap: 10px; }
  .tile--wide { grid-column: span 2; }
  .tile--tall { grid-row: span 1; }
  .tile { padding: 16px; }
  .tile h3 { font-size: 19px; }
  .tile p { display: none; }
  .why__features, .reviews, .reviews--2, .row-2, .highlights, .incl, .policy { grid-template-columns: 1fr; }
  .ugc { grid-template-columns: repeat(3, 1fr); }
  .ugc img:nth-child(n+4) { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .fab span { display: none; }
  .fab { padding: 0; width: 56px; justify-content: center; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 120px; }
  .gallery img:first-child { grid-column: span 2; grid-row: span 1; }
  .gallery > :nth-child(n+4) { display: none; }
  .facts { grid-template-columns: 1fr 1fr; }
  .itin details > div { padding-left: 18px; }
  .mobile-book {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    justify-content: space-between; align-items: center; gap: 12px;
    padding: 12px 16px; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgb(11 43 38 / .08);
  }
  .mobile-book strong { font-family: var(--font-display); font-size: 22px; display: block; line-height: 1.1; }
  .mobile-book span { font-size: 12px; color: var(--ink-3); }
  body.has-mobile-book .fab { bottom: 90px; }
}

/* ---------- Initials avatars (swap for real traveller photos) ---------- */
.avatar {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  background: var(--pine-100); color: var(--pine-700);
}
.avatar--m { background: var(--marigold-100); color: #8A4300; }
.avatar--s { background: var(--sand-200); color: var(--ink); }
.hero__avatars .avatar { width: 28px; height: 28px; font-size: 11px; border: 2px solid var(--pine-900); margin-left: -8px; }
.hero__avatars .avatar:first-child { margin-left: 0; }
.captain .avatar { width: 52px; height: 52px; font-size: 18px; }
