/* Kayak homepage prototype — scoped .kyk-* only. No Lokrio overrides. */
:root {
  --kyk-orange: #ff6900;
  --kyk-orange-hover: #e85f00;
  --kyk-bg: #f0f3f5;
  --kyk-ink: #1a1a1a;
  --kyk-muted: #6b7280;
  --kyk-line: #e5e7eb;
  --kyk-meta: #e9edf2;
  --kyk-meta-hover: #e9edf2;
  --kyk-meta-line: #d5dbe3;
  --kyk-seg-divider: #e5e7eb;
  --kyk-bar-h: 56px;
  --kyk-r: 8px;
  --kyk-max: 1180px;
  --kyk-font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body.kyk-body {
  margin: 0;
  padding: 0;
  background: #fff;
  color: var(--kyk-ink);
  font-family: var(--kyk-font);
  -webkit-font-smoothing: antialiased;
}

.kyk-preview-banner {
  display: none !important;
}

/* ── Header (hidden on desktop until search docks) ── */
.kyk-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #e8ecf0;
}

.kyk-header-inner {
  max-width: var(--kyk-max);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  min-height: 64px;
  width: 100%;
}

.kyk-header--docked {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.kyk-header--docked .kyk-header-inner {
  padding-top: 8px;
  padding-bottom: 8px;
}

.kyk-header-left {
  grid-column: 1;
}

.kyk-header-center {
  grid-column: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.kyk-header-right {
  grid-column: 3;
}

.kyk-header-center[hidden] {
  display: none !important;
}

@media (min-width: 769px) {
  body:not(.kyk-search-is-docked) #kykHeader {
    display: none;
  }

  .kyk-hero-topbar {
    grid-column: 1 / -1;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 14px;
  }

  body.kyk-search-is-docked .kyk-hero-topbar {
    display: none;
  }

  .kyk-hero-left {
    grid-column: 1;
    grid-row: 2;
  }

  .kyk-collage {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
  }

  .kyk-hero-visual {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
  }
}

.kyk-hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.kyk-header .kyk-logo .kyk-site-logo,
.kyk-header .kyk-logo .lokrio-logo.kyk-site-logo,
.kyk-header .kyk-logo .lokrio-logo:not(.lokrio-logo-hero) {
  height: auto;
  max-height: var(--lokrio-logo-nav-h, 64px);
  max-width: var(--lokrio-logo-nav-w, 280px);
  width: auto;
  object-fit: contain;
  background: transparent;
}

.kyk-search-dock--docked {
  width: min(760px, 100%);
  margin: 0 auto;
  min-width: 0;
}

.kyk-search-dock--docked .kyk-tabs {
  margin-bottom: 8px;
  gap: 6px;
}

.kyk-search-dock--docked .kyk-tabs button {
  width: 48px;
  height: 48px;
  font-size: 10px;
}

.kyk-search-dock--docked .kyk-tabs button .kyk-tab-ico {
  width: 18px;
  height: 18px;
}

.kyk-search-dock--docked .kyk-trip {
  display: none !important;
}

.kyk-search-dock--docked .kyk-search {
  --kyk-bar-h: 48px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.kyk-search-dock--docked .kyk-seg-val,
.kyk-search-dock--docked .kyk-date-display {
  font-size: 14px;
}

.kyk-search-dock--docked .kyk-search-btn {
  min-width: 92px;
  font-size: 15px;
}

body.kyk-search-is-docked .kyk-hero h1 {
  transition: opacity 0.2s ease;
}

.kyk-header-left,
.kyk-header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.kyk-header-right {
  justify-self: end;
  justify-content: flex-end;
}

.kyk-search-anchor {
  min-height: 0;
}

.kyk-search-dock {
  width: 100%;
}

.kyk-menu {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  border-radius: 8px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #374151;
}

.kyk-menu:hover {
  background: #f3f4f6;
}

.kyk-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}

.kyk-logo .kyk-site-logo,
.kyk-logo .lokrio-logo.kyk-site-logo,
.kyk-logo .lokrio-logo:not(.lokrio-logo-hero) {
  height: auto;
  width: auto;
  max-width: var(--lokrio-logo-nav-w, 280px);
  max-height: var(--lokrio-logo-nav-h, 64px);
  object-fit: contain;
  object-position: left center;
  display: block;
  background: transparent;
}

.kyk-logo .lokrio-logo-fallback.kyk-site-logo {
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 900;
  color: var(--kyk-ink);
  letter-spacing: -0.02em;
  line-height: 1;
}

.kyk-logo-mark {
  display: none;
}

.kyk-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--kyk-line);
  border-radius: 999px;
  background: #fff;
  color: var(--kyk-ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.kyk-pill:hover {
  border-color: #d1d5db;
}

.kyk-icon-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--kyk-line);
  border-radius: 999px;
  background: #fff;
  display: grid;
  place-items: center;
  color: #374151;
  text-decoration: none;
  cursor: pointer;
}

