/* =========================================================
   Qurikvoy — Home page
   desktop ≥1024 · tablet 768–1023 · mobile ≤767
   ========================================================= */

.page-home {
  --h-blue: #1e5a8f;
  --h-blue-2: #2373ba;
  --h-coral: #ff7a3d;
  --h-coral-2: #ff8c53;
  --h-muted: #5a6578;
  --h-line: #e9ecef;
  --h-surface: #f1f4f8;
  --h-bg: #f8f9fa;
  --h-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
  --h-shadow-sm: 0 2px 7px rgba(0, 0, 0, 0.06);
  background: var(--h-bg);
}

/* ---------- shared bits ---------- */
.sec { padding: 64px 0; }
.sec--light { background: var(--h-bg); }
.sec--tint { background: rgba(241, 244, 248, 0.6); border-block: 1px solid var(--h-line); padding: 65px 0; }
.sec--tint2 { background: rgba(241, 244, 248, 0.7); border-bottom: 1px solid var(--h-line); padding: 64px 0 65px; }

.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: 32px; }
.sec-head--center { flex-direction: column; align-items: center; text-align: center; gap: 6px; margin-bottom: 40px; }
.kicker {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; line-height: 16px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--h-coral);
}
.kicker--dot::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--h-coral); flex-shrink: 0; }
.sec-title { margin: 6px 0 0; font-size: 30px; line-height: 36px; font-weight: 800; color: var(--h-blue); letter-spacing: -0.2px; }
.sec-title--lg { line-height: 37.5px; }
.sec-text { max-width: 448px; font-size: 14px; line-height: 20px; color: var(--h-muted); }
.sec-text--narrow { max-width: 384px; }
.sec-text--steps { max-width: 576px; }
.sec-head--center .sec-text { max-width: 672px; margin-top: 2px; }
.sec-note { font-size: 12px; font-weight: 500; line-height: 16px; color: var(--h-muted); white-space: nowrap; }

