/* Demo airline site. Colours are the ones airindiaexpress.com's own stylesheet uses most (orange, near-black,
   red, light grey, teal tint); the wordmark is plain text, not IX's logo. */
:root {
  --orange: #ff6423;
  --ink: #1b1b1b;
  --red: #d12442;
  --mist: #f2f2f2;
  --paper: #ffffff;
  --tint: #c7e8f1;
  --teal: #00c1d4;
  --muted: #6e6e6e;
  --line: #e1e1df;
  --radius: 12px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--mist);
  line-height: 1.45;
}
a { color: var(--red); }
button { font: inherit; cursor: pointer; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }

/* ---- the demo ribbon: this is not the airline's site ---- */
.ribbon { background: var(--tint); color: var(--ink); font-size: 12.5px; text-align: center; padding: 7px 12px; border-bottom: 1px solid #a9d5e2; }
.ribbon b { letter-spacing: 0.04em; }

/* ---- header ---- */
.top { background: var(--ink); color: #fff; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; letter-spacing: 0.06em; font-size: 15px; text-transform: uppercase; }
.brand .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--orange); box-shadow: 8px 0 0 -2px var(--red); margin-right: 8px; }
.brand small { font-weight: 600; letter-spacing: 0.02em; text-transform: none; color: #bdbdbd; margin-left: 4px; }
.top nav { display: flex; gap: 22px; font-size: 13px; font-weight: 600; }
.top nav a { color: #e8e8e8; text-decoration: none; }
.top nav a:hover { color: var(--orange); }
@media (max-width: 720px) { .top nav { display: none; } }

/* ---- home ---- */
.hero { background: var(--ink); color: #fff; padding: 44px 0 110px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -120px; top: -140px; width: 480px; height: 480px; border-radius: 50%; background: var(--orange); opacity: 0.95; }
.hero::after { content: ""; position: absolute; right: 150px; bottom: -190px; width: 340px; height: 340px; border-radius: 50%; background: var(--red); opacity: 0.9; }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { margin: 0 0 8px; font-size: clamp(28px, 4.4vw, 46px); line-height: 1.08; font-weight: 800; max-width: 14ch; }
.hero p { margin: 0; color: #d9d9d9; max-width: 44ch; }
.card { background: var(--paper); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12); }
.search { margin: -72px auto 40px; padding: 22px; position: relative; z-index: 2; }
.trip { display: flex; gap: 8px; margin-bottom: 16px; }
.trip label { display: flex; align-items: center; gap: 7px; padding: 8px 16px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 600; }
.trip input { accent-color: var(--orange); }
.trip label:has(input:checked) { border-color: var(--orange); background: #fff3ed; }
.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; }
.field { grid-column: span 3; display: flex; flex-direction: column; gap: 5px; }
.field.wide { grid-column: span 4; }
@media (max-width: 900px) { .field, .field.wide { grid-column: span 6; } }
@media (max-width: 560px) { .field, .field.wide { grid-column: span 12; } }
.field span { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.field input, .field select { height: 48px; border: 1.5px solid var(--line); border-radius: 10px; padding: 0 12px; font: inherit; font-size: 15px; font-weight: 600; background: #fff; color: var(--ink); width: 100%; }
.field input:focus, .field select:focus, button:focus-visible, a:focus-visible { outline: 3px solid var(--tint); outline-offset: 1px; border-color: var(--orange); }
.guests { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.concessions { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 16px 0 6px; font-size: 13px; }
.concessions label { display: flex; align-items: center; gap: 7px; }
.concessions input { accent-color: var(--orange); width: 16px; height: 16px; }
.concessions small { color: var(--muted); }
.go { margin-top: 14px; width: 100%; height: 52px; border: 0; border-radius: 10px; background: var(--orange); color: #fff; font-weight: 800; font-size: 16px; letter-spacing: 0.02em; }
.go:hover { background: #e9561a; }
.err { color: var(--red); font-size: 13px; margin-top: 8px; min-height: 18px; }
.picks { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 6px; align-items: center; font-size: 13px; }
.picks b { color: var(--muted); font-weight: 700; margin-right: 4px; }
.picks a { padding: 7px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; }
.picks a:hover { border-color: var(--orange); }
.note { font-size: 13px; color: var(--muted); margin: 8px 0 40px; max-width: 70ch; }

/* ---- results ---- */
.summary { background: var(--ink); color: #fff; }
.summary .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; padding-top: 14px; padding-bottom: 14px; }
.summary .route { font-weight: 800; font-size: 20px; }
.summary .meta { color: #cfcfcf; font-size: 13px; }
.summary a { margin-left: auto; color: #fff; background: rgba(255, 255, 255, 0.12); text-decoration: none; padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: 13px; }
.strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin: 18px 0; }
.strip a { background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px; padding: 9px 4px; text-align: center; text-decoration: none; color: var(--ink); font-size: 12px; display: block; }
.strip a b { display: block; font-size: 14px; }
.strip a.on { border-color: var(--orange); background: #fff3ed; }
.strip a.none { opacity: 0.45; }
.dir { margin: 26px 0 10px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.dir h2 { margin: 0; font-size: 20px; }
.dir span { color: var(--muted); font-size: 13px; }
.flight { padding: 16px 18px; margin-bottom: 12px; display: grid; grid-template-columns: minmax(210px, 1.1fr) 3fr; gap: 14px 20px; align-items: center; }
@media (max-width: 860px) { .flight { grid-template-columns: 1fr; } }
.times { display: flex; align-items: center; gap: 12px; }
.times .t { font-size: 22px; font-weight: 800; line-height: 1; }
.times .c { font-size: 12px; color: var(--muted); font-weight: 600; }
.times .mid { flex: 1; min-width: 60px; text-align: center; font-size: 11px; color: var(--muted); }
.times .mid i { display: block; height: 2px; background: var(--line); margin: 5px 0; position: relative; }
.times .mid i::after { content: ""; position: absolute; right: -1px; top: -3px; border: 4px solid transparent; border-left-color: var(--orange); }
.fno { font-size: 12px; color: var(--muted); margin-top: 8px; font-weight: 600; }
.fares { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 8px; }
.fare { border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: 9px 10px; text-align: left; color: var(--ink); }
.fare:hover { border-color: var(--orange); }
.fare.sel { border-color: var(--orange); background: #fff3ed; box-shadow: inset 0 0 0 1px var(--orange); }
.fare .n { display: block; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.fare .p { display: block; font-size: 17px; font-weight: 800; margin: 2px 0; }
.fare .i { display: block; font-size: 11px; color: var(--muted); line-height: 1.3; }
.seats { font-size: 11px; color: var(--red); font-weight: 700; margin-top: 8px; }
.bar { position: sticky; bottom: 0; background: var(--ink); color: #fff; margin-top: 24px; z-index: 5; }
.bar .wrap { display: flex; align-items: center; gap: 16px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.bar .sum { flex: 1; font-size: 13px; color: #d9d9d9; min-width: 200px; }
.bar .sum b { color: #fff; }
.bar .tot { font-size: 20px; font-weight: 800; }
.bar button { background: var(--orange); color: #fff; border: 0; border-radius: 10px; padding: 13px 26px; font-weight: 800; }
.bar button:disabled { background: #555; cursor: not-allowed; }
.state { padding: 40px 18px; text-align: center; color: var(--muted); }
.state b { color: var(--ink); display: block; font-size: 17px; margin-bottom: 6px; }
.concession-note { background: var(--tint); border-radius: 10px; padding: 10px 14px; font-size: 13px; margin: 6px 0 14px; }
.legend { font-size: 12px; color: var(--muted); margin: 6px 0 40px; }

/* ---- the end of the demo ---- */
.end { max-width: 640px; margin: 56px auto; padding: 32px; }
.end h1 { margin-top: 0; }
.end .btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.end .btns a { padding: 12px 22px; border-radius: 10px; font-weight: 700; text-decoration: none; background: var(--orange); color: #fff; }
.end .btns a.alt { background: var(--mist); color: var(--ink); }
footer { background: var(--ink); color: #bdbdbd; font-size: 12.5px; padding: 22px 0 40px; margin-top: 30px; }
footer b { color: #fff; }