.kyk-icon-btn:hover {
  background: #f9fafb;
}

/* ── Hero shell ── */
.kyk-hero {
  background: var(--kyk-bg);
  padding: 14px 40px 44px;
}

.kyk-hero-inner {
  max-width: var(--kyk-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  align-items: start;
}

.kyk-hero-left {
  min-width: 0;
  max-width: 780px;
}

.kyk-hero h1 {
  margin: 0 0 22px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--kyk-ink);
  white-space: nowrap;
}

.kyk-dot {
  color: var(--kyk-orange);
}

.kyk-green {
  color: #16a34a;
}

/* ── Service tabs ── */
.kyk-tabs {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 14px;
  border: 0;
  padding: 0;
}

.kyk-tabs button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #4b5563;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.kyk-tabs button .kyk-tab-ico {
  width: 22px;
  height: 22px;
  color: #6b7280;
}

.kyk-tabs button.active {
  background: var(--kyk-orange);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255, 105, 0, 0.28);
}

.kyk-tabs button.active .kyk-tab-ico {
  color: #fff;
}

.kyk-trip {
  margin: 0 0 8px 2px;
}

.kyk-trip button {
  border: 0;
  background: transparent;
  color: #374151;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
}

.kyk-trip button::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #9ca3af;
  margin-top: 2px;
}

.kyk-form[data-service]:not([data-service="bus"]) .kyk-trip {
  display: none;
}

/* ── Search bar (Kayak match: 56px, grid, hover-only gray) ── */
.kyk-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: stretch;
  width: 100%;
  height: var(--kyk-bar-h);
  min-height: var(--kyk-bar-h);
  max-height: var(--kyk-bar-h);
  background: #fff;
  border: 1px solid var(--kyk-line);
  border-radius: var(--kyk-r);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.kyk-search-route {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr);
  align-items: center;
  min-width: 0;
  height: 100%;
  column-gap: 0;
}

.kyk-seg {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
  min-width: 0;
  margin: 0;
  padding: 0 16px;
  background: #fff;
  cursor: pointer;
  transition: background 0.12s ease;
  overflow: hidden;
}

.kyk-seg-origin {
  grid-column: 1;
  padding-left: 18px;
  padding-right: 8px;
}

.kyk-city-wrap {
  flex: 1;
  min-width: 0;
  display: block;
}

.kyk-city-wrap .kyk-seg-val {
  width: 100%;
}

.kyk-search-route--single {
  grid-template-columns: minmax(0, 1fr);
}

.kyk-search-route--single .kyk-seg-dest,
.kyk-search-route--single .kyk-swap {
  display: none !important;
}

.kyk-search-route--single .kyk-seg-origin {
  grid-column: 1;
  padding-right: 14px;
}

.kyk-seg[hidden],
.kyk-swap[hidden] {
  display: none !important;
}

.kyk-seg-origin:focus-within,
.kyk-seg-dest:focus-within {
  z-index: 2;
}

.kyk-seg-dest {
  grid-column: 3;
  padding-left: 8px;
  padding-right: 14px;
}

.kyk-seg-origin:hover,
.kyk-seg-origin:focus-within,
.kyk-seg-dest:hover,
.kyk-seg-dest:focus-within {
  background: var(--kyk-meta-hover);
}

