:root{
  --bg: #f7fafc;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;

  --btn: #35c8b7;

  --shadow: 0 18px 40px rgba(2, 6, 23, .10);
  --shadow2: 0 10px 24px rgba(2, 6, 23, .08);

  --container-pad: 14px; /* mobile-safe side padding */

  /* ✅ floating swap button sizing */
  --swap-size: 34px;
  --swap-size-mobile: 32px;
  --swap-float-y: -2px; /* make it feel slightly "over" the fields */
}

*{ box-sizing: border-box; }
html{
  height: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
}
body{
  height: 100%;
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
}

/* NAV (FULL WIDTH, MOBILE FRIENDLY) */
.nav{
  position: relative;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav__inner{
  width: 100%;
  max-width: none;
  margin: 0;
  display: flex;
  align-items: center;
  padding: 10px 20px;
  gap: 10px;
  position: relative;
}

.brand{
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin-right: 30px;
}

/* logo sizing */
.brand__logo{
  height: 46px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  display: block;
}

.nav__menu{
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav__right{
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link{
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
  padding: 7px 10px;
  border-radius: 10px;
  transition: background .15s ease, color .15s ease;
  white-space: nowrap;
}

.nav__link:hover{ background: #f1f5f9; }
.nav__link.is-active{
    color: #007bff;
    background: #007bff24;
}

.nav__chip{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  font-size: 13px;
  height: 36px;
}

.nav__help{
  color: var(--muted);
  font-weight: 700;
}

/* Android App Badge - Google Play Style */
.nav__appBadge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  position: relative;
}
.nav__appBadge img{
  height: 40px;
  width: auto;
  display: block;
}
.nav__appSoon{
  position: absolute;
  top: -6px;
  right: -8px;
  background: #f78d2d;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 3px 6px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(255,125,0,.4);
}
@media (max-width: 600px){
  .nav__appBadge{ display: none; }
}

/* Buttons */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid var(--line);
  color: var(--text);
  background: #fff;
  cursor: pointer;
  height: 36px;
}

.btn--ghost:hover{ background: #f1f5f9; }

.btn--primary{
  border: 0;
  background: var(--btn);
  color: #073b36;
  box-shadow: 0 12px 22px rgba(33,199,183,.25);
}
.btn--primary:hover{ filter: brightness(.98); }

.icon{ line-height: 1; }

/* HERO */
.hero{
  position: relative;
  overflow: visible;
  min-height: 400px;
}

.hero__bg{
  position: absolute;
  inset: 0;
  height: 400px;
  overflow: hidden;
  z-index: 0;
}

.hero__img{
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.hero__inner{
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 56px var(--container-pad) 30px;
}

/* keep existing class, but remove the old max constraint effect */
.hero__content{
  max-width: none;
}

/* add spacing so title never sits behind the tabs */
.hero__title{
  margin: 0 0 12px;
  font-size: clamp(26px, 4.2vw, 44px);
  letter-spacing: -0.02em;
  font-weight: 950;
  text-transform: uppercase;
  color: #0f172a;
}

.hero__sub{
  margin: 0 0 40px;
  font-size: clamp(14px, 2vw, 17px);
  color: #475569;
  font-weight: 600;
  max-width: 600px;
  line-height: 1.5;
  padding-bottom: 10px;
}

@media (max-width: 560px){
  .hero__title{
    margin-bottom: 5px;
  }
}

/* SEARCH CARD */
.searchCard{
  position: relative;
  z-index: 50;
  background: var(--card);
  box-shadow: var(--shadow);
  padding: 20px 14px 14px;
  
    border-top-right-radius: 5px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

/* Tabs */
.searchTabs{
  position: absolute;
  top: -38px;
  left: 0;
  display: flex;
  align-items: flex-end;
}

.searchTab{
  height: 38px;
  padding: 0 14px;
  border: 1px solid #ffffff00;
  background: #f1f5f9;
  color: var(--text);
  font-weight: 900;
  font-size: 13px;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}

.searchTab:hover{ background: #eaf0f7; }

.searchTab.is-active{
  background: #fff;
  border-bottom-color: #ffffff00;
}

/* Panels */
.searchPanels{ display: block; }
.searchPanel[hidden]{ display: none; }

.emptyPanel{
  border: 1px dashed rgba(226,232,240,.95);
  background: #fff;
  border-radius: 10px;
  padding: 18px;
}

.emptyPanel__title{
  font-weight: 900;
  font-size: 16px;
  margin-bottom: 6px;
}

.emptyPanel__text{
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.45;
}

/* Coming Soon Panels */
.emptyPanel--coming{
  text-align: center;
  padding: 40px 24px;
  background: linear-gradient(135deg, #fefce8 0%, #fef3c7 100%);
  border: 2px dashed #fbbf24;
}
.emptyPanel__icon{
  font-size: 48px;
  margin-bottom: 12px;
}
.emptyPanel--coming .emptyPanel__title{
  font-size: 20px;
  color: #92400e;
  margin-bottom: 10px;
}
.emptyPanel--coming .emptyPanel__text{
  font-size: 14px;
  max-width: 400px;
  margin: 0 auto;
  color: #a16207;
}

.searchCard__form{
  display: grid;
  gap: 12px;
}

.searchCard__row{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.searchCard__row--top{ gap: 8px; }

.pill{
  display: inline-flex;
  align-items: center;
  background: #fff;
  height: 44px;
  padding: 0 10px;
}

.pill__control{
  border: none;
  outline: none;
  font-weight: 800;
  background: transparent;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  height: 44px;
}

/* ✅ Inputs row (desktop default) */
.searchCard__row--inputs{
  display: grid;
  grid-template-columns: minmax(420px, 2.4fr) .95fr .95fr auto;
  gap: 10px;
  align-items: stretch;
  width: 100%;
}

/* Field base */
.field{
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 3px;
  padding: 10px 12px;
  min-height: 64px;
}

.field__label{
  font-size: 12px;
  color: var(--muted);
  font-weight: 800;
}

.field__control{
  border: none;
  outline: none;
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  width: 100%;
}

.field:focus-within{
  border-color: rgba(33,199,183,.65);
  box-shadow: 0 0 0 4px rgba(33,199,183,.12);
}

/* Explore button */
.btn--explore{
    height: 64px;
    min-width: 170px;
    padding: 0 28px;
    border-radius: 3px;
    justify-content: center;
    width: 100%;
    background: #f78d2d;
    color: white;
    font-size: medium;
    box-shadow: 0 12px 22px rgba(255,125,0,.25);
}

/* Mobile nav */
.nav__burger{
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  height: 40px;
  width: 44px;
  cursor: pointer;
  padding: 8px 10px;
  margin-left: auto;
  position: relative;
  z-index: 60;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.nav__burger span{
  display: block;
  height: 2px;
  background: #0f172a;
  margin: 5px 0;
  border-radius: 2px;
}

/* Mobile nav responsive */
@media (max-width: 900px){
  .nav__burger{ display: inline-block; order: 99; margin-left: 0; }

  .nav__menu{
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 62px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 10px 12px;
    box-shadow: var(--shadow2);
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    z-index: 55;
  }
  .nav__menu.is-open{ display: flex; }

  .nav__right .nav__help{ display: none; }
  .nav__right{
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    order: 98;
  }
  .nav__burger{
    margin-left: 0;
  }
}

/* =========================
   ✅ Floating From/To + Swap
========================= */
.swapWrap{
  position: relative;
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: stretch;
  overflow: visible;
}

/* the round floating button */
.swapBtn{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, calc(-50% + var(--swap-float-y)));
  width: var(--swap-size);
  height: var(--swap-size);
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 12px 24px rgba(2,6,23,.14);
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  margin: 0;
  z-index: 6;
  touch-action: manipulation;
}

.swapBtn:hover{ background: #f8fafc; }

.swapBtn:active{
  transform: translate(-50%, calc(-50% + var(--swap-float-y))) scale(.98);
}

.swapBtn:focus-visible{
  outline: none;
  box-shadow: 0 0 0 4px rgba(33,199,183,.16), 0 12px 24px rgba(2,6,23,.14);
}

.swapBtn__icon{
  font-size: 15px;
  font-weight: 950;
  line-height: 1;
  color: #0f172a;
}

/* =========================
   Small phones: single-column + swap stays floating between stacked fields
========================= */
@media (max-width: 560px){
  .nav__right .nav__chip{ display: none; }

  .hero{ min-height: 640px; }
  .hero__inner{ padding-top: 44px; }
  .hero__title{ margin-bottom: 4px; }

  .searchTabs{ flex-wrap: wrap; }
  .searchTab{ padding: 0 12px; }

  /* .searchCard{ padding-top: 44px; } */

  .searchCard__row--inputs{
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .swapWrap{
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .swapBtn{
    width: var(--swap-size-mobile);
    height: var(--swap-size-mobile);
  }

  .swapBtn__icon{ font-size: 15px; }

  .field{ min-height: 60px; }
  .btn--explore{ height: 52px; }
  
  
  
    #departField,
  #returnField{
    grid-column: 1 / -1;
  }
}

/* =========================
   Tablet: swapWrap full row, dates side-by-side, explore full width
========================= */
@media (max-width: 980px){
  .searchCard__row--inputs{
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .swapWrap{ grid-column: 1 / -1; }

  .btn--explore{
    grid-column: 1 / -1;
    height: 52px;
    min-width: 0;
  }
}

/* =========================
   TOP DEALS (5 cards desktop)
========================= */
.deals{
  padding: 18px 0 70px;
  background: linear-gradient(180deg, rgba(247,250,252,1) 0%, rgba(255,255,255,1) 55%, rgba(247,250,252,1) 100%);
}

.deals__inner{
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.deals__head{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  margin: 12px 0 14px;
}

.deals__title{
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.02em;
}

.deals__sub{
  margin: 6px 0 0;
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
  line-height: 1.35;
  max-width: 560px;
}

.deals__link{
  text-decoration: none;
  font-weight: 950;
  font-size: 13px;
  color: #0b766c;
  background: rgba(53,200,183,.14);
  border: 1px solid rgba(53,200,183,.26);
  padding: 10px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.deals__link:hover{ filter: brightness(.98); }

.dealGrid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 4px;
}
/* First card = hero: spans 2 cols × 2 rows */
.dealGrid > .dealCard:first-child{
  grid-column: span 2;
  grid-row: span 2;
}

.dealCard{
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 6px;
  min-height: 0;

  text-decoration: none;
  color: #fff;

  border: none;
  box-shadow: none;
  transform: translateY(0);
  transition: filter .18s ease;
}

.dealCard:hover{
  transform: none;
  box-shadow: none;
  filter: brightness(1.06);
}

.dealCard__media{
  position: absolute;
  inset: 0;
  z-index: 0;
}

.dealCard__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.03);
  filter: contrast(1.04) saturate(1.05);
}

.dealCard__media::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,.08) 0%, rgba(15,23,42,.55) 50%, rgba(15,23,42,.88) 100%);
}

.dealCard__content{
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
}

.dealCard__meta{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 10px 12px;
  pointer-events: none;
}

.dealCard__pill{
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 4px;
  background: #f78d2d;
  color: #fff;
  border: none;
  font-weight: 900;
  font-size: 10px;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.dealCard__date{
  font-size: 13px;
  font-weight: 900;
  opacity: 1;
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
}

.dealCard__route{
  font-weight: 1000;
  letter-spacing: -0.02em;
  font-size: clamp(13px, 1.1vw, 16px);
  text-shadow: 0 1px 8px rgba(2,6,23,.4);
  line-height: 1.2;
}

.dealCard__kicker{
  font-size: 11px;
  font-weight: 800;
  opacity: .85;
  color: rgba(255,255,255,.88);
}

.dealCard__bottom{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  margin-top: 2px;
}

.dealCard__price{
  font-weight: 1000;
  letter-spacing: -0.02em;
  font-size: clamp(15px, 1.4vw, 20px);
  text-shadow: 0 1px 10px rgba(2,6,23,.5);
}

.dealCard__from{
  font-size: 11px;
  font-weight: 800;
  opacity: .85;
  margin-right: 4px;
}

.dealCard__cta{
  height: 30px;
  padding: 0 10px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 11px;
  color: #fff;
  background: rgba(53,200,183,.85);
  border: none;
  box-shadow: none;
}

/* Hero card gets larger text */
.dealGrid > .dealCard:first-child .dealCard__route{
  font-size: clamp(16px, 1.8vw, 22px);
}
.dealGrid > .dealCard:first-child .dealCard__price{
  font-size: clamp(18px, 2vw, 26px);
}
.dealGrid > .dealCard:first-child .dealCard__pill{
  height: 28px;
  padding: 0 12px;
  font-size: 11px;
}
.dealGrid > .dealCard:first-child .dealCard__date{
  font-size: 15px;
}
.dealGrid > .dealCard:first-child .dealCard__cta{
  height: 34px;
  padding: 0 14px;
  font-size: 12px;
}

@media (max-width: 1100px){
  .dealGrid{ grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; }
  .dealGrid > .dealCard:first-child{ grid-column: span 2; grid-row: span 2; }
}
@media (max-width: 760px){
  .dealGrid{ grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .dealGrid > .dealCard:first-child{ grid-column: span 2; grid-row: span 1; }
  .deals__head{ align-items: flex-start; }
}
@media (max-width: 520px){
  .dealGrid{ grid-template-columns: 1fr; grid-auto-rows: 180px; }
  .dealGrid > .dealCard:first-child{ grid-column: span 1; grid-row: span 1; }
  .deals__head{ flex-direction: column; }
  .deals__link{ width: fit-content; }
}

/* =========================
   Places Autocomplete + Chips (clean)
========================= */
.field{ position: relative; }

.ac-menu{
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 999999;

  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow2);

  max-height: 280px;
  overflow: hidden;
  overflow-y: auto;

  display: none;
}
.ac-menu.is-open{ display: block; }

.ac-item{
  padding: 10px 12px;
  cursor: pointer;
  display: grid;
  gap: 2px;
}
.ac-item:hover,
.ac-item.is-active{ background: #f1f5f9; }

.ac-item.is-disabled{
  cursor: default;
  background: #fff;
  opacity: .85;
}

.ac-title{ font-weight: 900; font-size: 13px; }
.ac-sub{ font-size: 12px; color: var(--muted); font-weight: 750; }

.ac-sep{
  height: 1px;
  background: rgba(226,232,240,.9);
}

/* Inline From/To (label + value same row) */
.field--inline{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;

  width: 100%;
  min-width: 0;
  overflow: visible;
}

.field--inline .field__label{
  margin: 0;
  flex: 0 0 auto;
  white-space: nowrap;
}

.field--inline .field__control{
  flex: 1 1 auto;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Chips */
.field--inline .ac-chips{
  position: static;
  flex: 1 1 auto;
  min-width: 0;

  display: flex;
  flex-wrap: nowrap;
  gap: 8px;

  overflow: hidden;
}

.ac-chip{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border-radius: 5px;
  border: 1px solid rgba(53, 200, 183, .55);
  background: rgba(53, 200, 183, .18);
  color: #073b36;
  font-weight: 900;
  font-size: 12.5px;
  line-height: 1;
  max-width: 100%;
  min-width: 0;
  flex: 0 1 auto;
}

.ac-chip__label{
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ac-chip__x{
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-weight: 900;
  background: rgba(7,59,54,.12);
  color: #073b36;
  display: grid;
  place-items: center;
}
.ac-chip__x:hover{ background: rgba(7,59,54,.18); }

.field--inline.has-chips .field__control{
  flex: 0 0 1px;
  width: 1px;
  min-width: 1px;
  padding: 0;
  color: transparent;
  caret-color: transparent;
}
.field--inline.has-chips .field__control::placeholder{ color: transparent; }


/* ✅ Filters row */
.dealsFilters{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 8px 0 14px;
}

.filterBtn{
  border: 1px solid rgba(226,232,240,.95);
  background: #fff;
  color: var(--text);
  font-weight: 900;
  font-size: 12.5px;
  padding: 9px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: filter .15s ease, background .15s ease, border-color .15s ease;
}
.filterBtn:hover{ filter: brightness(.98); }

.filterBtn.is-active{
  background: rgba(53,200,183,.14);
  border-color: rgba(53,200,183,.30);
  color: #0b766c;
}

.filterToggle{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(226,232,240,.95);
  background: #fff;
  font-weight: 850;
  font-size: 12.5px;
  color: var(--muted);
}
.filterToggle input{ transform: translateY(1px); }

/* ✅ Footer button */
.deals__foot{
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.deals__more{
  border: 1px solid rgba(53,200,183,.26);
  background: rgba(53,200,183,.14);
  color: #0b766c;
  font-weight: 950;
  font-size: 13px;
  padding: 12px 16px;
  border-radius: 999px;
  cursor: pointer;
}
.deals__more:hover{ filter: brightness(.98); }

/* Skeleton loading cards */
.dealCard--skeleton{
  background: #1e293b;
  border-radius: 6px;
  overflow: hidden;
}
.dealCard--skeleton .dealCard__content{
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  justify-content: flex-end;
  height: 100%;
}
.skeleton-media{
  display: none;
}
.skeleton-line{
  height: 14px;
  border-radius: 4px;
  background: rgba(255,255,255,.12);
  position: relative;
  overflow: hidden;
}
.skeleton-line::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.08) 50%, transparent 100%);
  animation: shimmer 1.4s infinite;
}
.skeleton-line--title{ width: 55%; height: 18px; }
.skeleton-line--text{ width: 80%; }
.skeleton-line--price{ width: 35%; height: 20px; }
@keyframes shimmer{
  0%{ transform: translateX(-100%); }
  100%{ transform: translateX(100%); }
}

/* Deals error message */
.deals__error{
  text-align: center;
  padding: 32px 16px;
  color: #64748b;
  font-size: 14px;
  grid-column: 1 / -1;
}


/* =========================
   Ticket result card (one-way) — matches screenshot
========================= */
.results{
  padding: 18px 0 10px;
  background: transparent;
}
.results__inner{
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
.results__title{
  margin: 0 0 10px;
  font-weight: 950;
  letter-spacing: -0.02em;
  font-size: clamp(16px, 2.2vw, 22px);
}

/* ── Date navigation bar ── */
.dateBar{
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 14px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  overflow: hidden;
}
.dateBar__arrow{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  min-width: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #475569;
  transition: background .15s, color .15s;
  flex-shrink: 0;
}
.dateBar__arrow:hover{
  background: #e2e8f0;
  color: #0f172a;
}
.dateBar__arrow:disabled{
  opacity: .3;
  cursor: default;
  pointer-events: none;
}
.dateBar__track{
  display: flex;
  flex: 1;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.dateBar__track::-webkit-scrollbar{ display: none; }

.dateBar__pill{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1 0 0;
  min-width: 80px;
  padding: 10px 6px;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
  scroll-snap-align: center;
  transition: background .15s, color .15s;
  gap: 2px;
  border-right: 1px solid #e2e8f0;
}
.dateBar__pill:last-child{ border-right: none; }
.dateBar__pill:hover{
  background: #eef2ff;
}
.dateBar__pill.is-active{
  background: #2563eb;
  color: #fff;
}
.dateBar__pill.is-active .dateBar__day,
.dateBar__pill.is-active .dateBar__date{
  color: #fff;
}
.dateBar__pill.is-active .dateBar__price{
  color: #bfdbfe;
}
.dateBar__pill.is-active .dateBar__cheapTag{
  background: #1d4ed8;
  color: #93c5fd;
}
.dateBar__day{
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  line-height: 1;
}
.dateBar__date{
  font-size: 13px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.2;
}
.dateBar__dateRange{
  font-size: 11px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  white-space: nowrap;
}
.dateBar__pill.is-active .dateBar__dateRange{
  color: #fff;
}
.dateBar__price{
  font-size: 12px;
  font-weight: 800;
  color: #475569;
  line-height: 1.2;
  white-space: nowrap;
}
.dateBar__price.is-cheapest{
  color: #16a34a;
}
.dateBar__pill.is-active .dateBar__price.is-cheapest{
  color: #86efac;
}
.dateBar__noPrice{
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  line-height: 1.2;
}
.dateBar__cheapTag{
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #dcfce7;
  color: #15803d;
  padding: 1px 5px;
  border-radius: 4px;
  line-height: 1.3;
  margin-top: 1px;
}
@media(max-width:600px){
  .dateBar__pill{
    min-width: 64px;
    padding: 8px 4px;
  }
  .dateBar__arrow{
    width: 32px;
    min-width: 32px;
  }
  .dateBar__day{ font-size: 10px; }
  .dateBar__date{ font-size: 12px; }
  .dateBar__dateRange{ font-size: 10px; }
  .dateBar__price{ font-size: 11px; }
}

.results__message{
  padding: 14px 18px;
  margin-bottom: 12px;
  border-radius: 14px;
  background: #fff3cd;
  border: 1px solid #ffe69c;
  color: #664d03;
  font-weight: 800;
  font-size: 14px;
  line-height: 1.5;
}

.results__loading{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 0;
  font-weight: 800;
  font-size: 15px;
  color: #64748b;
}

.spinner{
  width: 28px;
  height: 28px;
  border: 3px solid rgba(148,163,184,.3);
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: iy-spin .7s linear infinite;
}
@keyframes iy-spin{
  to{ transform: rotate(360deg); }
}

.results__flexTitle{
  margin: 24px 0 10px;
  font-weight: 900;
  font-size: clamp(14px, 1.8vw, 18px);
  color: #475569;
  letter-spacing: -0.01em;
}

.ticketAirLogo{
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: contain;
  flex-shrink: 0;
  background: #f8fafc;
}

.ticketList{
  display: grid;
  gap: 12px;
}

/* "Anywhere" search group titles */
.anywhereGroupTitle{
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
  margin: 20px 0 12px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid #f97316;
}
.anywhereGroupTitle:first-child{
  margin-top: 0;
}

.ticketCard{
  background: #fff;
  border: 1px solid rgba(226,232,240,.95);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(2,6,23,.06);
  padding: 14px 16px;
}

.ticketCard__top{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.ticketPrice{
  font-weight: 1000;
  letter-spacing: -0.02em;
  font-size: 22px;
  line-height: 1.1;
}

.ticketShare{
  height: 34px;
  width: 34px;
  border-radius: 12px;
  border: 1px solid rgba(226,232,240,.95);
  background: #f8fafc;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 16px;
  font-weight: 900;
  color: #0f172a;
}
.ticketShare:hover{ filter: brightness(.98); }

.ticketBadges{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.ticketBadge{
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 10px;
  background: #f1f5f9;
  border: 1px solid rgba(226,232,240,.95);
  font-weight: 900;
  font-size: 12px;
  color: #0f172a;
}

.ticketBody{
  display: flex;
  align-items: center;
  gap: 14px;
}

.ticketSide{
  min-width: 170px;
}
.ticketSide--to{
  text-align: right;
}

.ticketTimeRow{
  display: flex;
  align-items: center;
  gap: 10px;
}

.ticketAirIcon{
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 1000;
  flex: 0 0 auto;
}

.ticketTime{
  font-weight: 1000;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.ticketCity{
  margin-top: 4px;
  font-weight: 850;
  font-size: 15px;
  color: #64748b;
}

.ticketDate{
  margin-top: 2px;
  font-weight: 850;
  font-size: 13px;
  color: #f78d2d;
}

.ticketCode{
  margin-top: 6px;
  font-weight: 1000;
  font-size: 12px;
  color: #2563eb;
}

.ticketMid{
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  gap: 8px;
  justify-items: stretch;
}

.ticketMid__top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #94a3b8;
  font-weight: 900;
  font-size: 12.5px;
  white-space: nowrap;
}
.ticketMid__text{
  overflow: hidden;
  text-overflow: ellipsis;
}
.ticketMid__plane{
  font-size: 14px;
  opacity: .9;
}

.ticketMid__line{
  height: 2px;
  background: rgba(148,163,184,.55);
  border-radius: 999px;
}

/* Mobile stacking similar feel */
@media (max-width: 680px){
  .ticketBody{
    /*flex-direction: column;*/
    align-items: stretch;
    gap: 10px;
  }
  .ticketSide{
    min-width: 0;
  }
  .ticketSide--to{
    text-align: left;
  }
  .ticketMid__top{
    justify-content: center;
  }
}


/* =========================
   Field warning bubble (HTML-first)
========================= */

.fieldPop{
  position: absolute;
  left: 12px;
  top: -10px;
  transform: translateY(-100%);
  z-index: 999999;

  background: #fff3cd;
  border: 1px solid #ffe69c;
  color: #664d03;

  padding: 8px 10px;
  border-radius: 12px;

  font-weight: 800;
  font-size: 12.5px;
  line-height: 1.2;

  box-shadow: 0 12px 26px rgba(2,6,23,.14);
  white-space: nowrap;

  opacity: 0;
  pointer-events: none;
}

.fieldPop::before{
  content:"";
  position:absolute;
  left:16px;
  bottom:-7px;
  border-width:7px 7px 0 7px;
  border-style:solid;
  border-color:#ffe69c transparent transparent transparent;
}
.fieldPop::after{
  content:"";
  position:absolute;
  left:16px;
  bottom:-6px;
  border-width:6px 6px 0 6px;
  border-style:solid;
  border-color:#fff3cd transparent transparent transparent;
}

.field.has-error .fieldPop{
  opacity: 1;
}

.field.has-error .field__control{
  border-color: rgba(245,158,11,.85) !important;
  box-shadow: 0 0 0 4px rgba(245,158,11,.12) !important;
}

@media (prefers-reduced-motion: no-preference){
  .field.has-error .fieldPop{
    animation: iyPopIn .22s cubic-bezier(.2,.8,.2,1) both;
  }
}
@keyframes iyPopIn{
  from{ opacity:0; transform: translateY(-100%) translateY(-6px); }
  to  { opacity:1; transform: translateY(-100%) translateY(0px); }
}

/* =========================
   Return ticket helpers (used by HTML return card)
========================= */
.ticketLegTitle{
  margin: 10px 2px 6px;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: rgba(15,23,42,.70);
}
.ticketLegDivider{
  height: 1px;
  background: rgba(226,232,240,.9);
  margin: 12px 0;
}


/* =========================
   Ticket card as "real ticket": 75/25 split + dashed separator
========================= */
.ticketCard--split{
  display: grid;
  grid-template-columns: 3fr 1fr;  /* 75% / 25% */
  gap: 0;
  padding: 0;                      /* we’ll pad inside columns */
  overflow: hidden;
}

.ticketMain{
  padding: 14px 16px;
  min-width: 0;
}

.ticketAside{
  padding: 14px 16px;
  border-left: 2px dashed rgba(148,163,184,.65);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  min-width: 220px;
}

.ticketType{
  font-weight: 950;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(15,23,42,.55);
}

.ticketAsidePrice{
  font-weight: 1000;
  letter-spacing: -0.03em;
  font-size: clamp(26px, 2.2vw, 34px);
  line-height: 1.05;
}

.ticketBuy{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  border-radius: 14px;
  border: 0;
  cursor: pointer;
  font-weight: 950;
  font-size: 14px;
  letter-spacing: -0.01em;
  color: #fff;
  text-decoration: none;
  background: var(--accent, #2563eb);
  box-shadow: 0 10px 22px rgba(37,99,235,.18);
}
.ticketBuy:hover{ filter: brightness(.98); }
.ticketBuy:active{ transform: translateY(1px); }

.ticketShare--mini{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  align-self: flex-start;
}

/* Make the left side spacing work well in split layout */
.ticketCard--split .ticketBadges{ margin-bottom: 10px; }

/* Mobile: stack + dashed separator becomes horizontal */
@media (max-width: 680px){
    
  .ticketCard--split{
    grid-template-columns: 1fr;
  }
  .ticketAside{
    border-left: 0;
    border-top: 2px dashed rgba(148,163,184,.65);
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .ticketShare--mini{ align-self: auto; }
}
/* Make the HTML `hidden` attribute always hide, even if display:grid is set */
[hidden]{
  display: none !important;
}

/* =========================
   Date fields: placeholder + click-to-open
========================= */
.field--date{
  position: relative;
  cursor: pointer;
}

.field__placeholder{
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14px;
  font-weight: 800;
  color: #94a3b8;
  pointer-events: none;
  order: 1;
}

.field--date .field__date{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  z-index: 3;
  cursor: pointer;
}

.field--date .field__date::-webkit-calendar-picker-indicator{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

/* When a date is selected, show the real value */
.field--date.has-value .field__placeholder{
  display: none;
}

.field--date.has-value .field__date{
  position: relative;
  opacity: 1;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}

/* =========================
   Language switcher (dropdown)
========================= */
.langSwitch{
  position: relative;
}

.langSwitch__btn{
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  font-weight: 850;
  font-size: 13px;
  color: var(--text);
  text-decoration: none;
  transition: background .15s;
}
.langSwitch__btn:hover{
  background: rgba(0,0,0,.04);
}

.langSwitch__flag{
  width: 20px;
  height: 15px;
  border-radius: 2px;
  flex-shrink: 0;
}

.langSwitch__code{
  letter-spacing: .04em;
}

.langSwitch__arrow{
  font-size: 10px;
  opacity: .6;
  transition: transform .15s;
}

.langSwitch__btn[aria-expanded="true"] .langSwitch__arrow{
  transform: rotate(180deg);
}

.langSwitch__menu{
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 140px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(2,6,23,.12);
  padding: 4px;
  z-index: 9999;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .15s, transform .15s;
  pointer-events: none;
}

.langSwitch__menu:not([hidden]){
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.langSwitch__opt{
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  font-weight: 800;
  font-size: 13px;
  color: var(--text);
  text-align: left;
  text-decoration: none;
}
.langSwitch__opt:hover{
  background: rgba(0,0,0,.04);
}
.langSwitch__opt.is-active{
  background: rgba(53,200,183,.12);
  color: var(--btn);
}

.langSwitch__optFlag{
  width: 20px;
  height: 15px;
  border-radius: 2px;
  flex-shrink: 0;
}

@media (max-width: 760px){
  .langSwitch__code{
    display: none;
  }
  .langSwitch__btn{
    padding: 6px 8px;
  }
}

/* ── Flex duration group header ── */
.flexGroupHeader{
  margin: 22px 0 8px;
  padding: 6px 14px;
  background: #1e293b;
  border-radius: 8px;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .3px;
  text-transform: capitalize;
}

/* ── Show all results button ── */
.ticketShowMore{
  display: block;
  width: 100%;
  max-width: 340px;
  margin: 18px auto 0;
  padding: 12px 24px;
  border: 2px solid #2563eb;
  border-radius: 10px;
  background: transparent;
  color: #2563eb;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, color .2s;
  text-align: center;
}
.ticketShowMore:hover,
.ticketShowMore:focus-visible{
  background: #2563eb;
  color: #fff;
}

/* ── FOOTER ── */
.siteFooter{
  background: #0f172a;
  color: #94a3b8;
  margin-top: 80px;
  font-size: 14px;
  line-height: 1.6;
}
.siteFooter a{
  color: #cbd5e1;
  text-decoration: none;
  transition: color .2s;
}
.siteFooter a:hover,
.siteFooter a:focus-visible{
  color: #fff;
}

.footer__inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px var(--container-pad, 14px) 0;
}

.footer__grid{
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer__brand{
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer__brand img{
  height: 36px;
  width: auto;
}
.footer__brand p{
  margin: 0;
  max-width: 260px;
}

.footer__heading{
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 14px;
}
.footer__links{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__socials{
  display: flex;
  gap: 12px;
  margin-top: 4px;
}
.footer__socials a{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.07);
  transition: background .2s, transform .15s;
}
.footer__socials a:hover{
  background: rgba(255,255,255,.15);
  transform: translateY(-2px);
}
.footer__socials svg{
  width: 18px;
  height: 18px;
  fill: #cbd5e1;
  transition: fill .2s;
}
.footer__socials a:hover svg{
  fill: #fff;
}

/* Footer App Badge */
.footer__appBadge{
  display: inline-flex;
  align-items: center;
  position: relative;
  margin-top: 12px;
}
.footer__appBadge img{
  height: 44px;
  width: auto;
  display: block;
  filter: brightness(1.1);
}
.footer__appSoon{
  position: absolute;
  top: -4px;
  right: -6px;
  background: #f78d2d;
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  box-shadow: 0 2px 6px rgba(255,125,0,.5);
}

.footer__bottom{
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 40px;
  padding: 20px 0 24px;
  font-size: 13px;
  color: #64748b;
}
.footer__bottom a{
  color: #64748b;
}
.footer__bottom a:hover{
  color: #cbd5e1;
}

@media (max-width: 768px){
  .footer__grid{
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
}
@media (max-width: 480px){
  .footer__grid{
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer__bottom{
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── TRAVEL PLANNER ── */
.planner{
  padding: 80px 0;
  background: linear-gradient(180deg, #c2e2ff 0%, #fff 50%, #f8fafc 100%);
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.planner::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(180deg, rgba(0,0,0,.06) 0%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

/* Floating clouds */
.planner__cloud{
  position: absolute;
  pointer-events: none;
  opacity: 0.7;
  z-index: 1;
}
.planner__cloud svg{
  width: 100%;
  height: 100%;
  fill: #fff;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.05));
}
.planner__cloud--1{
  width: 120px;
  height: 50px;
  top: 15%;
  left: -30px;
  animation: cloudFloat1 25s ease-in-out infinite;
}
.planner__cloud--2{
  width: 80px;
  height: 35px;
  top: 25%;
  right: 5%;
  animation: cloudFloat2 30s ease-in-out infinite;
  animation-delay: -5s;
}
.planner__cloud--3{
  width: 100px;
  height: 42px;
  top: 8%;
  left: 20%;
  animation: cloudFloat3 22s ease-in-out infinite;
  animation-delay: -10s;
}
.planner__cloud--4{
  width: 60px;
  height: 26px;
  top: 35%;
  right: 15%;
  animation: cloudFloat2 28s ease-in-out infinite;
  animation-delay: -15s;
  opacity: 0.5;
}
.planner__cloud--5{
  width: 100px;
  height: 42px;
  right: 20%;
  animation: cloudFloat3 22s ease-in-out infinite;
  animation-delay: -3s;
}
@keyframes cloudFloat1{
  0%, 100%{ transform: translateX(0); }
  50%{ transform: translateX(40px); }
}
@keyframes cloudFloat2{
  0%, 100%{ transform: translateX(0) translateY(0); }
  50%{ transform: translateX(-30px) translateY(10px); }
}
@keyframes cloudFloat3{
  0%, 100%{ transform: translateX(0) translateY(0); }
  50%{ transform: translateX(20px) translateY(-8px); }
}

/* Nereye text pulse animation */
@keyframes textPulse{
  0%, 100%{ transform: scale(1); }
  50%{ transform: scale(1.15); }
}
.nereye-animated{
  display: inline-block;
  color: #f78d2d;
  animation: textPulse 1.2s ease-in-out infinite;
}

.planner__wrap{
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--container-pad, 14px);
}

/* Header */
.planner__header{
  text-align: center;
  margin-bottom: 40px;
}

/* Bot icon above title */
.planner__botIcon{
  display: block;
  width: 80px;
  height: auto;
  margin: 0 auto 20px;
}

.planner__badge{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #0b766c 0%, #35c8b7 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.planner__icon{
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
  border-radius: 50%;
  object-fit: cover;
}
.planner__title{
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.planner__sub{
  color: var(--muted);
  font-size: 17px;
  margin: 0;
  line-height: 1.5;
}
.planner__sub .highlight{
  font-weight: 800;
  color: #f78d2d;
}

/* Chat-like container */
.planner__chat{
  background: #fff;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
  overflow: hidden;
}

/* Messages area */
.planner__messages{
  padding: 28px 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Single message bubble */
.pMsg{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  animation: pMsgIn .35s ease both;
}
@keyframes pMsgIn{
  from{ opacity:0; transform: translateY(10px); }
  to{ opacity:1; transform: translateY(0); }
}
.pMsg--user{
  flex-direction: row-reverse;
}

.pMsg__avatar{
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e2e8f0;
  color: var(--muted);
  font-size: 16px;
}
/* Bot avatar - orange with airplane */
.pMsg__avatar--bot{
  background: #0089ff;
  color: #fff;
  box-shadow: 0 4px 12px rgba(247,141,45,.25);
}

.pMsg__bubble{
  background: #f1f5f9;
  border-radius: 16px 16px 16px 4px;
  padding: 12px 11px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
  max-width: 85%;
}
.pMsg--user .pMsg__bubble{
  background: #3b82f6;
  color: #fff;
  border-radius: 16px 16px 4px 16px;
}
.pMsg__bubble--muted{
  font-size: 12px;
  color: var(--muted);
  background: transparent;
  padding: 2px 0 0;
}

/* Option buttons inside messages */
.pMsg__options{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.pMsg__optBtn{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: all .2s;
}
.pMsg__optBtn:hover{
  border-color: #f78d2d;
  background: #fff7ed;
  color: #c2410c;
}
.pMsg__optBtn.is-selected{
  border-color: #f78d2d;
  background: #f78d2d;
  color: #fff;
}
.pMsg__optBtn:disabled{
  opacity: .5;
  cursor: default;
}
.pMsg__optIcon{
  font-size: 18px;
  line-height: 1;
}

/* Budget input row */
.pBudgetRow{
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.pBudgetRow input{
  flex: 1;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  font-size: 15px;
  font-weight: 600;
  outline: none;
  transition: border-color .2s;
  min-width: 0;
}
.pBudgetRow input:focus{
  border-color: #f78d2d;
}
.pBudgetRow button{
  padding: 10px 20px;
  border-radius: 12px;
  border: none;
  background: #f78d2d;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
  white-space: nowrap;
}
.pBudgetRow button:hover{
  background: #ea580c;
}
.pBudgetRow button:disabled{
  background: #cbd5e1;
  cursor: default;
}

/* Loading dots */
.pTyping{
  display: inline-flex;
  gap: 4px;
  padding: 14px 20px;
  background: #f1f5f9;
  border-radius: 16px 16px 16px 4px;
}
.pTyping span{
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #94a3b8;
  animation: pDot 1.2s ease infinite;
}
.pTyping span:nth-child(2){ animation-delay: .2s; }
.pTyping span:nth-child(3){ animation-delay: .4s; }
@keyframes pDot{
  0%,80%,100%{ transform: scale(.6); opacity:.4; }
  40%{ transform: scale(1); opacity:1; }
}

/* Result cards */
.pResult{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 6px;
  background: #fff;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  transition: border-color .2s, box-shadow .2s;
  text-decoration: none;
  color: var(--text);
  margin-top: 8px;
}
.pResult:hover{
  border-color: #f78d2d;
  box-shadow: 0 4px 16px rgba(255,125,0,.12);
}
.pResult__logo{
  width: 36px; height: 36px;
  border-radius: 8px;
  object-fit: contain;
}
.pResult__info{
  flex: 1;
  min-width: 0;
}
.pResult__dest{
  font-weight: 700;
  font-size: 15px;
}
.pResult__meta{
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.pResult__price{
  font-weight: 800;
  font-size: 17px;
  color: #16a34a;
  white-space: nowrap;
}
.pResult__price--over{
  color: #dc2626;
}
.pResult__priceWrap{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.pResult__roundTrip{
  font-size: 10px;
  font-weight: 600;
  color: #6366f1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.pResult__clickHint{
  font-size: 11px;
  color: #6366f1;
  margin-top: 4px;
  opacity: 0.8;
}
.pResult:hover .pResult__clickHint{
  opacity: 1;
}

/* Results wrapper for toggle functionality */
.pResultsWrap{
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pResultHidden{
  display: none !important;
}
.pResultsWrap.is-expanded .pResultHidden{
  display: flex !important;
}

/* Limit bubble containing results to 800px on larger screens */
@media (min-width: 768px){
  .pMsg__bubble:has(.pResultsWrap){
    width: 800px;
  }
}

/* Toggle button (See All / Show Less) */
.pToggleBtn{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  padding: 14px 24px;
  border: none;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  width: 100%;
  transition: transform .15s, box-shadow .15s, background .2s;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}
.pToggleBtn:hover{
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}
.pToggleBtn:active{
  transform: translateY(0);
}
.pToggleBtn svg{
  width: 18px;
  height: 18px;
  transition: transform .25s;
}
.pResultsWrap.is-expanded .pToggleBtn svg{
  transform: rotate(180deg);
}

/* Desktop: larger cards but still full width stacked */
@media (min-width: 768px){
  .pResult{
    padding: 18px 22px;
    gap: 18px;
  }
  .pResult__logo{
    width: 48px;
    height: 48px;
  }
  .pResult__dest{
    font-size: 17px;
  }
  .pResult__meta{
    font-size: 13px;
    margin-top: 4px;
  }
  .pResult__price{
    font-size: 20px;
  }
  .pResult__clickHint{
    font-size: 12px;
  }
  .pToggleBtn{
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Ticket Popup Overlay */
.pPopupOverlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 16px;
  animation: pFadeIn 0.2s ease-out;
}
@keyframes pFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.pPopup{
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 400px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  position: relative;
  animation: pSlideUp 0.25s ease-out;
}
@keyframes pSlideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.pPopup__close{
  position: absolute;
  top: 3px;
  right: 3px;
  width: 30px;
  height: 30px;
  border: none;
  background: #ff0000;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  color: #ffffff;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.pPopup__close:hover{
  background: #cc0000;
  color: #fff;
}
.pPopup__header{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px;
  border-bottom: 1px solid #e2e8f0;
}
.pPopup__logo{
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: contain;
}
.pPopup__dest{
  font-weight: 700;
  font-size: 18px;
  color: #1e293b;
}
.pPopup__roundTrip{
  font-size: 12px;
  font-weight: 600;
  color: #6366f1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.pPopup__price{
  margin-left: auto;
  font-weight: 800;
  font-size: 22px;
  color: #16a34a;
}
.pPopup__section{
  padding: 18px 24px;
  border-bottom: 1px solid #f1f5f9;
}
.pPopup__sectionTitle{
  font-weight: 700;
  font-size: 14px;
  color: #1e293b;
  margin-bottom: 12px;
}
.pPopup__row{
  font-size: 14px;
  color: #475569;
  padding: 7px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pPopup__label{
  width: 22px;
  text-align: center;
}
.pPopup__buyBtn{
  display: block;
  margin: 20px 24px 24px;
  padding: 16px 28px;
  background: linear-gradient(135deg, #f78d2d, #f97316);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  border-radius: 14px;
  transition: transform .15s, box-shadow .15s;
}
.pPopup__buyBtn:hover{
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,125,0,0.35);
}

/* Reset / restart button */
.pRestart{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 14px;
  border: none;
  background: #f1f5f9;
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.pRestart:hover{
  background: #e2e8f0;
  color: var(--text);
}

@media (max-width: 1040px){
  .planner__wrap{ min-width: 0; width: 100%; }
}

@media (max-width: 480px){
  .planner__title{ font-size: 22px; }
  .planner__messages{ padding: 20px 6px 12px; }
  .pMsg__optBtn{ padding: 9px 14px; font-size: 13px; }
}

/* =========================
   SECTION TITLES (global)
========================= */
.section__title{
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  color: var(--text);
  text-align: center;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

/* =========================
   WHY CHOOSE US SECTION
========================= */
.whyUs{
  padding: 70px 0;
  background: #fff;
  border-top: 1px solid var(--line);
}
.whyUs__inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-pad, 14px);
}
.whyUs__sub{
  font-size: 1rem;
  color: #6c757d;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

/* Feature Cards Grid */
.featureGrid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.featureCard{
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.04);
  transition: transform .2s, box-shadow .2s;
}
.featureCard:hover{
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,.08);
}
.featureCard__icon{
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.featureCard__icon svg{
  width: 48px;
  height: 48px;
  stroke: #13c3a3;
}
.featureCard__title{
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 12px;
}
.featureCard__text{
  font-size: 0.95rem;
  color: #6c757d;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 900px){
  .featureGrid{
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px){
  .featureGrid{
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .whyUs{ padding: 50px 0; }
  .featureCard{ padding: 24px 20px; }
}

/* =========================
   FAQ SECTION
========================= */
.faq{
  padding: 60px 0 80px;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  border-top: 1px solid var(--line);
}
.faq__inner{
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--container-pad, 14px);
}
.faq__title{
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.02em;
  text-align: center;
  margin: 0 0 36px;
}
.faq__list{
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq__item{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,.04);
  transition: box-shadow .2s;
}
.faq__item:hover{
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.faq__item[open]{
  border-color: rgba(255,125,0,.3);
  box-shadow: 0 8px 24px rgba(255,125,0,.1);
}
.faq__question{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  color: #1e293b;
  list-style: none;
  transition: background .15s;
}
.faq__question::-webkit-details-marker{
  display: none;
}
.faq__question:hover{
  background: #f8fafc;
}
.faq__chevron{
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #94a3b8;
  transition: transform .25s, color .25s;
}
.faq__item[open] .faq__chevron{
  transform: rotate(180deg);
  color: #f78d2d;
}
.faq__answer{
  padding: 0 24px 20px;
  animation: faqSlide .25s ease;
}
@keyframes faqSlide{
  from{ opacity: 0; transform: translateY(-8px); }
  to{ opacity: 1; transform: translateY(0); }
}
.faq__answer p{
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #64748b;
}

@media (max-width: 600px){
  .faq{ padding: 40px 0 60px; }
  .faq__question{ padding: 16px 18px; font-size: 15px; }
  .faq__answer{ padding: 0 18px 16px; }
}