.stars { display: inline-flex; }
.stars img { width: 16.667px; height: 15.833px; }
.stars--sm { gap: 4px; }
.stars--sm img { width: 15px; height: 14.25px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 32px; border-radius: 12px; font-size: 14px; font-weight: 700; line-height: 20px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
}
.btn img { flex-shrink: 0; }
.btn--coral {
  background: linear-gradient(90deg, var(--h-coral), var(--h-coral-2)); color: #fff;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}
.btn--coral:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -6px rgba(255, 122, 61, 0.55); }
.btn--coral:hover img { transform: translateX(3px); }
.btn--coral img { transition: transform 0.25s var(--ease); }
.btn--white { background: #fff; border: 1px solid var(--h-line); color: var(--c-ink); font-weight: 600; padding: 12px 20px; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); }
.btn--white:hover { border-color: rgba(37, 211, 102, 0.5); box-shadow: 0 8px 18px rgba(37, 211, 102, 0.18); transform: translateY(-2px); }
.btn--block { width: 100%; padding: 14px 24px; }
.btn[disabled] { opacity: 0.7; cursor: wait; }

.link-arrow { display: inline-flex; align-items: center; gap: 2px; font-size: 12px; font-weight: 700; line-height: 16px; color: var(--h-blue-2); white-space: nowrap; }
.link-arrow img { transition: transform 0.25s var(--ease); }
.link-arrow--lg { gap: 8px; font-size: 14px; line-height: 20px; }
a:hover > .link-arrow img, .link-arrow:hover img { transform: translateX(4px); }

.round-btn {
  width: 28px; height: 28px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%;
  background: #fff; border: 1px solid var(--h-line); color: var(--h-blue-2); font-size: 16px; font-weight: 700; line-height: 1;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.round-btn:hover { border-color: var(--h-blue-2); }
.round-btn:active { transform: scale(0.9); }
.round-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* =========================================================
   1. HERO
   ========================================================= */
/* overflow stays visible so trip-builder popovers can extend past the hero; media clips itself */
.hero { position: relative; z-index: 3; padding: 64px 0 80px; isolation: isolate; background: var(--h-bg); }
/* The photo fades out before the hero's bottom edge, so a parallax/sub-pixel shift can never
   leave a dark 1px seam against the next section; the overlay also bleeds 2px past the edge. */
.hero__media {
  position: absolute; inset: 0; z-index: -2; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 96%);
          mask-image: linear-gradient(180deg, #000 70%, transparent 96%);
}
.hero__img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; max-width: none; }
.hero__overlay {
  position: absolute; inset: 0 0 -2px; z-index: -1;
  background: linear-gradient(180deg, rgba(11, 26, 43, 0.9) 0%, rgba(30, 90, 143, 0.85) 50%, #f8f9fa 100%);
}
.hero__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }

.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; max-width: 768px; }
.hero__title { margin: 0; padding-top: 1px; font-size: 60px; line-height: 60px; font-weight: 800; letter-spacing: -1.5px; color: #fff; }
.hero__line { display: block; }
.hero__line--accent { font-style: italic; font-weight: 800; color: #fde68a; }
.hero__text { max-width: 672px; font-size: 18px; line-height: 28px; color: #eff6ff; }

/* Trip builder */
.trip {
  position: relative; width: 100%; display: flex; flex-direction: column; gap: 24px;
  padding: 49px 33px 33px; border-radius: 16px; background: #fff; border: 1px solid var(--h-line);
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.06), 0 30px 60px -30px rgba(11, 26, 43, 0.25);
}
.trip__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 17px; border-bottom: 1px solid var(--h-line); }
.trip__who { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; line-height: 24px; color: var(--h-blue); white-space: nowrap; }

.seg { display: flex; gap: 6px; padding: 4px; border-radius: 12px; background: var(--h-surface); overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg__opt { position: relative; flex-shrink: 0; cursor: pointer; }
.seg__opt input { position: absolute; opacity: 0; pointer-events: none; }
.seg__opt span {
  display: block; padding: 6px 16px; border-radius: 8px; font-size: 12px; font-weight: 600; line-height: 16px; color: var(--h-muted);
  transition: background 0.25s var(--ease), color 0.25s, box-shadow 0.25s;
}
.seg__opt:hover span { color: var(--h-blue); }
.seg__opt input:checked + span { background: var(--h-blue-2); color: #fff; font-weight: 700; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); }
.seg__opt input:focus-visible + span { outline: 2px solid var(--h-blue-2); outline-offset: 2px; }

.trip__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tfield {
  position: relative; min-width: 0; height: 108px; display: flex; flex-direction: column; justify-content: space-between;
  padding: 15px; border-radius: 12px; background: var(--h-surface); border: 1px solid var(--h-line);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.tfield.is-open { z-index: 30; } /* field with an open popover sits above its neighbours */
.tfield:focus-within { border-color: rgba(35, 115, 186, 0.45); box-shadow: 0 0 0 4px rgba(35, 115, 186, 0.08); background: #f5f8fc; }
.tfield__label {
  display: flex; align-items: flex-end; gap: 6px; height: 16.5px;
  font-size: 11px; font-weight: 700; line-height: 16.5px; letter-spacing: 0.55px; text-transform: uppercase; color: var(--h-muted);
}
.tfield__input {
  width: 100%; min-width: 0; padding: 0 12px; height: 40px;
  border: 1px solid #9aa3af; border-radius: 6px; background: transparent;
  font: 700 16px/24px var(--font); color: var(--c-ink);
  text-overflow: ellipsis; -webkit-appearance: none; appearance: none; cursor: text;
}
.tfield__input:focus { outline: none; border-color: var(--h-blue-2); background: #fff; }
input.tfield__input[readonly] { cursor: pointer; }
.tfield__select { position: relative; }
.tfield__select select { padding-right: 36px; cursor: pointer; }
.tfield__chev { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.tfield__hint { font-size: 12px; line-height: 16px; color: var(--h-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tfield__chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.tfield__chips::-webkit-scrollbar { display: none; }
.chip-btn {
  flex-shrink: 0; padding: 2px 8px; border-radius: 4px; background: #fff; border: 1px solid var(--h-line);
  font-size: 10px; font-weight: 600; line-height: 15px; color: var(--h-blue-2);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.chip-btn:hover, .chip-btn.is-active { background: var(--h-blue-2); border-color: var(--h-blue-2); color: #fff; }

.guests { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.guests__value { font-size: 16px; font-weight: 700; line-height: 24px; color: var(--c-ink); text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.guests__value:hover { color: var(--h-blue-2); }
.guests__btns { display: flex; gap: 6px; }

.tpop[hidden] { display: none; }
.tpop {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 40;
  display: flex; flex-direction: column; gap: 12px; padding: 16px; min-width: 240px;
  background: #fff; border: 1px solid var(--h-line); border-radius: 14px;
  box-shadow: 0 20px 40px -12px rgba(11, 26, 43, 0.3);
}
.tpop label { display: flex; flex-direction: column; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: var(--h-muted); }
.tpop input[type="date"] { height: 44px; padding: 0 12px; border: 1px solid var(--h-line); border-radius: 10px; font: 600 15px var(--font); color: var(--c-ink); background: var(--h-surface); }
.tpop__done { align-self: stretch; padding: 10px; border-radius: 10px; background: var(--h-blue-2); color: #fff; font-size: 13px; font-weight: 700; }
.guests-pop__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.guests-pop__row strong { display: block; font-size: 14px; color: var(--c-ink); }
.guests-pop__row small { font-size: 12px; color: var(--h-muted); }
.guests-pop__ctrl { display: flex; align-items: center; gap: 10px; }
.guests-pop__ctrl output { min-width: 18px; text-align: center; font-weight: 700; color: var(--c-ink); }
.guests-pop__ctrl .round-btn { width: 34px; height: 34px; }

.trip__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 8px; }
.trip__trust { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 20px; color: var(--c-ink); }
.trip__reviews { font-size: 12px; line-height: 16px; color: var(--h-muted); }
.trip__actions { display: flex; align-items: center; gap: 12px; }

/* =========================================================
   2. TRAVELLER TYPES
   ========================================================= */
.type-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; min-height: 194px;
  padding: 16px 12px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--h-line); box-shadow: var(--h-shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.type-card__img {
  width: 80px; height: 80px; border-radius: 50%; overflow: hidden; margin-bottom: 12px;
  box-shadow: 0 0 0 2px rgba(35, 115, 186, 0.2); transition: box-shadow 0.35s var(--ease);
}
.type-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.type-card__title { font-size: 14px; font-weight: 700; line-height: 20px; color: var(--h-blue); }
.type-card__sub { margin-top: 4px; font-size: 12px; line-height: 16px; color: var(--h-muted); }
.type-card__link { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; font-size: 12px; font-weight: 700; line-height: 16px; color: var(--h-blue-2); }
.type-card__link img { transition: transform 0.25s var(--ease); }
.type-card:hover { transform: translateY(-6px); box-shadow: 0 18px 36px -12px rgba(30, 90, 143, 0.25); border-color: rgba(35, 115, 186, 0.25); }
.type-card:hover .type-card__img { box-shadow: 0 0 0 3px var(--h-coral); }
.type-card:hover .type-card__img img { transform: scale(1.12); }
.type-card:hover .type-card__link img { transform: translateX(3px); }

/* =========================================================
   3. PACKAGES
   ========================================================= */
.pkg {
  display: flex; flex-direction: column; overflow: hidden; border-radius: 16px; background: #fff;
  border: 1px solid var(--h-line); box-shadow: var(--h-shadow);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.pkg:hover { transform: translateY(-6px); box-shadow: 0 24px 44px -16px rgba(30, 90, 143, 0.28); }
.pkg__media { position: relative; height: 242px; overflow: hidden; }
.pkg__media > img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.pkg:hover .pkg__media > img { transform: scale(1.06); }
.pkg__badges { position: absolute; left: 12px; top: 12px; right: 56px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag { padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 700; line-height: 16.5px; letter-spacing: 0.55px; text-transform: uppercase; color: #fff; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); }
.tag--orange { background: var(--h-coral); }
.tag--blue { background: var(--h-blue-2); }
.tag--navy { background: var(--h-blue); }
.tag--soft { font-weight: 600; letter-spacing: 0; text-transform: none; }
.tag--soft.tag--blue { background: rgba(35, 115, 186, 0.9); }
.tag--soft.tag--orange { font-weight: 700; text-transform: uppercase; letter-spacing: 0; }
.wish {
  position: absolute; right: 12px; top: 12px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(255, 255, 255, 0.9); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s var(--ease), background 0.25s;
}
.wish:hover { transform: scale(1.1); }
.wish[aria-pressed="true"] { background: var(--h-coral); }
.wish[aria-pressed="true"] img { filter: brightness(0) invert(1); }
.pkg__rating {
  position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: 6px; background: rgba(30, 90, 143, 0.9);
  font-size: 12px; font-weight: 700; line-height: 16px; color: #fff;
}
.pkg__body { flex: 1; display: flex; flex-direction: column; padding: 20px; }
.pkg__cat { font-size: 12px; font-weight: 700; line-height: 16px; letter-spacing: 0.6px; text-transform: uppercase; color: var(--h-coral); }
.pkg__title { margin: 4px 0 0; font-size: 18px; font-weight: 700; line-height: 28px; color: var(--h-blue); }
.pkg__route { margin-top: 4px; font-size: 12px; font-weight: 500; line-height: 16px; color: var(--h-muted); }
.pkg__inc { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.pkg__inc li {
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 6px; border-radius: 8px; background: var(--h-surface);
  font-size: 10px; font-weight: 500; line-height: 15px; text-align: center; color: var(--h-muted);
}
.pkg__inc img { width: auto; height: auto; max-width: 17px; max-height: 17px; }
.pkg__foot { margin-top: auto; padding-top: 16px; }
.pkg__price { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-top: 13px; border-top: 1px solid var(--h-line); }
.pkg__price s { display: block; padding-top: 5px; font-size: 12px; line-height: 16px; color: #9ca3af; }
.pkg__price p { display: flex; align-items: baseline; gap: 4px; margin-top: 2px; }
.pkg__price strong { font-size: 20px; line-height: 28px; color: var(--h-blue); }
.pkg__price span { font-size: 12px; line-height: 16px; color: var(--h-muted); }
.pkg__save {
  margin-top: 4px; padding: 3px 9px; border-radius: 9999px; white-space: nowrap;
  background: #ecfdf5; border: 1px solid rgba(16, 185, 129, 0.25); color: #047857; font-size: 10px; font-weight: 700; line-height: 15px;
}
.pkg__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.btn-sm {
  display: flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 12px; border-radius: 8px;
  font-size: 12px; font-weight: 700; line-height: 16px; transition: background 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
}
.btn-sm--ghost { background: var(--h-surface); color: var(--h-blue); }
.btn-sm--ghost:hover { background: #e3e9f1; }
.btn-sm--wa { background: var(--c-wa); color: #fff; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); }
.btn-sm--wa:hover { transform: translateY(-1px); box-shadow: 0 8px 16px rgba(37, 211, 102, 0.3); }

/* =========================================================
   4. LIVE FEED
   ========================================================= */
.feed {
  position: relative; display: flex; align-items: center; gap: 16px; padding: 17px 32px;
  background: linear-gradient(90deg, #0b1a2b 0%, var(--h-blue) 50%, #0b1a2b 100%);
  border-block: 1px solid rgba(255, 255, 255, 0.1); overflow: hidden;
}
.feed__label {
  position: relative; z-index: 2; flex-shrink: 0; display: flex; align-items: center; gap: 8px; padding: 7px 15px; border-radius: 9999px;
  background: rgba(35, 115, 186, 0.5); border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 12px; font-weight: 700; line-height: 16px; letter-spacing: 0.3px; text-transform: uppercase; color: #fff; white-space: nowrap;
  box-shadow: 12px 0 18px 6px #0e2036;
}
.feed__viewport {
  flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 48px), transparent);
          mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 48px), transparent);
}
.feed__track { display: flex; width: max-content; animation: marquee 40s linear infinite; will-change: transform; }
.feed:hover .feed__track { animation-play-state: paused; }
.feed__group { display: flex; gap: 24px; padding-right: 24px; }
.feed__item {
  display: flex; align-items: center; gap: 12px; padding: 9px 17px; border-radius: 12px; white-space: nowrap;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px; line-height: 16px; color: #fff;
}
.feed__item strong { font-weight: 700; }
.feed__item em { font-style: normal; font-weight: 500; color: #fcd34d; }
.feed__avatar { width: 28px; height: 28px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; font-size: 12px; font-weight: 700; }
.feed__avatar--orange { background: var(--h-coral); }
.feed__avatar--blue { background: var(--h-blue-2); }
.feed__avatar--green { background: var(--c-wa); }

/* =========================================================
   5. DESTINATIONS
   ========================================================= */
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: -22px 0 40px; }
.tabs__btn {
  padding: 8px 20px; border-radius: 9999px; background: #fff; border: 1px solid var(--h-line);
  font-size: 12px; font-weight: 600; line-height: 16px; color: var(--h-muted); white-space: nowrap;
  transition: background 0.25s var(--ease), color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.tabs__btn:hover { color: var(--h-blue); border-color: rgba(35, 115, 186, 0.35); }
.tabs__btn.is-active { background: var(--h-blue-2); border-color: var(--h-blue-2); color: #fff; font-weight: 700; box-shadow: 0 6px 14px -4px rgba(35, 115, 186, 0.5); }

.dest {
  display: flex; flex-direction: column; overflow: hidden; border-radius: 16px; background: #fff;
  border: 1px solid var(--h-line); box-shadow: var(--h-shadow);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.dest[hidden] { display: none; }
.dest:hover { transform: translateY(-6px); box-shadow: 0 24px 44px -16px rgba(30, 90, 143, 0.28); }
.dest__media { position: relative; height: 224px; overflow: hidden; }
.dest__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.dest:hover .dest__media img { transform: scale(1.08); }
.dest__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0) 100%); }
.dest__label { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 1; display: flex; flex-direction: column; gap: 2px; font-weight: 700; }
.dest__label span { font-size: 11px; line-height: 16.5px; letter-spacing: 0.55px; text-transform: uppercase; color: var(--h-coral); }
.dest__label strong { font-size: 18px; line-height: 28px; color: #fff; }
.dest__body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 16px; }
.dest__desc { font-size: 12px; line-height: 16px; color: var(--h-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dest__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 17px; border-top: 1px solid var(--h-line); }
.dest__price small { display: block; padding-top: 5px; font-size: 11px; line-height: 16.5px; color: var(--h-muted); }
.dest__price p { margin-top: 2px; font-size: 12px; line-height: 16px; color: #6b7280; }
.dest__price strong { font-size: 16px; line-height: 24px; color: var(--h-blue); }

/* =========================================================
   6. DEALS
   ========================================================= */
.deals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.deal {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 8px; padding: 25px;
  border-radius: 16px; background: #fff; border: 1px solid var(--h-line); box-shadow: var(--h-shadow);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.deal:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -18px rgba(30, 90, 143, 0.28); }
.deal__top { display: flex; align-items: center; justify-content: space-between; }
.deal__badge { padding: 4px 12px; border-radius: 9999px; font-size: 12px; font-weight: 700; line-height: 16px; text-transform: uppercase; color: #fff; }
.deal--orange .deal__badge { background: var(--h-coral); }
.deal--blue .deal__badge { background: var(--h-blue-2); }
.deal--soft .deal__badge { background: #fff1eb; border: 1px solid rgba(255, 122, 61, 0.2); color: var(--h-coral); padding: 4px 12px; }
.deal__icon { width: auto; height: auto; max-width: 22px; max-height: 21px; transition: transform 0.4s var(--ease); }
.deal:hover .deal__icon { transform: rotate(-8deg) scale(1.15); }
.deal__title { margin: 8px 0 0; font-size: 18px; font-weight: 700; line-height: 28px; color: var(--h-blue); }
.deal__text { margin-bottom: 16px; font-size: 12px; line-height: 19.5px; color: var(--h-muted); }
.deal__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 25px; border-top: 1px solid var(--h-line); position: relative; z-index: 1; }
.deal__code {
  padding: 7px 13px; border-radius: 8px; background: var(--h-surface); border: 1px solid var(--h-line);
  font: 700 12px/16px ui-monospace, 'Liberation Mono', Menlo, Consolas, monospace; color: var(--h-blue-2);
  transition: border-color 0.2s, background 0.2s;
}
.deal__code:hover { border-color: var(--h-blue-2); border-style: dashed; }
.deal__code.is-copied { background: #ecfdf5; border-color: #10b981; color: #047857; }
.deal__cta { font-size: 12px; font-weight: 700; line-height: 16px; color: var(--h-coral); white-space: nowrap; }
.deal--blue .deal__cta { color: var(--h-blue-2); }
.deal__cta:hover { text-decoration: underline; text-underline-offset: 3px; }
.deal__blob { position: absolute; right: -24px; bottom: -24px; width: 96px; height: 96px; border-radius: 50%; background: rgba(255, 122, 61, 0.05); transition: transform 0.6s var(--ease); }
.deal--blue .deal__blob { background: rgba(35, 115, 186, 0.05); }
.deal:hover .deal__blob { transform: scale(2.2); }

/* =========================================================
   7. WHY QURIKVOY
   ========================================================= */
.why { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; align-items: center; }
.why__copy { grid-column: span 5; display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
.why__copy .sec-title { margin-top: 2px; }
.why__text { font-size: 14px; line-height: 22.75px; color: var(--h-muted); }
.why__copy .link-arrow { margin-top: 10px; }
.pillars { grid-column: span 7; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pillar {
  display: flex; flex-direction: column; gap: 8px; padding: 21px; border-radius: 16px; background: #fff;
  border: 1px solid var(--h-line); box-shadow: var(--h-shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.pillar:hover { transform: translateY(-4px); box-shadow: 0 20px 36px -16px rgba(30, 90, 143, 0.25); }
.pillar__icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; transition: transform 0.4s var(--ease); }
.pillar:hover .pillar__icon { transform: rotate(-6deg) scale(1.08); }
.pillar__icon img { width: auto; height: auto; max-width: 20.2px; max-height: 18.4px; }
.pillar__icon--sky { background: #e8f2fc; }
.pillar__icon--peach { background: #fff1eb; }
.pillar__icon--blue { background: var(--h-blue-2); }
.pillar__icon--mint { background: #ecfdf5; }
.pillar__title { margin: 0; font-size: 16px; font-weight: 700; line-height: 24px; color: var(--h-blue); }
.pillar__text { font-size: 12px; line-height: 19.5px; color: var(--h-muted); }

/* =========================================================
   8. STEPS
   ========================================================= */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; position: relative; }
.step {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 25px;
  border-radius: 16px; background: #fff; border: 1px solid var(--h-line); box-shadow: var(--h-shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: 0 20px 36px -16px rgba(30, 90, 143, 0.25); }
.step__num {
  width: 48px; height: 48px; flex-shrink: 0; display: grid; place-items: center; margin-bottom: 16px; border-radius: 50%;
  font-size: 18px; font-weight: 700; color: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
}
.step__num--blue { background: var(--h-blue-2); }
.step__num--orange { background: var(--h-coral); }
.step__num--navy { background: var(--h-blue); }
.step__title { margin: 0; font-size: 16px; font-weight: 700; line-height: 24px; color: var(--h-blue); }
.step__text { margin-top: 8px; font-size: 12px; line-height: 19.5px; color: var(--h-muted); max-width: 330px; margin-inline: auto; }

/* =========================================================
   9. REVIEWS
   ========================================================= */
.sec-head .rev-score { display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; color: var(--c-ink); white-space: nowrap; }
#reviews .sec-head { margin-bottom: 40px; }
.review {
  margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; padding: 25px;
  border-radius: 16px; background: #fff; border: 1px solid var(--h-line); box-shadow: var(--h-shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.review:hover { transform: translateY(-4px); box-shadow: 0 20px 36px -16px rgba(30, 90, 143, 0.25); }
.review__quote { margin: 12px 0 0; font-size: 14px; font-style: italic; line-height: 20px; color: var(--c-ink); }
.review__by { display: flex; align-items: center; gap: 12px; padding-top: 25px; border-top: 1px solid var(--h-line); }
.review__avatar { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; object-fit: cover; border: 1px solid rgba(35, 115, 186, 0.2); }
.review__by strong { display: block; font-size: 14px; line-height: 20px; color: var(--h-blue); }
.review__by span { display: block; font-size: 12px; line-height: 16px; color: var(--h-muted); }

/* =========================================================
   10. QUOTE FORM
   ========================================================= */
.quote { position: relative; overflow: hidden; padding: 64px 0; background: linear-gradient(157.8deg, #0b1a2b 0%, var(--h-blue) 50%, var(--h-blue-2) 100%); isolation: isolate; }
.quote::before {
  content: ''; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 122, 61, 0.18), transparent 65%);
}
.quote__inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; align-items: center; }
.quote__copy { grid-column: span 6; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.quote__badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 15px; border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 12px; line-height: 16px; color: #fff;
}
.quote__title { margin: 0; max-width: 460px; font-size: 48px; font-weight: 800; line-height: 48px; color: #fff; }
.quote__text { max-width: 540px; font-size: 16px; line-height: 24px; color: #dbeafe; }
.quote__points { display: flex; flex-wrap: wrap; gap: 12px 24px; padding-top: 8px; }
.quote__points li { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; line-height: 16px; color: #dbeafe; }

.qform {
  grid-column: span 6; display: flex; flex-direction: column; gap: 4px; padding: 33px; border-radius: 16px; background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2); box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}
.qform__title { margin: 0; font-size: 20px; font-weight: 700; line-height: 28px; color: var(--h-blue); }
.qform__text { font-size: 12px; line-height: 16px; color: var(--h-muted); }
.qform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 20px 0 16px; }
.qfield { display: flex; flex-direction: column; gap: 6px; padding-top: 5px; min-width: 0; }
.qfield > span:first-child { font-size: 11px; font-weight: 700; line-height: 16.5px; text-transform: uppercase; color: var(--h-muted); }
.qfield input, .qfield select {
  width: 100%; min-width: 0; height: 44px; padding: 0 13px; border-radius: 12px; background: var(--h-surface); border: 1px solid var(--h-line);
  font: 600 12px var(--font); color: var(--c-ink); -webkit-appearance: none; appearance: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.qfield input::placeholder { color: #9ca3af; }
.qfield input:focus, .qfield select:focus { outline: none; background: #fff; border-color: var(--h-blue-2); box-shadow: 0 0 0 3px rgba(35, 115, 186, 0.12); }
.qfield.is-invalid input { border-color: #dc2626; background: #fef2f2; }
.qfield__select { position: relative; display: block; }
.qfield__select select { padding-right: 36px; cursor: pointer; text-overflow: ellipsis; }
.qfield__select img { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.qfield__phone { display: flex; }
.qfield__phone b {
  display: flex; align-items: center; padding: 0 12px; border-radius: 12px 0 0 12px; background: var(--h-surface);
  border: 1px solid var(--h-line); border-right: 0; font-size: 12px; font-weight: 700; color: var(--h-muted);
}
.qfield__phone input { border-radius: 0 12px 12px 0; }
.qform .btn--block { margin-top: 8px; }
.qform__msg { font-size: 12px; font-weight: 600; line-height: 18px; text-align: center; padding-top: 8px; }
.qform__msg:empty { display: none; }
.qform__msg.is-ok { color: #047857; }
.qform__msg.is-err { color: #dc2626; }
.qform__msg a { color: var(--c-wa); text-decoration: underline; }
.qform__privacy { padding-top: 7px; font-size: 11px; line-height: 16.5px; text-align: center; color: var(--h-muted); }


@keyframes ping { 75%, 100% { transform: scale(2.4); opacity: 0; } }

/* =========================================================
   TABLET  (768–1023)
   ========================================================= */
@media (max-width: 1023px) {
  .sec, .sec--tint, .sec--tint2 { padding: 56px 0; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .sec-head--center { align-items: center; }
  .sec-note { white-space: normal; }

  .hero { padding: 48px 0 64px; }
  .hero__title { font-size: 48px; line-height: 52px; }
  .hero__text { font-size: 17px; line-height: 27px; }
  .trip { padding: 28px 24px 24px; }
  .trip__grid { grid-template-columns: 1fr 1fr; }
  .trip__bar { flex-direction: column; align-items: stretch; }
  .trip__trust { justify-content: center; flex-wrap: wrap; }
  .trip__actions > * { flex: 1; }


  .deals { grid-template-columns: 1fr 1fr; }
  .deals > :last-child { grid-column: 1 / -1; }

  .why { grid-template-columns: 1fr; gap: 32px; }
  .why__copy, .pillars { grid-column: auto; }

  .steps { gap: 16px; }
  .step { padding: 22px 16px; }

  .quote__inner { grid-template-columns: 1fr; gap: 32px; }
  .quote__copy, .qform { grid-column: auto; }
  .quote__title { font-size: 40px; line-height: 44px; max-width: none; }
}

/* =========================================================
   MOBILE  (≤767)
   ========================================================= */
@media (max-width: 767px) {
  .sec, .sec--tint, .sec--tint2 { padding: 44px 0; }
  .sec-head { margin-bottom: 22px; }
  .sec-head--center { margin-bottom: 26px; }
  .sec-title, .sec-title--lg { font-size: 24px; line-height: 30px; }
  .sec-text { font-size: 14px; line-height: 21px; }

  /* Hero */
  .hero { padding: 24px 0 40px; }
  .hero__inner { gap: 18px; }
  .hero__copy { gap: 12px; }
  .hero__title { font-size: clamp(32px, 9.6vw, 40px); line-height: 1.08; letter-spacing: -1px; }
  .hero__text { font-size: 15px; line-height: 23px; }

  .trip { padding: 18px 16px 16px; gap: 16px; border-radius: 18px; }
  .trip__head { flex-direction: column; align-items: stretch; gap: 10px; padding-bottom: 14px; }
  .seg { margin-inline: -4px; }
  .seg__opt { flex: 1 1 0; min-width: 0; }
  .seg__opt span { text-align: center; padding: 8px 2px; font-size: 12.5px; }
  .trip__grid { grid-template-columns: 1fr; gap: 10px; }
  .tfield { height: auto; gap: 8px; padding: 12px 14px; }
  .tfield__input { height: 44px; font-size: 16px; }
  .tfield--guests .guests { min-height: 44px; }
  .round-btn { width: 36px; height: 36px; font-size: 18px; }
  .chip-btn { padding: 5px 10px; font-size: 12px; line-height: 16px; }
  .trip__bar { gap: 14px; padding-top: 0; }
  .trip__trust { gap: 8px; font-size: 13px; }
  .trip__actions { flex-direction: column-reverse; gap: 10px; }
  .trip__actions > * { width: 100%; padding: 14px 16px; font-size: 15px; }

  /* Rails */
  .type-card { min-height: 0; padding: 16px 10px; }
  .type-card__img { width: 72px; height: 72px; }
  .pkg__media { height: 210px; }
  .pkg__body { padding: 16px; }
  .pkg__inc { gap: 6px; }
  .btn-sm { padding: 11px 10px; font-size: 13px; }
  .dest__media { height: 200px; }

  /* Feed */
  .feed { flex-direction: column; align-items: stretch; gap: 12px; padding: 14px 0; }
  .feed__label { align-self: center; box-shadow: none; }
  .feed__viewport { -webkit-mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent); mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent); }
  .feed__track { animation-duration: 30s; }

  /* Tabs → scrollable pills */
  .tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin: -8px calc(var(--gutter) * -1) 20px; padding: 2px var(--gutter) 8px; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs__btn { padding: 10px 16px; font-size: 13px; }

  /* Deals */
  .deals { grid-template-columns: 1fr; gap: 14px; }
  .deal { padding: 20px; }
  .deal__foot { padding-top: 18px; }
  .deal__code { padding: 9px 12px; }

  /* Why */
  .pillars { grid-template-columns: 1fr; gap: 12px; }
  .pillar { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 14px; padding: 18px; }
  .pillar__title { flex: 1; min-width: 0; }
  .pillar__text { flex-basis: 100%; }
  .link-arrow--lg { white-space: normal; }

  /* Steps → vertical timeline */
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .steps::before { content: ''; position: absolute; left: 39px; top: 40px; bottom: 40px; width: 2px; background: linear-gradient(var(--h-blue-2), var(--h-coral), var(--h-blue)); opacity: 0.25; }
  .step { flex-direction: row; align-items: flex-start; text-align: left; gap: 16px; padding: 18px 16px; }
  .step__num { width: 44px; height: 44px; margin: 0; font-size: 17px; position: relative; z-index: 1; }
  .step__text { margin-inline: 0; }

  /* Reviews */
  .sec-head .rev-score { white-space: normal; flex-wrap: wrap; }
  .review { padding: 20px; }

  /* Quote */
  .quote { padding: 48px 0; }
  .quote__title { font-size: 32px; line-height: 38px; }
  .quote__text { font-size: 15px; line-height: 23px; }
  .qform { padding: 22px 18px; }
  .qform__grid { grid-template-columns: 1fr; gap: 12px; padding: 16px 0 12px; }
  .qfield input, .qfield select { height: 48px; font-size: 16px; }
  .qfield__phone b { font-size: 15px; }
  .qform .btn--block { padding: 15px 16px; font-size: 15px; }
}

@media (max-width: 360px) {
  .hero__title { font-size: 30px; }
  .pkg__inc { grid-template-columns: repeat(2, 1fr); }
}

/* Destination dropdown (states with itineraries) */
select#tripDest:invalid { color: #8a93a0; }
select#tripDest option { color: #1c1b1b; }
select#tripDest.is-invalid { border-color: #d93025; box-shadow: 0 0 0 3px rgba(217, 48, 37, 0.12); }

/* =========================================================
   Trip builder fields — roomier layout (overrides the base rules above)
   ========================================================= */
.trip__grid { gap: 16px; }
.tfield {
  height: auto; min-height: 138px; justify-content: flex-start; gap: 10px;
  padding: 16px 18px 14px; border-radius: 16px; background: #f4f7fb; border-color: #e3e9f1;
}
.tfield:hover { border-color: #cfdae7; }
.tfield__label { align-items: center; gap: 9px; height: auto; font-size: 11.5px; line-height: 16px; letter-spacing: 0.08em; color: #5b6778; }
/* label icon in its own little tile, perfectly centred */
.tfield__label img {
  box-sizing: content-box; flex: none; width: 14px; height: 14px; padding: 6px; object-fit: contain;
  border-radius: 9px; background: #fff; box-shadow: 0 1px 2px rgba(15, 27, 45, 0.08), inset 0 0 0 1px #e3e9f1;
}
.tfield__input {
  height: 48px; padding: 0 14px; border: 1px solid #d3dbe6; border-radius: 12px; background: #fff;
  font-size: 16px; line-height: 24px; box-shadow: 0 1px 2px rgba(15, 27, 45, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.tfield__input:hover { border-color: #b9c6d6; }
.tfield__input:focus { border-color: var(--h-blue-2); box-shadow: 0 0 0 3px rgba(35, 115, 186, 0.14); }
.tfield__select select { padding-right: 44px; }
.tfield__chev { right: 12px; }
.tfield__hint { margin-top: 2px; font-size: 12.5px; line-height: 18px; color: #6b7686; }
.tfield__chips { gap: 8px; margin-top: 2px; padding: 1px; }
.chip-btn { padding: 5px 12px; border-radius: 999px; font-size: 12px; line-height: 16px; font-weight: 700; border-color: #d3dbe6; }
/* guests: same box as the inputs, with the − / + inside */
.tfield--guests .guests {
  height: 48px; padding: 0 7px 0 14px; border: 1px solid #d3dbe6; border-radius: 12px; background: #fff;
  box-shadow: 0 1px 2px rgba(15, 27, 45, 0.04);
}
.guests__btns { gap: 8px; }
.round-btn { width: 32px; height: 32px; padding: 0; line-height: 0; background: #f4f7fb; border-color: #d3dbe6; }
.round-btn svg { display: block; }
.round-btn:hover:not(:disabled) { background: var(--h-blue-2); border-color: var(--h-blue-2); color: #fff; }
.guests-pop__ctrl .round-btn { width: 34px; height: 34px; }

@media (max-width: 1023px) {
  .trip__grid { gap: 14px; }
}
@media (max-width: 767px) {
  .trip__grid { gap: 12px; }
  .tfield { min-height: 0; gap: 10px; padding: 14px 16px; }
  .tfield__input, .tfield--guests .guests { height: 48px; }
  .round-btn { width: 36px; height: 36px; }
  .chip-btn { padding: 6px 12px; font-size: 12.5px; }
}
/* chips wrap instead of being cut at the edge */
.tfield__chips { flex-wrap: wrap; overflow: visible; }
.chip-btn { padding: 4px 11px; }
.tfield__chips { gap: 6px; }
.chip-btn { padding: 4px 9px; font-size: 11.5px; }
@media (max-width: 767px) { .chip-btn { padding: 6px 12px; font-size: 12.5px; } .tfield__chips { gap: 8px; } }
/* narrow 4-column range: two quick chips fit, the rest are in the dropdown */
@media (min-width: 1024px) and (max-width: 1239px) { .tfield__chips .chip-btn:nth-child(n+3) { display: none; } }

/* =========================================================
   Layout options (Admin → How It Works / Why Qurikvoy)
   --n = cards per row on computers, --nt = on tablets (set by the page)
   ========================================================= */
.steps--row, .steps--grid { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }
.steps--row { gap: 20px; }
.steps--row .step { padding: 24px 18px; }
.pillars--c1 { grid-template-columns: minmax(0, 1fr); }
.why--row { grid-template-columns: minmax(0, 1fr); gap: 36px; }
.why--row .why__copy { grid-column: auto; align-items: center; max-width: 760px; margin: 0 auto; text-align: center; }
.why--row .pillars { grid-column: auto; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1023px) {
  .steps--row, .steps--grid, .why--row .pillars { grid-template-columns: repeat(var(--nt), minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .steps--row, .steps--grid, .why--row .pillars, .pillars--c1 { grid-template-columns: minmax(0, 1fr); }
}