.kyk-seg-ico {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: #5c6b7a;
}

.kyk-seg-val {
  border: 0;
  outline: 0;
  background: transparent;
  font: 600 16px/1.25 var(--kyk-font);
  color: var(--kyk-ink);
  min-width: 0;
  width: 100%;
  padding: 0;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kyk-seg-val::placeholder {
  color: #6b7280;
  font-weight: 600;
  opacity: 1;
}

.kyk-seg-val:placeholder-shown {
  font-weight: 600;
}

.kyk-swap {
  grid-column: 2;
  width: 24px;
  height: 24px;
  margin: 0 auto;
  border: 1px solid var(--kyk-meta-line);
  border-radius: 999px;
  background: #fff;
  color: #6b7280;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  transition: background 0.12s ease, border-color 0.12s ease;
  z-index: 2;
  flex-shrink: 0;
}

.kyk-swap:hover {
  background: var(--kyk-meta-hover);
  border-color: #c5cdd8;
}

.kyk-swap svg {
  width: 13px;
  height: 13px;
}

/* Date + passengers — Kayak inset box (white default, gray on hover only) */
.kyk-search-meta {
  display: flex;
  align-items: stretch;
  flex: 0 0 auto;
  align-self: center;
  height: 44px;
  margin: 0 10px 0 14px;
  background: #fff;
  border: 1px solid #d5dbe3;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.kyk-search-meta .kyk-seg {
  white-space: nowrap;
  font-size: 16px;
  font-weight: 600;
  color: var(--kyk-ink);
  background: #fff;
  height: 100%;
}

.kyk-search-meta .kyk-seg:hover,
.kyk-search-meta .kyk-seg:focus-within {
  background: var(--kyk-meta-hover);
}

.kyk-seg-dates {
  min-width: 108px;
  flex: 0 0 auto;
  cursor: pointer;
  padding: 0 14px;
}

.kyk-seg-dates #kykDateText {
  display: block;
  white-space: nowrap;
  font: 600 16px/1.25 var(--kyk-font);
}

.kyk-seg-pax {
  min-width: 128px;
  flex: 0 0 auto;
  border-left: 1px solid var(--kyk-seg-divider);
  justify-content: space-between;
  gap: 8px;
  padding: 0 12px 0 14px;
}

.kyk-seg-pax select {
  border: 0;
  outline: 0;
  background: transparent;
  font: 600 16px/1.25 var(--kyk-font);
  color: var(--kyk-ink);
  appearance: none;
  min-width: 0;
  width: 100%;
  cursor: pointer;
  white-space: nowrap;
}

.kyk-seg-pax svg {
  flex: 0 0 18px;
  color: #5c6b7a;
}

.kyk-date-display {
  display: block;
  font: 600 16px/1.25 var(--kyk-font);
  color: var(--kyk-ink);
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}

.kyk-date-display--empty {
  color: #6b7280;
}

.kyk-date-field {
  cursor: pointer;
}

.kyk-date-field--open {
  z-index: 4;
  background: var(--kyk-meta-hover);
}

.kyk-cal-panel {
  display: none;
}

.kyk-cal-panel--float.open {
  display: block;
  position: fixed;
  z-index: 100090;
  background: #fff;
  border: 1px solid var(--kyk-line);
  border-radius: 14px;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.16);
  padding: 14px;
  max-height: min(420px, calc(100vh - 24px));
  overflow: auto;
}

.kyk-cal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100085;
  background: rgba(15, 23, 42, 0.28);
}

.kyk-cal-backdrop.open {
  display: block;
}

body.kyk-cal-open {
  overflow: hidden;
}

.kyk-cal-quick {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.kyk-cal-quick button {
  border: 1px solid var(--kyk-line);
  background: #f8fafc;
  color: #374151;
  border-radius: 999px;
  padding: 7px 12px;
  font: 700 12px/1 var(--kyk-font);
  cursor: pointer;
}

.kyk-cal-quick button:hover {
  border-color: var(--kyk-orange);
  color: var(--kyk-orange);
  background: #fff7f0;
}

.kyk-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 8px;
}

