:root {
  --navy: #052345;
  --yellow: #ffce4e;
  --bg: #f4f4f4;
  --muted: #667385;
  --line: #dce0e5;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--navy);
  background: var(--bg);
  font-family: Poppins, Arial, sans-serif;
  font-size: 14px;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
a {
  color: inherit;
}
.training {
  background: var(--navy);
  color: white;
  padding: 9px 5%;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  display: flex;
  justify-content: space-between;
}
.training span {
  font-weight: 400;
  letter-spacing: 0;
}
header {
  height: 94px;
  padding: 0 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
}
.brand {
  text-decoration: none;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
}
.air {
  font-weight: 400;
  margin-left: 5px;
}
.header-note {
  text-align: right;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
}
.header-note small {
  font-weight: 400;
  letter-spacing: 0;
}
.intro {
  padding: 42px 5% 36px;
  background: #fff;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #667385;
}
h1 {
  font-size: 36px;
  line-height: 1.25;
  margin: 12px 0 14px;
  letter-spacing: -1px;
}
.intro p {
  color: var(--muted);
  margin: 0;
  max-width: 530px;
}
.route-mark {
  align-self: center;
  display: grid;
  grid-template-columns: 1fr 55px 1fr;
  gap: 12px;
  align-items: center;
  text-align: center;
  font-size: 43px;
  font-weight: 600;
  letter-spacing: 3px;
}
.route-mark i {
  font-size: 23px;
  color: #b49334;
}
.route-mark small {
  grid-column: 1/-1;
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--muted);
}
nav {
  display: flex;
  gap: 0;
  max-width: 1280px;
  margin: 25px auto;
  padding: 0 30px;
}
.step {
  flex: 1;
  font-size: 12px;
  color: #7b8491;
  border-bottom: 3px solid #dfe3e6;
  padding: 15px 0;
  display: flex;
  gap: 8px;
  align-items: center;
}
.step b {
  border-radius: 50%;
  width: 23px;
  height: 23px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: #e4e7ea;
  font-weight: 500;
}
.step.active {
  color: var(--navy);
  border-color: var(--yellow);
  font-weight: 600;
}
.step.active b {
  background: var(--yellow);
}
.step.done {
  border-color: var(--navy);
}
main {
  max-width: 1280px;
  margin: 0 auto 60px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 30px;
  padding: 0 30px;
}
h2 {
  font-size: 26px;
  line-height: 1.35;
  letter-spacing: -0.7px;
  margin: 0 0 8px;
}
h3 {
  margin: 0 0 12px;
  font-size: 17px;
}
p.sub {
  margin-top: 0;
  color: var(--muted);
}
.card {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  padding: 24px;
  margin-bottom: 18px;
  box-shadow: 0 4px 12px #05234506;
}
.fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}
input,
select {
  display: block;
  width: 100%;
  border: 1px solid #bac3cd;
  border-radius: 5px;
  padding: 12px;
  background: white;
  color: var(--navy);
  margin-top: 6px;
  min-width: 0;
}
input:focus,
select:focus,
button:focus-visible {
  outline: 3px solid #ffce4e;
  outline-offset: 2px;
}
input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--navy);
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  line-height: 1.6;
}
.primary,
.secondary {
  border: 0;
  border-radius: 26px;
  padding: 12px 25px;
  font-weight: 600;
}
.primary {
  background: var(--yellow);
  color: var(--navy);
}
.secondary {
  background: white;
  border: 1px solid #b9c2cc;
  color: var(--navy);
}
.actions {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin: 22px 0;
}
.actions .primary {
  margin-left: auto;
}
.date-title {
  font-size: 14px;
  margin: 26px 0 12px;
  font-weight: 600;
}
.flight {
  padding: 0;
  overflow: hidden;
}
.flight-info {
  padding: 20px 23px;
  display: flex;
  gap: 25px;
  align-items: center;
  justify-content: space-between;
}
.flight-number {
  font-size: 11px;
  color: var(--muted);
}
.times {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 22px;
  font-weight: 600;
}
.times small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
}
.flight-line {
  font-size: 11px;
  font-weight: 400;
  text-align: center;
  color: var(--muted);
  min-width: 80px;
}
.flight-line:before {
  content: "";
  display: block;
  height: 1px;
  background: #cbd0d7;
  margin-bottom: 6px;
}
.fares {
  display: flex;
  border-top: 1px solid var(--line);
  background: #fafbfc;
}
.fare {
  flex: 1;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  padding: 16px;
  text-align: left;
  color: var(--navy);
}
.fare:last-child {
  border-right: 0;
}
.fare:hover {
  background: #fff7dc;
}
.fare.selected {
  background: #ffce4e40;
  box-shadow: inset 0 -3px 0 var(--yellow);
}
.fare strong {
  display: block;
  font-size: 21px;
}
.fare span {
  display: block;
  font-size: 10px;
  color: var(--muted);
}
.fare em {
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
}
.summary {
  position: sticky;
  top: 20px;
}
.summary h3 {
  font-size: 19px;
}
.summary-route {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.summary-route strong {
  font-size: 14px;
}
.summary-route small {
  display: block;
  color: var(--muted);
  margin-top: 3px;
}
.row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin: 13px 0;
}
.row small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}
.total {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  font-size: 20px;
  font-weight: 700;
}
.vip {
  background: #fff7df;
  border: 1px solid #f2d786;
  border-radius: 6px;
  padding: 14px;
  margin: 18px 0;
}
.vip b {
  font-size: 13px;
}
.vip p {
  font-size: 11px;
  margin: 5px 0 0;
  color: #665e45;
}
.note {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
}
.error {
  background: #fff0ef;
  border: 1px solid #d49b95;
  padding: 15px;
  border-radius: 6px;
  color: #8c3026;
  margin: 15px 0;
}
.notice {
  background: #eef3f8;
  border: 1px solid #cbd9e5;
  padding: 15px;
  border-radius: 6px;
  margin: 15px 0;
}
.loading {
  padding: 50px;
  text-align: center;
}
.spinner {
  width: 28px;
  height: 28px;
  border: 3px solid #dbe1e8;
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 15px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.extra-head {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
}
.extra-head strong {
  font-size: 15px;
}
.extra-head span {
  font-size: 13px;
}
.extras-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.extras-grid .card {
  padding: 18px;
}
.extra-options {
  border-top: 1px solid var(--line);
  margin-top: 12px;
  padding-top: 12px;
}
.extra-options label {
  font-size: 11px;
}
.charge-lines .row {
  font-size: 12px;
}
.charge-lines .row span:first-child {
  max-width: 75%;
}
.passenger-tag {
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}
footer {
  padding: 25px 5%;
  border-top: 1px solid var(--line);
  background: white;
  font-size: 11px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}
.confirmation {
  padding: 35px;
  text-align: center;
}
.locator {
  font-size: 38px;
  letter-spacing: 5px;
  margin: 20px 0;
}
details summary {
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
}
button.link {
  background: none;
  border: 0;
  text-decoration: underline;
  color: var(--navy);
  padding: 0;
  font-size: 12px;
}
@media (min-width: 1500px) {
  header,
  .intro {
    padding-left: calc((100vw - 1220px) / 2);
    padding-right: calc((100vw - 1220px) / 2);
  }
}
@media (max-width: 850px) {
  main {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }
  .summary {
    position: static;
  }
  .intro {
    padding: 30px 20px;
  }
  .route-mark {
    display: none;
  }
  h1 {
    font-size: 30px;
  }
  nav {
    padding: 0 20px;
  }
  .step {
    font-size: 10px;
  }
  .step b {
    width: 19px;
    height: 19px;
  }
  .fields {
    grid-template-columns: 1fr 1fr;
  }
  .training span {
    display: none;
  }
  .header-note {
    font-size: 9px;
  }
  .brand {
    font-size: 18px;
  }
  header {
    padding: 0 20px;
    height: 80px;
  }
  footer {
    display: block;
  }
  footer span {
    display: block;
    margin-top: 8px;
  }
}
@media (max-width: 480px) {
  .fields,
  .extras-grid {
    grid-template-columns: 1fr;
  }
  .flight-info {
    gap: 10px;
    padding: 17px;
    flex-wrap: wrap;
  }
  .times {
    gap: 12px;
    font-size: 20px;
  }
  .step {
    flex-direction: column;
    gap: 5px;
  }
  .fares {
    flex-wrap: wrap;
  }
  .fare {
    min-width: 45%;
  }
  .card {
    padding: 18px;
  }
  .flight {
    padding: 0;
  }
  .header-note {
    max-width: 115px;
  }
  .brand svg {
    width: 30px;
  }
  .brand {
    font-size: 15px;
    gap: 6px;
  }
}

.brand-logo {
  width: 185px;
  height: 78px;
  object-fit: contain;
}
@media (max-width: 480px) {
  .brand-logo {
    width: 150px;
    height: 64px;
  }
}
