.home-experience {
  --home-blue: #087bff;
  --home-ink: #153456;
  padding-top: 4px;
}
.welcome-banner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 205px;
  overflow: hidden;
  border-radius: 20px;
  background:
    radial-gradient(ellipse at 12% 70%, #b4e3ff 0, transparent 55%),
    linear-gradient(110deg, #e2f4ff, #f6fcff 70%, #e7f5ff);
  border: 1px solid #e2f0fb;
  margin-bottom: 10px;
}
.welcome-copy {
  padding: 30px 32px;
  align-self: center;
  z-index: 1;
}
.welcome-badge {
  display: inline-flex;
  background: #ffffffbd;
  border-radius: 30px;
  padding: 5px 13px;
  color: #087bff;
  font-size: 12px;
  font-weight: 700;
}
.welcome-copy h1 {
  color: #132f53;
  font-size: clamp(23px, 2.4vw, 34px);
  line-height: 1.5;
  margin: 10px 0;
  letter-spacing: -0.7px;
}
.welcome-copy h1 em {
  font-style: normal;
  color: #008fff;
}
.welcome-copy p {
  color: #617b97;
  font-size: 14px;
  line-height: 1.9;
  margin: 0;
  max-width: 490px;
}
.welcome-art {
  position: relative;
  min-height: 205px;
}
.welcome-art img {
  position: absolute;
  width: 290px;
  height: 218px;
  object-fit: contain;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  filter: drop-shadow(0 12px 15px #3589b530);
}
.welcome-glow {
  position: absolute;
  width: 260px;
  height: 160px;
  background: #fff8;
  border-radius: 50%;
  filter: blur(20px);
  top: 25px;
  left: 20%;
}
.welcome-note {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  background: #fffffff0;
  padding: 10px 14px;
  border-radius: 18px;
  box-shadow: 0 8px 24px #62a8d81c;
  font-size: 11px;
  font-weight: 700;
  color: #274564;
}
.welcome-note small {
  display: block;
  font-size: 10px;
  color: #6c849b;
  margin-top: 3px;
  font-weight: 400;
}
.welcome-note b {
  font-size: 25px;
  color: #0091ff;
  background: #e8f6ff;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  text-align: center;
}
.note-search {
  top: 24px;
  left: 12px;
  transform: rotate(-6deg);
}
.note-alert {
  bottom: 22px;
  right: 8px;
  transform: rotate(4deg);
}
.home-experience .search-panel {
  border: 1px solid #e5edf6;
  border-radius: 19px;
  box-shadow: 0 8px 30px #366c9c09;
  overflow: visible;
}
.home-experience .compact-search-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-bottom: 16px;
}
.home-experience .compact-search-top .trip-options {
  justify-self: start;
}
.home-experience .compact-search-top .ai-search-link {
  grid-column: 2;
  justify-self: center;
}
.home-experience #flight-search .compact-airports {
  column-gap: 44px;
}
.home-experience #flight-search.compact-flight-search .compact-swap {
  top: auto;
  bottom: 7px;
}
.home-experience .compact-flight-search {
  padding: 20px;
}
.home-experience #flight-search #search-submit {
  background: var(--home-blue);
  border-radius: 9px;
  box-shadow: 0 4px 12px #087bff22;
}
.home-experience #flight-search #search-submit:hover {
  background: #0069e3;
}
.home-experience .search-lens {
  flex-shrink: 0;
}
.home-experience .airport-input-wrap input,
.home-experience .compact-date-field [data-date-caption] {
  border-color: #d6e3ef;
  border-radius: 8px;
}
.home-experience .compact-search-footer {
  background: #f9fcff;
  border-radius: 0 0 17px 17px;
  margin-top: 18px;
}
.home-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 22px 0;
}
.home-features article {
  background: #fff;
  border: 1px solid #e7eff7;
  padding: 20px 16px;
  border-radius: 14px;
  display: flex;
  gap: 13px;
  align-items: center;
  box-shadow: 0 6px 18px #426e9905;
}
.home-feature-icon {
  flex: 0 0 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 27px;
  font-weight: 700;
}
.home-feature-icon.blue {
  background: #e4f4ff;
  color: #078fff;
}
.home-feature-icon.amber {
  background: #fff4e6;
  color: #f4a329;
}
.home-feature-icon.violet {
  background: #f1e9ff;
  color: #8b42eb;
}
.home-feature-icon.mint {
  background: #e1f8ee;
  color: #00af81;
}
.home-features h2 {
  font-size: 14px;
  margin: 0 0 6px;
  color: #214063;
}
.home-features p {
  font-size: 11px;
  color: #7890aa;
  line-height: 1.9;
  margin: 0;
}
.home-active {
  border-top: 1px solid #dfeaf5;
  padding-top: 20px;
  margin: 24px 0 12px;
}
.home-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.home-section-title h2 {
  font-size: 16px;
  margin: 0;
}
.home-section-title a,
.home-trip-bottom a {
  color: #008fff;
  font-size: 12px;
}
.home-trip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.home-trip-card {
  background: white;
  border: 1px solid #e2ecf6;
  border-radius: 13px;
  padding: 18px;
}
.home-trip-route {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.home-trip-route strong {
  font-size: 16px;
}
.home-trip-route .badge {
  font-size: 10px;
}
.home-trip-card p {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #7b92ab;
  font-size: 11px;
  margin: 15px 0;
}
.home-trip-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  border-top: 1px solid #edf2f8;
  padding-top: 12px;
}
.home-empty {
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px dashed #cbdfee;
  border-radius: 14px;
}
.home-empty > span {
  color: #0099ed;
  font-size: 30px;
}
.home-empty p {
  font-size: 12px;
  margin: 6px 0 0;
  color: #7890aa;
}
.home-empty a {
  margin-inline-start: auto;
}
.search-results-mode .welcome-banner,
.search-results-mode .home-features,
.search-results-mode .home-active {
  display: none;
}
@media (min-width: 960px) {
  .home-experience #flight-search.compact-flight-search {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 12px;
    align-items: end;
  }
  .home-experience .compact-search-top {
    grid-column: 1 / -1;
    margin: 0;
  }
  .home-experience #flight-search {
    padding: 18px;
  }
  .home-experience .search-panel {
    padding: 0;
  }
  .home-experience .passenger-picker::before,
  .home-experience .cabin-picker::before {
    display: block;
    color: #7890aa;
    font-size: 11px;
    margin-bottom: 6px;
  }
  [lang='ar'] .home-experience .passenger-picker::before {
    content: 'المسافرون';
  }
  [lang='en'] .home-experience .passenger-picker::before {
    content: 'Travelers';
  }
  [lang='ar'] .home-experience .cabin-picker::before {
    content: 'الدرجة السياحية';
  }
  [lang='en'] .home-experience .cabin-picker::before {
    content: 'Cabin class';
  }
  .home-experience .compact-route,
  .home-experience .compact-controls,
  .home-experience .compact-preferences,
  .home-experience .compact-budget-search {
    display: contents;
  }
  .home-experience .compact-airports {
    grid-column: span 5;
  }
  .home-experience .compact-dates {
    grid-column: span 3;
  }
  .home-experience .passenger-picker,
  .home-experience .cabin-picker {
    grid-column: span 1;
    min-width: 0;
  }
  .home-experience .search-popover summary {
    border: 1px solid #d6e3ef;
    border-radius: 8px;
    padding: 12px 7px;
    min-height: 42px;
    height: 42px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    font-size: 12px;
  }
  .home-experience #flight-search .compact-airport input,
  .home-experience .compact-date-field [data-date-caption] {
    height: 42px;
    min-height: 42px;
    font-size: 12px;
  }
  .home-experience .compact-date-field::after {
    top: 34px;
  }
  .home-experience #search-submit {
    grid-column: 11 / 13;
    grid-row: 2;
    height: 42px;
    min-width: 0;
    font-size: 13px;
    padding: 10px;
  }
  .home-experience .compact-controls > .checkbox {
    grid-row: 3;
    grid-column: span 3;
  }
  .home-experience .compact-currency {
    grid-row: 3;
    grid-column: span 3;
  }
  .home-experience .compact-budget {
    grid-row: 3;
    grid-column: span 6;
    display: flex;
    gap: 12px;
    align-items: center;
  }
  .home-experience .compact-budget > span {
    white-space: nowrap;
  }
  .home-experience .compact-budget input {
    width: 240px;
    min-width: 0;
    max-width: 260px;
    height: 38px;
  }
  .home-experience .compact-search-footer {
    grid-column: 1 / -1;
    margin-top: 0;
    margin-bottom: -18px;
  }
}
@media (max-width: 1099px) {
  .home-features {
    grid-template-columns: repeat(2, 1fr);
  }
  .welcome-note {
    font-size: 10px;
    padding: 8px;
  }
  .welcome-art img {
    width: 230px;
  }
  .note-search {
    left: 0;
  }
  .note-alert {
    right: 0;
    bottom: 12px;
  }
}
@media (max-width: 650px) {
  .home-experience {
    padding-top: 4px;
  }
  .welcome-banner {
    grid-template-columns: 1fr;
  }
  .welcome-copy {
    padding: 24px 22px 0;
  }
  .welcome-copy h1 {
    font-size: 24px;
  }
  .welcome-copy p {
    font-size: 12px;
  }
  .welcome-art {
    min-height: 165px;
  }
  .welcome-art img {
    height: 190px;
    width: 250px;
    bottom: -4px;
  }
  .note-search {
    top: 35px;
    left: 12px;
  }
  .note-alert {
    bottom: 16px;
    right: 10px;
  }
  .welcome-note {
    max-width: 145px;
    font-size: 9px;
  }
  .welcome-note small {
    font-size: 8px;
  }
  .home-features {
    gap: 10px;
  }
  .home-features article {
    padding: 14px 10px;
    gap: 8px;
    align-items: start;
  }
  .home-feature-icon {
    flex-basis: 32px;
    height: 32px;
    font-size: 20px;
  }
  .home-features h2 {
    font-size: 12px;
  }
  .home-features p {
    font-size: 10px;
  }
  .home-trip-grid {
    grid-template-columns: 1fr;
  }
  .home-experience .compact-search-top {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .home-experience .compact-search-top .trip-options {
    justify-self: center;
  }
  .home-experience .compact-search-top .ai-search-link {
    grid-column: 1;
  }
  .home-experience #flight-search.compact-flight-search .compact-swap {
    bottom: 12px;
  }
  .home-empty {
    flex-wrap: wrap;
  }
  .home-empty a {
    margin-inline-start: 0;
  }
}