.kyk-cal-head b {
  font-size: 15px;
  font-weight: 800;
  color: var(--kyk-ink);
  letter-spacing: -0.02em;
}

.kyk-cal-nav {
  border: 0;
  background: #f3f4f6;
  color: #374151;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.kyk-cal-nav:hover {
  background: #fff0e6;
  color: var(--kyk-orange);
}

.kyk-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.kyk-cal-dow {
  font-size: 11px;
  font-weight: 800;
  color: #94a3b8;
  text-align: center;
  padding: 4px 0;
}

.kyk-cal-pad {
  min-height: 38px;
}

.kyk-cal-day {
  position: relative;
  border: 0;
  background: transparent;
  border-radius: 10px;
  min-height: 38px;
  font-size: 13px;
  font-weight: 700;
  color: var(--kyk-ink);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 4px 0;
}

.kyk-cal-day:hover {
  background: #fff0e6;
  color: var(--kyk-orange);
}

.kyk-cal-day.today {
  box-shadow: inset 0 0 0 2px var(--kyk-orange);
}

.kyk-cal-day.selected {
  background: var(--kyk-orange);
  color: #fff;
}

.kyk-cal-day.selected:hover {
  background: var(--kyk-orange-hover);
  color: #fff;
}

.kyk-cal-day.disabled {
  color: #d1d5db;
  cursor: not-allowed;
}

.kyk-cal-day.disabled:hover {
  background: transparent;
  color: #d1d5db;
}

.kyk-cal-dot {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--kyk-orange);
}

.kyk-cal-day.selected .kyk-cal-dot {
  background: #fff;
}

.kyk-cal-foot {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--kyk-line);
}

.kyk-cal-legend {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #6b7280;
}

.kyk-cal-legend i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--kyk-orange);
}

.kyk-date-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.kyk-search-btn {
  height: 100%;
  min-height: var(--kyk-bar-h);
  min-width: 104px;
  border: 0;
  margin: 0;
  padding: 0 22px;
  background: var(--kyk-orange);
  color: #fff;
  font: 700 16px/1 var(--kyk-font);
  cursor: pointer;
  align-self: stretch;
  border-radius: 0;
}

.kyk-search-btn:hover {
  background: var(--kyk-orange-hover);
}

/* ── Collage ── */
.kyk-collage {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: 92px 92px 92px;
  gap: 8px;
  width: 100%;
}

.kyk-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  display: block;
  background: #dde3ea;
}

.kyk-collage .c1 {
  grid-row: 1 / 3;
  grid-column: 1;
}

.kyk-collage .c2 {
  grid-row: 1;
  grid-column: 2;
}

.kyk-collage .c3 {
  grid-row: 2;
  grid-column: 2;
}

.kyk-collage .c4 {
  grid-row: 3;
  grid-column: 1;
}

.kyk-collage .c5 {
  grid-row: 3;
  grid-column: 2;
}

/* ── Trip builder CTA (below hero collage) ── */
.kyk-hero-visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.kyk-tb-cta {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 96px;
  padding: 14px 16px 14px 14px;
  border-radius: 22px;
  text-decoration: none !important;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 120% at 0% 100%, rgba(255, 104, 21, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(52, 211, 153, 0.12), transparent 50%),
    linear-gradient(145deg, #1a2744 0%, #0f172a 48%, #111827 100%);
  border: 1px solid rgba(255, 104, 21, 0.4);
  box-shadow:
    0 14px 36px rgba(15, 23, 42, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 28px rgba(255, 104, 21, 0.12);
  transition: transform 0.28s cubic-bezier(0.34, 1.2, 0.64, 1), box-shadow 0.28s, border-color 0.28s;
  animation: kykTbFloat 5s ease-in-out infinite;
}

@keyframes kykTbFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.kyk-tb-cta:hover {
  animation: none;
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(255, 104, 21, 0.75);
  box-shadow:
    0 22px 48px rgba(255, 104, 21, 0.28),
    0 12px 32px rgba(15, 23, 42, 0.24),
    0 0 40px rgba(255, 104, 21, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.kyk-tb-cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(18px);
  pointer-events: none;
  opacity: 0.55;
}

.kyk-tb-cta-orb-a {
  width: 90px;
  height: 90px;
  left: -20px;
  bottom: -30px;
  background: #ff6815;
  animation: kykTbOrbA 6s ease-in-out infinite;
}

.kyk-tb-cta-orb-b {
  width: 70px;
  height: 70px;
  right: 40px;
  top: -25px;
  background: #34d399;
  animation: kykTbOrbB 7s ease-in-out infinite;
}

@keyframes kykTbOrbA {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.45; }
  50% { transform: translate(8px, -6px) scale(1.15); opacity: 0.7; }
}

@keyframes kykTbOrbB {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.35; }
  50% { transform: translate(-10px, 8px) scale(1.2); opacity: 0.55; }
}

.kyk-tb-cta-border {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, rgba(255, 104, 21, 0.9), rgba(251, 191, 36, 0.5), rgba(52, 211, 153, 0.6), rgba(255, 104, 21, 0.9));
  background-size: 260% 260%;
  animation: kykTbBorder 4s linear infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.75;
}

