:root {
  --ink: #192a3b;
  --muted: #788591;
  --line: #e8edf1;
  --paper: #f7f8fa;
  --orange: #ed7656;
  --orange-dark: #d95e40;
  --green: #317e68;
  --serif: "Manrope", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "DM Sans", sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button { color: inherit; }
.site-header { height: 82px; padding: 0 max(calc((100% - 1190px)/2), 5.5%); display: flex; align-items: center; justify-content: space-between; background: #fff; position: relative; z-index: 4; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); font-family: var(--serif); font-weight: 800; font-size: 22px; letter-spacing: -1.1px; }
.brand > span:last-child > span { color: var(--orange); }
.brand-mark { font-size: 25px; color: var(--orange); line-height: 1; }
.main-nav { display: flex; gap: 43px; align-items: center; height: 100%; }
.nav-link { position: relative; display: flex; align-items: center; height: 100%; padding: 0; border: 0; background: none; text-decoration: none; color: #74818e; font-size: 13px; font-weight: 600; cursor: pointer; }
.nav-link.active { color: var(--ink); }
.nav-link.active:after { position: absolute; content: ""; height: 2px; background: var(--orange); bottom: 0; left: 0; right: 0; }
.trip-count { margin-left: 5px; padding: 2px 6px; border-radius: 10px; background: #fcebe6; color: var(--orange-dark); font-size: 10px; }
.profile-button { height: 38px; width: 38px; position: relative; border: 0; border-radius: 50%; background: #e8f1ee; color: #397966; font-size: 11px; font-weight: 700; cursor: pointer; }
.online-dot { position: absolute; right: 0; bottom: 0; width: 10px; height: 10px; border: 2px solid white; border-radius: 50%; background: #5bb38c; }
.hero { height: 442px; position: relative; background: #193d4a; color: #fff; }
.hero-image { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,41,52,.84) 0%, rgba(17,48,58,.58) 48%, rgba(17,48,58,.1) 100%), linear-gradient(0deg, rgba(14,40,50,.28), transparent 60%), url("https://images.unsplash.com/photo-1476514525535-07fb3b4ae5f1?auto=format&fit=crop&w=2000&q=85") center 48%/cover; }
.hero-content { position: relative; width: min(1190px, 89%); margin: auto; padding-top: 68px; }
.eyebrow, .section-kicker { color: #f6a187; font-size: 9px; font-weight: 700; letter-spacing: 1.9px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: #ffd4c8; }
.eyebrow-line { width: 25px; height: 1px; background: var(--orange); }
.hero h1 { margin: 17px 0 9px; font: 500 42px/1.15 var(--serif); letter-spacing: -1.9px; }
.hero h1 em { color: #f99a7c; font-style: normal; }
.hero-content p { margin: 0; color: rgba(255,255,255,.77); font-size: 13px; }
.search-card { position: absolute; left: 50%; bottom: -68px; transform: translateX(-50%); width: min(1190px, 89%); padding: 17px 20px 19px; color: var(--ink); background: #fff; border-radius: 8px; box-shadow: 0 13px 35px rgba(27,48,66,.12); z-index: 2; }
.search-topline { display: flex; justify-content: space-between; align-items: center; margin: 0 0 15px; }
.trip-tabs { display: flex; gap: 5px; }
.trip-tab { border: 0; background: transparent; color: #7d8994; border-radius: 4px; padding: 7px 12px; font-size: 11px; cursor: pointer; }
.trip-tab.selected { background: #fff0eb; color: var(--orange-dark); font-weight: 700; }
.secure-note { color: #82908d; font-size: 10px; }
.secure-note span { color: #5a9a7e; margin-right: 4px; }
.search-fields { display: grid; grid-template-columns: 1.22fr 1.22fr .92fr .92fr 1fr; gap: 0; position: relative; }
.field { min-width: 0; height: 68px; padding: 10px 14px; border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; position: relative; background: white; text-align: left; }
.field:first-child { border-radius: 5px 0 0 5px; }
.location-field:first-child { padding-right: 24px; }
.field + .field { border-left: 0; }
.field-label { color: #8c98a1; font-size: 8px; font-weight: 700; letter-spacing: 1.1px; margin-bottom: 4px; }
.field-main { min-width: 0; display: flex; align-items: center; color: var(--ink); font-size: 13px; font-weight: 600; line-height: 20px; }
.field-main input { width: 100%; min-width: 0; padding: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 13px; font-weight: 600; }
.field-main input[type=date] { font-size: 11px; }
.field-main input[type=date]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .55; }
.field-icon { font-size: 15px; color: var(--orange); margin-right: 7px; }
.destination-icon { color: #44967c; }
.field-sub { margin-top: 2px; color: #9aa4ab; font-size: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.swap-button { position: absolute; z-index: 1; left: calc(24.4% - 12px); top: 23px; width: 25px; height: 25px; border: 1px solid #e7ecef; border-radius: 50%; background: white; color: #6c8290; font-size: 15px; cursor: pointer; box-shadow: 0 2px 5px #20304012; }
.passenger-field { border-radius: 0 5px 5px 0; cursor: pointer; padding-right: 30px; }
.passenger-chevron { position: absolute; right: 12px; top: 22px; color: #87949d; }
.search-button { width: 100%; margin-top: 12px; height: 43px; padding: 0 18px; display: flex; justify-content: center; gap: 12px; align-items: center; border: 0; border-radius: 4px; color: white; background: var(--orange); font-size: 12px; font-weight: 700; cursor: pointer; transition: background .2s, transform .2s; }
.search-button:hover { background: var(--orange-dark); transform: translateY(-1px); }
.passenger-popover { position: absolute; z-index: 5; right: 20px; top: 103px; width: 250px; padding: 17px; background: white; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 12px 30px #1b30421c; }
.popover-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.popover-row strong { display: block; font-size: 12px; }
.popover-row small { display: block; color: var(--muted); font-size: 9px; margin-top: 3px; }
.stepper { display: flex; align-items: center; gap: 10px; }
.stepper button { width: 24px; height: 24px; border: 1px solid #e1e8ec; border-radius: 50%; background: white; color: var(--orange-dark); cursor: pointer; }
.stepper button:disabled { opacity: .35; cursor: default; }
.stepper span { min-width: 12px; text-align: center; font-size: 12px; }
.class-select-label { display: block; margin: 17px 0 6px; font-size: 10px; font-weight: 700; }
.passenger-popover select { width: 100%; height: 33px; border: 1px solid var(--line); border-radius: 4px; background: white; color: var(--ink); font-size: 11px; padding: 0 7px; }
.popover-done { width: 100%; height: 32px; margin-top: 12px; border: 0; border-radius: 4px; background: #fff0eb; color: var(--orange-dark); font-size: 11px; font-weight: 700; cursor: pointer; }
.form-error { position: absolute; bottom: -25px; left: 21px; color: #a83a31; font-size: 11px; }
.results-section, .deals-section { width: min(1190px, 89%); margin: 0 auto; }
.results-section { padding-top: 119px; }
.results-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 23px; }
.section-kicker { color: #a17f73; font-size: 8px; letter-spacing: 1.6px; }
.results-heading h2, .deals-heading h2 { margin: 7px 0 5px; font: 700 24px/1.25 var(--serif); letter-spacing: -.9px; }
.results-heading p { margin: 0; color: #87929a; font-size: 11px; }
.results-tools { display: flex; gap: 10px; align-items: center; }
.sort-control { display: flex; gap: 7px; align-items: center; color: #86919a; font-size: 10px; }
.sort-control select { padding: 8px 25px 8px 9px; color: var(--ink); border: 1px solid var(--line); border-radius: 4px; background: white; font-size: 10px; cursor: pointer; }
.filter-toggle { display: none; border: 1px solid var(--line); border-radius: 4px; background: white; padding: 8px 10px; font-size: 11px; cursor: pointer; }
.filter-count { margin-left: 4px; font-size: 9px; color: var(--orange-dark); font-weight: 700; }
.results-layout { display: grid; grid-template-columns: 218px 1fr; gap: 19px; align-items: start; }
.filters-panel { padding: 17px 16px; border: 1px solid var(--line); border-radius: 6px; background: white; }
.filter-heading { display: flex; justify-content: space-between; align-items: center; font-size: 12px; margin-bottom: 18px; }
.filter-heading button { border: 0; background: none; color: var(--orange-dark); font-size: 10px; cursor: pointer; }
.filter-group { border-top: 1px solid #edf0f2; padding: 14px 0 13px; }
.filter-group h3 { display: flex; align-items: center; justify-content: space-between; margin: 0 0 12px; font-size: 10px; font-weight: 700; }
.check-option { display: flex; align-items: center; gap: 8px; margin: 9px 0; font-size: 10px; color: #687783; cursor: pointer; }
.check-option input { width: 13px; height: 13px; margin: 0; accent-color: var(--orange); }
.option-count { margin-left: auto; color: #9da7ad; font-size: 9px; }
.airline-dot { width: 7px; height: 7px; margin-left: -4px; border-radius: 50%; background: #ee795b; }
.airline-dot.northstar { background: #618bd4; }
.airline-dot.skyway { background: #e9b64d; }
.airline-dot.cloudline { background: #56a58a; }
.price-value { color: #73818c; font-weight: 500; }
#price-range { width: 100%; margin: 4px 0 2px; accent-color: var(--orange); }
.range-labels { display: flex; justify-content: space-between; color: #9aa5ac; font-size: 8px; }
.filter-note { padding: 11px 9px; border-radius: 4px; color: #648a7d; background: #f0f7f4; font-size: 9px; }
.filter-note span { margin-right: 5px; color: #5da184; }
.demo-notice { margin-bottom: 10px; padding: 10px 12px; border: 1px solid #f0dfc5; border-radius: 5px; background: #fffaf1; color: #80633c; font-size: 9px; line-height: 1.5; }
.flight-list { display: grid; gap: 11px; }
.flight-card { position: relative; padding: 17px 18px 14px; border: 1px solid var(--line); border-radius: 6px; background: white; transition: box-shadow .2s, border-color .2s; }
.flight-card:hover { border-color: #d4dfe4; box-shadow: 0 6px 20px #1c33400d; }
.flight-main { display: grid; grid-template-columns: 1.16fr 1.5fr .8fr; gap: 20px; align-items: center; }
.airline-info { display: flex; align-items: center; gap: 10px; }
.airline-logo { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border-radius: 50%; color: white; background: #ea7b5e; font-size: 13px; font-weight: 700; }
.airline-logo.northstar { background: #638bd1; }.airline-logo.skyway { background: #d8a741; }.airline-logo.cloudline { background: #55a087; }
.airline-info strong { display: block; font-size: 11px; }
.airline-info small { display: block; margin-top: 3px; color: #99a3aa; font-size: 9px; }
.route-info { min-width: 0; }
.route-times { display: flex; align-items: center; justify-content: space-between; font-size: 14px; font-weight: 600; }
.route-times span:last-child { text-align: right; }
.route-track { display: flex; align-items: center; gap: 7px; margin: 6px 0 4px; color: #9ca8ae; font-size: 8px; }
.track-line { flex: 1; height: 1px; position: relative; background: #dfe6e9; }
.track-line:before, .track-line:after { content: ""; position: absolute; top: -2px; width: 5px; height: 5px; border: 1px solid #c6d1d6; border-radius: 50%; background: white; }
.track-line:before { left: 0; }.track-line:after { right: 0; }
.route-codes { display: flex; justify-content: space-between; color: #87949d; font-size: 9px; }
.fare-info { text-align: right; }
.fare-info .price { display: block; font: 700 20px var(--serif); letter-spacing: -.6px; }
.fare-info small { color: #9aa4ab; font-size: 9px; }
.card-bottom { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #f0f2f4; margin-top: 13px; padding-top: 10px; }
.flight-meta { display: flex; gap: 13px; color: #85929c; font-size: 9px; }
.flight-meta span:first-child { color: #44866f; }
.flight-actions { display: flex; gap: 16px; align-items: center; }
.details-button { padding: 0; border: 0; color: #798791; background: transparent; font-size: 9px; cursor: pointer; }
.book-button { border: 0; border-radius: 3px; padding: 8px 14px; color: #fff; background: var(--ink); font-size: 9px; font-weight: 700; cursor: pointer; transition: background .2s; }
.book-button:hover { background: var(--orange-dark); }
.flight-details { display: none; margin-top: 12px; padding: 12px; border-radius: 4px; background: #f7f9fa; color: #71808a; font-size: 10px; line-height: 1.8; }
.flight-card.expanded .flight-details { display: block; }
.empty-results { padding: 46px 20px; border: 1px dashed #d5dfe3; border-radius: 6px; text-align: center; background: white; }
.empty-results strong { font: 700 16px var(--serif); }
.empty-results p { color: var(--muted); font-size: 11px; }
.empty-results button { border: 0; background: #fff0eb; color: var(--orange-dark); padding: 9px 12px; border-radius: 4px; font-size: 10px; cursor: pointer; }
.deals-section { padding: 67px 0 70px; }
.deals-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 19px; }
.deals-heading h2 { margin-bottom: 0; font-size: 22px; }
.deals-caption { color: #87939b; font-size: 10px; }
.destination-grid { display: grid; grid-template-columns: 1.08fr 1fr 1fr; gap: 13px; }
.destination-card { min-height: 205px; position: relative; display: flex; flex-direction: column; align-items: start; justify-content: space-between; padding: 15px; overflow: hidden; border: 0; border-radius: 5px; color: white; text-align: left; cursor: pointer; background-size: cover; background-position: center; transition: transform .2s; }
.destination-card:hover { transform: translateY(-3px); }
.destination-card:before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,31,41,.1), rgba(13,31,41,.72)); }
.destination-tokyo { background-image: url("https://images.unsplash.com/photo-1540959733332-eab4deabeeaf?auto=format&fit=crop&w=900&q=80"); }
.destination-lisbon { background-image: url("https://images.unsplash.com/photo-1555881400-74d7acaacd8b?auto=format&fit=crop&w=900&q=80"); }
.destination-bali { background-image: url("https://images.unsplash.com/photo-1537996194471-e657df975ab4?auto=format&fit=crop&w=900&q=80"); }
.destination-tag, .destination-info { position: relative; z-index: 1; }
.destination-tag { padding: 5px 7px; border: 1px solid #ffffff72; border-radius: 2px; font-size: 7px; letter-spacing: 1px; }
.destination-info strong { display: block; font: 700 20px var(--serif); }
.destination-info small { display: block; margin-top: 4px; color: #f0f0ed; font-size: 9px; }
.destination-info b { margin-left: 5px; color: #ffad91; }
footer { min-height: 75px; padding: 15px max(calc((100% - 1190px)/2), 5.5%); display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #e8ecef; background: #fff; color: #9aa4aa; font-size: 9px; }
.footer-brand { font-size: 16px; }.footer-brand .brand-mark { font-size: 19px; }
.footer-separator { padding: 0 4px; color: #c6cdcf; }
.modal-backdrop { position: fixed; inset: 0; z-index: 10; display: grid; place-items: center; padding: 20px; background: rgba(16,34,47,.58); backdrop-filter: blur(3px); }
.modal-backdrop[hidden] { display: none; }
.modal { position: relative; width: min(500px, 100%); max-height: min(90vh, 760px); overflow-y: auto; padding: 29px; border-radius: 9px; background: white; box-shadow: 0 24px 80px #101f2b55; }
.modal-close { position: absolute; right: 15px; top: 12px; width: 29px; height: 29px; border: 0; border-radius: 50%; background: #f2f5f6; color: #62717c; font-size: 20px; cursor: pointer; }
.modal-kicker { color: #a17f73; font-size: 8px; font-weight: 700; letter-spacing: 1.5px; }
.modal h2 { margin: 8px 0 6px; font: 700 23px var(--serif); letter-spacing: -.7px; }
.modal-intro { margin: 0 0 19px; color: #82909a; font-size: 11px; }
.booking-summary { margin: 15px 0 19px; padding: 14px; border: 1px solid var(--line); border-radius: 5px; background: #fbfcfc; }
.summary-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.summary-airline { color: #75838c; font-size: 10px; }.summary-price { font-weight: 700; font-size: 16px; }
.summary-route { display: flex; align-items: center; gap: 13px; }
.summary-city { flex: 1; }.summary-city:last-child { text-align: right; }
.summary-city strong { display: block; font-size: 17px; }.summary-city small { color: #89959d; font-size: 9px; }
.summary-flight { color: #7e8d96; text-align: center; font-size: 9px; }.summary-flight span { color: var(--orange); font-size: 15px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.booking-form label { display: block; color: #6e7d87; font-size: 9px; font-weight: 600; }
.booking-form label.full { grid-column: 1/-1; }
.booking-form input { width: 100%; height: 37px; margin-top: 5px; padding: 0 10px; border: 1px solid #e2e8eb; border-radius: 4px; outline: 0; font-size: 11px; }
.booking-form input:focus { border-color: #e89177; box-shadow: 0 0 0 2px #ed76561a; }
.traveler-fieldset { min-width: 0; margin: 0 0 10px; padding: 12px; border: 1px solid var(--line); border-radius: 5px; }
.traveler-fieldset legend { padding: 0 5px; color: var(--ink); font-size: 10px; font-weight: 700; }
.traveler-fieldset legend span { margin-left: 5px; color: #82909a; font-size: 9px; font-weight: 500; }
.contact-fieldset { margin-top: 15px; }
.fare-breakdown { margin: 12px 0 17px; padding: 12px 14px; border-radius: 5px; background: #f7f9fa; font-size: 10px; }
.fare-breakdown > div { display: flex; justify-content: space-between; gap: 10px; margin: 5px 0; color: #74828c; }
.fare-breakdown small { margin-left: 4px; color: #4d8a70; font-size: 8px; }
.fare-breakdown .fare-total { margin: 10px 0 0; padding-top: 9px; border-top: 1px solid #e5eaed; color: var(--ink); font-size: 12px; }
.booking-form .form-submit { width: 100%; height: 41px; margin-top: 15px; border: 0; border-radius: 4px; background: var(--orange); color: white; font-size: 11px; font-weight: 700; cursor: pointer; }
.booking-note { margin-top: 9px; text-align: center; color: #8b969c; font-size: 8px; line-height: 1.6; }
.confirmation-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 14px; border-radius: 50%; color: #38856b; background: #e9f5ef; font-size: 23px; }
.confirmation-card { margin: 20px 0; padding: 15px; border: 1px dashed #ccd9d8; border-radius: 5px; background: #f8fbf9; }
.confirmation-card span { display: block; color: #82918d; font-size: 9px; }.confirmation-card strong { display: block; margin-top: 4px; color: #286a55; font-size: 17px; letter-spacing: 1px; }.confirmation-card small { display: block; margin-top: 9px; color: #82918d; font-size: 9px; }
.confirmation-actions { display: flex; gap: 9px; }.confirmation-actions button { flex: 1; height: 38px; border: 1px solid var(--line); border-radius: 4px; background: white; font-size: 10px; cursor: pointer; }.confirmation-actions button.primary { border-color: var(--ink); background: var(--ink); color: white; }
.trip-item { margin: 12px 0; padding: 14px; border: 1px solid var(--line); border-radius: 5px; }.trip-item-head { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; }.trip-item p { margin: 7px 0; color: #72818c; font-size: 10px; }.trip-item small { color: #9aa5aa; font-size: 9px; }.trip-empty { padding: 24px 10px; text-align: center; color: #849199; font-size: 11px; }
.toast { position: fixed; z-index: 20; left: 50%; bottom: 24px; transform: translate(-50%, 15px); opacity: 0; pointer-events: none; padding: 11px 17px; border-radius: 4px; background: var(--ink); color: white; font-size: 11px; box-shadow: 0 5px 18px #172a3830; transition: opacity .2s, transform .2s; }.toast.show { transform: translate(-50%,0); opacity: 1; }
@media (max-width: 800px) {
  .site-header { height: 68px; padding: 0 5%; }.main-nav { gap: 20px; }.hero { height: 510px; }.hero-content { padding-top: 55px; }.search-card { bottom: -186px; padding: 14px; }
  .search-fields { grid-template-columns: 1fr 1fr; gap: 8px; }.field, .field:first-child, .passenger-field { border: 1px solid var(--line); border-radius: 4px; }.location-field:first-child { padding-right: 24px; }.swap-button { left: calc(50% - 12px); top: 22px; }.return-field.oneway { display: none; }.passenger-popover { top: 170px; right: 14px; }
  .search-button { margin-top: 9px; }.results-section { padding-top: 235px; }.results-layout { grid-template-columns: 1fr; }.filters-panel { display: none; }.filters-panel.open { display: block; }.filter-toggle { display: inline-block; }.flight-main { grid-template-columns: .85fr 1.3fr .65fr; gap: 10px; }.flight-card { padding: 14px; }
}
@media (max-width: 540px) {
  .site-header { padding: 0 17px; }.brand { font-size: 19px; }.main-nav { gap: 13px; }.nav-link { font-size: 10px; }.profile-button { width: 33px; height: 33px; }.nav-link:nth-child(2) { display: none; }
  .hero { height: 530px; }.hero-content, .search-card, .results-section, .deals-section { width: calc(100% - 32px); }.hero-content { padding-top: 42px; }.hero h1 { font-size: 36px; }.hero-content p { font-size: 11px; }.search-card { bottom: -210px; padding: 13px 11px; }.secure-note { font-size: 8px; }
  .search-fields { gap: 6px; }.field { height: 62px; padding: 8px; }.field-main, .field-main input { font-size: 11px; }.field-sub { font-size: 8px; }.field-label { font-size: 7px; }.field-main input[type=date] { font-size: 9px; }.passenger-field { padding-right: 20px; }.passenger-chevron { right: 7px; }.swap-button { top: 19px; }.passenger-popover { right: 10px; top: 160px; }
  .results-section { padding-top: 250px; }.results-heading { align-items: start; flex-direction: column; gap: 15px; }.results-heading h2 { font-size: 21px; }.results-tools { width: 100%; justify-content: space-between; }.sort-control { font-size: 9px; }.sort-control select { max-width: 145px; }.flight-main { grid-template-columns: 1fr auto; gap: 13px; }.route-info { grid-column: 1/-1; grid-row: 2; }.fare-info { grid-column: 2; grid-row: 1; }.fare-info .price { font-size: 18px; }.airline-info { grid-column: 1; grid-row: 1; }.flight-meta { flex-wrap: wrap; gap: 6px 10px; }.flight-actions { gap: 9px; }.book-button { padding: 8px 11px; }.deals-section { padding: 50px 0; }.deals-heading { align-items: start; flex-direction: column; gap: 9px; }.deals-heading h2 { font-size: 19px; }.destination-grid { grid-template-columns: 1fr 1fr; }.destination-card:first-child { grid-column: 1/-1; }.destination-card { min-height: 160px; }.destination-card:first-child { min-height: 190px; }
  footer { padding: 17px; gap: 10px; flex-wrap: wrap; }footer > span:nth-child(2) { display: none; }.modal { padding: 24px 19px; }.summary-route { gap: 7px; }
}
