/* Hero search - tabbed card, boxed fields (label / big value / sub text) and a centred yellow Search button. */
.hero-sec { padding: 36px 0 44px; }
.hero-sec:before { background: linear-gradient(180deg, rgba(8,32,65,.38), rgba(8,32,65,.18)); }
.hero-sec .hero-content { max-width: 100%; align-items: center; text-align: center; min-height: 0; }
.hero-sec .hero-content h1 { color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.35); font-size: clamp(24px, 3vw, 36px); margin-bottom: 8px; }
.hero-sec .hero-content h1 span { color: #fff; text-align: center; }
.hero-sec .hero-content p { color: #fff; font-size: 15px; max-width: 560px; text-shadow: 0 1px 8px rgba(0,0,0,.35); }

/* tab strip */
.hero-sec .sb-tabs { margin: 18px auto 0; display: flex; justify-content: center; gap: 0; background: #fff; border-radius: 12px 12px 0 0;
  padding: 0 8px; box-shadow: 0 8px 28px rgba(15,30,50,.14); position: relative; z-index: 2; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.hero-sec .sb-tabs::-webkit-scrollbar { display: none; }
.hero-sec .sb-tab { display: flex; align-items: center; gap: 8px; padding: 11px 18px 10px; font-size: 14px; font-weight: 700; color: #1b1b4b;
  text-decoration: none; border-bottom: 3px solid transparent; white-space: nowrap; }
.hero-sec .sb-tab svg { width: 19px; height: 19px; fill: none; stroke: #1075BA; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.hero-sec .sb-tab.active { border-bottom-color: #ffcc00; }
.hero-sec .sb-tab:hover { color: #1075BA; }

/* card */
.hero-sec .search-box { margin-top: -1px; width: 100%; max-width: 980px; position: relative; z-index: 1; text-align: left;
  border-radius: 16px; padding: 16px 22px 34px; box-shadow: rgba(15,30,50,.2) 0 22px 54px; }
.hero-sec .sb-radios { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0 0 10px 2px; }
.hero-sec .sb-radio { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 15px; font-weight: 700; color: #b2b2cf; }
.hero-sec .sb-radio input { position: absolute; opacity: 0; pointer-events: none; }
.hero-sec .sb-radio i { width: 17px; height: 17px; border-radius: 50%; border: 2px solid #c9c9de; display: inline-block; position: relative; flex-shrink: 0; }
.hero-sec .sb-radio input:checked ~ i { border-color: #14145a; }
.hero-sec .sb-radio input:checked ~ i:after { content: ""; position: absolute; inset: 2px; border-radius: 50%; background: #14145a; }
.hero-sec .sb-radio input:checked ~ span { color: #14145a; }
.hero-sec .sb-radio input:focus-visible ~ i { outline: 2px solid #1075BA; outline-offset: 2px; }

/* fields */
.hero-sec .search-box .search-box-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hero-sec .search-box .sb-field { display: block; max-width: none; width: auto; background: #fff; border: 1px solid #d9dbe3; border-radius: 9px; padding: 8px 14px 8px; position: relative; }
.hero-sec .search-box .sb-field:focus-within { border-color: #1075BA; box-shadow: 0 0 0 2px rgba(16,117,186,.15); }
.hero-sec .search-box .input-box { position: relative; display: flex; flex-direction: column; }
.hero-sec .search-box .input-box label { position: static; pointer-events: auto; background: none; padding: 0; font-size: 11px; line-height: 15px; font-weight: 400; color: #4a4d63; letter-spacing: .3px; transition: none; }
.hero-sec .search-box .input-box.focus label { position: static; top: auto; font-size: 11px; color: #4a4d63; padding: 0; }
.hero-sec .search-box .sfield, .hero-sec .search-box .duration select { padding: 1px 0; font-size: 18px; line-height: 24px; font-weight: 800; color: #14145a; border: 0; background: transparent; width: 100%; }
.hero-sec .search-box .sfield::placeholder { color: #14145a; opacity: .85; }
.hero-sec .search-box .duration select { cursor: pointer; padding-right: 26px; }
.hero-sec .search-box .duration .input-box:after { top: auto; bottom: 20px; right: 4px; height: 7px; width: 7px; border-width: 0 2px 2px 0; }
.hero-sec .sb-sub { font-size: 12px; line-height: 16px; color: #6b6e82; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-sec .search-box .destination-error { top: calc(100% + 8px); }

/* centred yellow button overlapping the card's bottom edge */
.hero-sec .search-box .btn-search { position: absolute; left: 50%; bottom: -22px; transform: translateX(-50%); width: auto; min-width: 150px; justify-content: center;
  padding: 0 30px; height: 44px; border-radius: 8px; background: #ffcc00; color: #14145a; font-size: 17px; font-weight: 800; letter-spacing: 0; box-shadow: 0 6px 16px rgba(0,0,0,.14); }
.hero-sec .search-box .btn-search:hover { background: #ffd633; }
.hero-sec .features { margin: 36px 0 0; padding: 0; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.4); justify-content: center; }

@media (max-width: 800px) {
  .hero-sec { padding: 30px 0 50px; }
  .hero-sec .sb-tabs { width: 100%; justify-content: flex-start; padding: 0 4px; border-radius: 12px 12px 0 0; }
  .hero-sec .sb-tab { padding: 14px 14px 12px; font-size: 15px; gap: 7px; }
  .hero-sec .sb-tab svg { width: 20px; height: 20px; }
  .hero-sec .search-box { padding: 20px 14px 46px; border-radius: 0 0 18px 18px; }
  .hero-sec .sb-radio { font-size: 16px; }
  .hero-sec .search-box .search-box-inner { grid-template-columns: 1fr; gap: 12px; }
  .hero-sec .search-box .sfield, .hero-sec .search-box .duration select { font-size: 22px; }
  .hero-sec .search-box .btn-search { width: auto; padding: 0 40px; height: 56px; font-size: 20px; bottom: -28px; border-radius: 10px; }
  .hero-sec .features { margin-top: 44px; font-size: 12px; }
}