@keyframes kykTbBorder {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.kyk-tb-cta-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.11) 48%,
    transparent 62%
  );
  transform: translateX(-130%);
  animation: kykTbShine 3.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes kykTbShine {
  0%, 65% { transform: translateX(-130%); }
  100% { transform: translateX(130%); }
}

.kyk-tb-cta-graphic {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 116px;
  height: 72px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.kyk-tb-scene {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.kyk-tb-lane {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 18px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 104, 21, 0.15), rgba(255, 104, 21, 0.55), rgba(52, 211, 153, 0.55));
  box-shadow: 0 0 12px rgba(255, 104, 21, 0.25);
}

.kyk-tb-lane::after {
  content: '';
  position: absolute;
  inset: -1px 0;
  background: repeating-linear-gradient(90deg, transparent 0 10px, rgba(255, 255, 255, 0.35) 10px 18px);
  animation: kykTbLaneMove 1.2s linear infinite;
  border-radius: inherit;
}

@keyframes kykTbLaneMove {
  from { transform: translateX(0); }
  to { transform: translateX(18px); }
}

.kyk-tb-move {
  position: absolute;
  top: var(--lane-y, 30px);
  left: -28px;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.22);
  animation: kykTbConvoy 6.6s linear infinite;
  animation-delay: var(--delay, 0s);
}

.kyk-tb-move svg {
  width: 15px;
  height: 15px;
  display: block;
}

.kyk-tb-move-bus { background: linear-gradient(145deg, #3b82f6, #1d4ed8); }
.kyk-tb-move-hotel { background: linear-gradient(145deg, #10b981, #059669); }
.kyk-tb-move-flight { background: linear-gradient(145deg, #8b5cf6, #6d28d9); }
.kyk-tb-move-holiday { background: linear-gradient(145deg, #f59e0b, #d97706); }
.kyk-tb-move-cab { background: linear-gradient(145deg, #06b6d4, #0891b2); }
.kyk-tb-move-activity { background: linear-gradient(145deg, #ec4899, #db2777); }

@keyframes kykTbConvoy {
  0% { transform: translateX(0) scale(0.85); opacity: 0; }
  6% { opacity: 1; transform: translateX(18px) scale(1); }
  88% { opacity: 1; transform: translateX(132px) scale(1); }
  100% { transform: translateX(150px) scale(0.9); opacity: 0; }
}

.kyk-tb-cta-copy {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.kyk-tb-cta-copy strong {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  background: linear-gradient(90deg, #fff 0%, #fde68a 45%, #fff 90%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: kykTbTitle 4s linear infinite;
}

@keyframes kykTbTitle {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.kyk-tb-cta-copy small {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.35;
}

.kyk-tb-cta-go {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #ff7a2e, #ea580c);
  box-shadow: 0 6px 18px rgba(255, 104, 21, 0.45);
  transition: transform 0.25s cubic-bezier(0.34, 1.2, 0.64, 1);
  animation: kykTbBtnPulse 2.2s ease-in-out infinite;
}

.kyk-tb-cta-go-ring {
  position: absolute;
  inset: -4px;
  border-radius: 18px;
  border: 2px solid rgba(255, 104, 21, 0.45);
  animation: kykTbRing 2.2s ease-out infinite;
  pointer-events: none;
}

@keyframes kykTbBtnPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes kykTbRing {
  0% { transform: scale(0.92); opacity: 0.8; }
  100% { transform: scale(1.35); opacity: 0; }
}

.kyk-tb-cta:hover .kyk-tb-cta-go {
  animation: none;
  transform: translateX(3px) scale(1.08);
}

.kyk-tb-cta:hover .kyk-tb-cta-copy strong {
  animation-duration: 2s;
}

/* ── Value cards ── */
.kyk-value {
  background: #fff;
  border-bottom: 1px solid #f0f2f5;
  padding: 8px 40px 48px;
}

.kyk-value-inner {
  max-width: var(--kyk-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.kyk-value-card {
  background: #fff;
  border: 1px solid #eceef2;
  border-radius: 20px;
  padding: 28px 24px 30px;
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.06);
  text-align: center;
}

.kyk-value-logos {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.kyk-value-logos span {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7280;
  background: #f3f4f6;
  border-radius: 6px;
  padding: 6px 10px;
}

.kyk-value-stat {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--kyk-ink);
  line-height: 1;
  margin-bottom: 14px;
}

.kyk-value-stars {
  font-size: 28px;
  letter-spacing: 2px;
  color: #f59e0b;
  margin-bottom: 14px;
  line-height: 1;
}

.kyk-value-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.kyk-value-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--kyk-muted);
  font-weight: 500;
}

/* ── Deals ── */
.kyk-deals {
  max-width: var(--kyk-max);
  margin: 0 auto;
  padding: 40px 40px 56px;
}

.kyk-deals-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.kyk-deals-head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.kyk-deals-head a {
  font-size: 14px;
  font-weight: 700;
  color: var(--kyk-ink);
  text-decoration: none;
  white-space: nowrap;
}

.kyk-deals-head a:hover {
  color: var(--kyk-orange);
}

.kyk-deals-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 2px 20px;
  scroll-snap-type: x mandatory;
}

.kyk-deals-panel[hidden] {
  display: none !important;
}

.kyk-deal {
  flex: 0 0 220px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid #eceef2;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s, transform 0.15s;
}

.kyk-deal:hover {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}

.kyk-deal-photo {
  height: 130px;
  background: #e5e7eb;
  overflow: hidden;
}

.kyk-deal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.kyk-deal-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.kyk-deal-body b {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.kyk-deal-body span {
  font-size: 12px;
  color: var(--kyk-muted);
  font-weight: 500;
}

.kyk-deal-body em {
  font-style: normal;
  font-size: 14px;
  font-weight: 800;
  margin-top: 4px;
}

/* ── Continue planning (recent searches) ── */
.kyk-continue {
  margin-top: 18px;
  padding-top: 4px;
}

.kyk-continue-head h2 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--kyk-ink);
}

.kyk-continue-head p {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--kyk-muted);
}

.kyk-continue-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.kyk-continue-card {
  flex: 0 0 auto;
  min-width: 168px;
  max-width: 220px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  text-decoration: none !important;
  color: var(--kyk-ink) !important;
  transition: border-color 0.12s ease, box-shadow 0.12s ease, transform 0.12s ease;
}

.kyk-continue-card:hover {
  border-color: #ff6815;
  box-shadow: 0 10px 24px rgba(255, 104, 21, 0.14);
  transform: translateY(-1px);
}

.kyk-continue-svc {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ff6815;
}

.kyk-continue-title {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kyk-continue-meta {
  font-size: 12px;
  font-weight: 600;
  color: var(--kyk-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 768px) {
  .kyk-continue {
    margin-top: 14px;
  }

  .kyk-continue-card {
    min-width: 150px;
  }
}

/* ── City planner (compact 4-column) ── */
.kyk-cities {
  background: #fff;
  border-top: 1px solid #eceef2;
  padding: 32px 40px 44px;
}

.kyk-cities-inner {
  max-width: var(--kyk-max);
  margin: 0 auto;
}

.kyk-cities h2 {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--kyk-ink);
}

.kyk-cities-sub {
  margin: 0 0 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--kyk-muted);
}

.kyk-cities-sub a {
  color: #2874e0;
  font-weight: 700;
  text-decoration: none;
}

.kyk-cities-sub a:hover {
  text-decoration: underline;
}

.kyk-cities-grid--4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 28px;
  row-gap: 0;
  border-top: 1px solid #eceef2;
}

.kyk-city-cell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  padding: 9px 0;
  border-bottom: 1px solid #eceef2;
  text-decoration: none;
  color: var(--kyk-ink);
  transition: color 0.12s ease;
}

.kyk-city-cell:hover {
  color: #2874e0;
}

.kyk-city-cell-name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kyk-city-cell--featured .kyk-city-cell-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--kyk-ink);
}

.kyk-city-cell:hover .kyk-city-cell-name {
  color: #2874e0;
}

.kyk-city-cell-tag {
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #2874e0;
  opacity: 0.9;
}

@media (max-width: 1024px) {
  .kyk-hero-inner {
    grid-template-columns: 1fr;
  }

  .kyk-hero-left {
    max-width: none;
  }

  .kyk-seg-origin,
  .kyk-seg-dest {
    min-width: 0;
    flex: 1 1 0;
  }

  .kyk-collage {
    max-width: 480px;
    margin: 0 auto;
  }

  .kyk-hero-visual {
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }

  .kyk-value-inner {
    grid-template-columns: 1fr;
  }

  .kyk-hero h1 {
    white-space: normal;
  }

  .kyk-cities-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
  }
}

@media (max-width: 768px) {
  .kyk-header {
    display: block;
    height: 56px;
    min-height: 56px;
  }

  .kyk-header-inner {
    display: flex;
    justify-content: space-between;
    padding: 0 16px;
    min-height: 56px;
    gap: 12px;
  }

  .kyk-hero-topbar {
    display: none;
  }

  .kyk-header-center {
    display: none !important;
  }

  .kyk-hero,
  .kyk-value,
  .kyk-deals,
  .kyk-cities {
    padding-left: 16px;
    padding-right: 16px;
  }

  .kyk-pill span.kyk-pill-label {
    display: none;
  }

  .kyk-search {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
    gap: 0;
  }

  .kyk-search-route {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    position: relative;
    background: #fff;
    border: 1px solid var(--kyk-line);
    border-radius: var(--kyk-r);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 8px;
    overflow: hidden;
  }

  .kyk-seg-origin,
  .kyk-seg-dest,
  .kyk-swap {
    grid-column: auto;
  }

  .kyk-search-meta {
    flex-direction: column;
    border: 1px solid var(--kyk-line);
    border-radius: var(--kyk-r);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    height: auto;
    margin: 0 0 8px;
    align-self: stretch;
  }

  .kyk-seg {
    height: 52px;
    border-bottom: 1px solid #eef2f7;
  }

  .kyk-seg:last-child {
    border-bottom: 0;
  }

  .kyk-seg-pax {
    border-left: 0;
    border-top: 1px solid var(--kyk-meta-line);
  }

  .kyk-swap {
    position: absolute;
    right: 12px;
    top: 52px;
    z-index: 2;
  }

  .kyk-search-route {
    position: relative;
  }

  .kyk-search-btn {
    width: 100%;
    height: 52px;
    border-radius: var(--kyk-r);
  }

  .kyk-trip {
    margin: 0 0 10px 2px;
  }

  .kyk-seg-origin .kyk-seg-val,
  .kyk-seg-dest .kyk-seg-val,
  .kyk-search-route .fdesk-city-input {
    display: block;
    width: 100%;
    min-height: 22px;
    font-size: 16px;
    line-height: 1.3;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .kyk-seg-origin,
  .kyk-seg-dest {
    min-height: 52px;
    align-items: center;
  }

  .kyk-seg-dates {
    cursor: pointer;
    min-height: 52px;
    display: flex;
    align-items: center;
  }

  .kyk-seg-pax select {
    width: 100%;
    font-size: 16px;
    border: 0;
    background: transparent;
    appearance: auto;
  }

  #fdesk-city-float-root {
    max-width: calc(100vw - 24px) !important;
  }

  .kyk-cities-grid--4 {
    grid-template-columns: 1fr;
  }
}

/* ── Footer ── */
.kyk-footer {
  margin-top: 48px;
  background: #fff;
  border-top: 1px solid var(--kyk-line);
}

.kyk-footer-cta {
  background: linear-gradient(135deg, #1a2332 0%, #0f1724 100%);
  color: #fff;
}

.kyk-footer-cta-inner {
  max-width: var(--kyk-max);
  margin: 0 auto;
  padding: 28px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.kyk-footer-cta-copy {
  display: grid;
  gap: 4px;
}

.kyk-footer-cta-copy strong {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.kyk-footer-cta-copy span {
  color: #b8c5d6;
  font-size: 14px;
  font-weight: 500;
}

.kyk-footer-cta-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.kyk-footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.kyk-footer-cta-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
}

.kyk-footer-cta-btn--primary {
  background: var(--kyk-orange);
  border-color: var(--kyk-orange);
}

.kyk-footer-cta-btn--primary:hover {
  background: var(--kyk-orange-hover);
  border-color: var(--kyk-orange-hover);
}

.kyk-footer-main {
  background: var(--kyk-bg);
}

.kyk-footer-grid {
  max-width: var(--kyk-max);
  margin: 0 auto;
  padding: 48px 40px 40px;
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 1.15fr;
  gap: 36px;
  align-items: start;
}

.kyk-footer-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
  margin-bottom: 12px;
}

.kyk-footer-logo .kyk-footer-site-logo,
.kyk-footer-logo img {
  max-height: 40px;
  max-width: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.kyk-footer-tagline {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--kyk-orange);
  letter-spacing: 0.02em;
}

.kyk-footer-about {
  margin: 0 0 18px;
  max-width: 300px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--kyk-muted);
  font-weight: 500;
}

.kyk-footer-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.kyk-footer-trust span {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--kyk-line);
  font-size: 11px;
  font-weight: 700;
  color: #374151;
  letter-spacing: 0.02em;
}

.kyk-footer-heading {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--kyk-ink);
}

.kyk-footer-links {
  display: grid;
  gap: 11px;
}

.kyk-footer-links a {
  color: #374151;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.15s ease;
}

.kyk-footer-links a:hover {
  color: var(--kyk-orange);
}

.kyk-footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.kyk-footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.kyk-footer-contact-ico {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--kyk-line);
  display: grid;
  place-items: center;
  color: var(--kyk-orange);
}

.kyk-footer-contact a,
.kyk-footer-address {
  display: block;
  color: var(--kyk-ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.kyk-footer-contact a:hover {
  color: var(--kyk-orange);
}

.kyk-footer-contact small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 600;
  color: var(--kyk-muted);
}

.kyk-footer-bar {
  background: #fff;
  border-top: 1px solid var(--kyk-line);
}

.kyk-footer-bar-inner {
  max-width: var(--kyk-max);
  margin: 0 auto;
  padding: 18px 40px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 600;
  color: var(--kyk-muted);
}

@media (max-width: 960px) {
  .kyk-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
    padding: 36px 24px 32px;
  }

  .kyk-footer-brand {
    grid-column: 1 / -1;
  }

  .kyk-footer-cta-inner {
    padding: 24px;
  }
}

@media (max-width: 560px) {
  .kyk-footer-grid {
    grid-template-columns: 1fr;
    padding: 32px 16px 28px;
  }

  .kyk-footer-cta-inner {
    padding: 20px 16px;
    flex-direction: column;
    align-items: stretch;
  }

  .kyk-footer-cta-actions {
    flex-direction: column;
  }

  .kyk-footer-cta-btn {
    justify-content: center;
    width: 100%;
  }

  .kyk-footer-bar-inner {
    padding: 16px;
    justify-content: center;
    text-align: center;
  }
}
