/* ═══════════════════════════════════════════════════════════════════════
   Yeti Airlines public site (Welcome + B2C) — airline-style shell.
   Palette sampled from the official logo: green #009848, gold #D0A860.
   ═══════════════════════════════════════════════════════════════════════ */
:root {
    --g950: #022414; --g900: #03331c; --g800: #05502b; --g700: #007a3a;
    --g600: #009848; --g500: #1aab5c; --g200: #bfe8cf; --g100: #e5f6ec; --g50: #f3fbf6;
    --gold: #d0a860; --gold-d: #9c7432; --gold-l: #f1e2bf; --gold-50: #fbf6ea;
    --ink: #16211b; --ink-2: #4b5a52; --ink-3: #7f8c85;
    --line: #e3ebe6; --page: #f4f7f5; --white: #fff;
    --shadow: 0 24px 60px -28px rgba(3, 51, 28, .45);
    --radius: 18px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--ink); background: var(--page);
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ── Utility bar + header ─────────────────────────────────────────────── */
.ya-util { background: var(--g900); color: #d9efe2; font-size: 12.5px; }
.ya-util .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 34px; }
.ya-util a { color: #fff; font-weight: 600; }
.ya-util a:hover { color: var(--gold-l); }
.ya-util .sep { opacity: .35; margin: 0 8px; }

.ya-head { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.ya-head .wrap { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.ya-logo img { height: 42px; width: auto; display: block; }
.ya-nav { display: flex; gap: 4px; flex: 1; }
.ya-nav a {
    padding: 10px 14px; border-radius: 10px; font-weight: 700; font-size: 14.5px; color: var(--ink);
    position: relative; transition: color .12s, background .12s;
}
.ya-nav a:hover { color: var(--g700); background: var(--g50); }
.ya-nav a.on::after {
    content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 3px; border-radius: 3px; background: var(--g600);
}
.ya-cta {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 20px; border-radius: 999px; font-weight: 800; font-size: 14px;
    background: var(--g600); color: #fff; box-shadow: 0 10px 22px -12px rgba(0, 152, 72, .9);
    transition: transform .12s, background .12s;
}
.ya-cta:hover { background: var(--g700); transform: translateY(-1px); }
.ya-burger { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--g800); }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.ya-hero {
    position: relative; color: #fff; min-height: 460px;
    background:
        linear-gradient(100deg, rgba(2, 36, 20, .86) 0%, rgba(3, 51, 28, .55) 45%, rgba(3, 51, 28, .12) 100%),
        url('/img/brand/nepal-hero.jpg') center 35% / cover no-repeat, var(--g900);
}
.ya-hero .wrap { padding-top: 64px; padding-bottom: 150px; }
.ya-kicker {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
    background: rgba(208, 168, 96, .2); border: 1px solid rgba(241, 226, 191, .45);
    color: var(--gold-l); font-size: 12px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase;
}
.ya-hero h1 { margin-top: 16px; font-size: clamp(34px, 5.6vw, 62px); font-weight: 900; line-height: 1.03; letter-spacing: -1.4px; max-width: 700px; }
.ya-hero h1 em { font-style: normal; color: var(--gold); }
.ya-hero p { margin-top: 14px; max-width: 540px; font-size: 17px; line-height: 1.55; color: #d9efe2; }

/* ── Booking widget ───────────────────────────────────────────────────── */
.ya-book { position: relative; z-index: 5; margin-top: -112px; }
.ya-card { background: #fff; border-radius: 22px; box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.ya-tabs { display: flex; border-bottom: 1px solid var(--line); background: var(--g50); }
.ya-tab {
    flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px;
    padding: 16px 22px; border: 0; background: none; cursor: pointer;
    font-weight: 800; font-size: 14.5px; color: var(--ink-2); position: relative;
}
.ya-tab svg { color: var(--g600); }
.ya-tab.on { color: var(--g800); background: #fff; }
.ya-tab.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--g600); }
.ya-pane { display: none; padding: 22px 24px 26px; }
.ya-pane.on { display: block; }
.ya-trip { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; align-items: center; }
.ya-chip {
    display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px;
    border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-weight: 700; font-size: 13.5px; color: var(--ink-2);
}
.ya-chip input { accent-color: var(--g600); }
.ya-chip.on { border-color: var(--g600); background: var(--g100); color: var(--g800); }
.ya-note { margin-left: auto; font-size: 12.5px; color: var(--ink-3); }
.ya-grid { display: grid; grid-template-columns: 1.15fr auto 1.15fr 1fr 1fr 1fr auto; gap: 10px; align-items: stretch; }
.ya-f {
    position: relative; border: 1.5px solid var(--line); border-radius: 14px; padding: 10px 14px 9px;
    background: #fff; transition: border-color .12s, box-shadow .12s; min-width: 0;
}
.ya-f:focus-within { border-color: var(--g600); box-shadow: 0 0 0 4px rgba(0, 152, 72, .12); }
.ya-f label { display: block; font-size: 11px; font-weight: 800; letter-spacing: .9px; text-transform: uppercase; color: var(--ink-3); }
.ya-f select, .ya-f input {
    width: 100%; border: 0; outline: 0; background: transparent; margin-top: 3px;
    font-size: 16.5px; font-weight: 800; color: var(--ink); padding: 0; min-width: 0;
}
.ya-f select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.ya-f .sub { display: block; font-size: 12px; color: var(--ink-3); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ya-f.off { background: var(--page); }
.ya-f.off input { color: var(--ink-3); }
.ya-swap {
    align-self: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line);
    background: #fff; color: var(--g700); cursor: pointer; display: grid; place-items: center;
    transition: transform .2s, border-color .12s;
}
.ya-swap:hover { transform: rotate(180deg); border-color: var(--g600); }
.ya-go {
    border: 0; border-radius: 14px; padding: 0 26px; min-height: 62px; cursor: pointer;
    background: linear-gradient(180deg, #e0bd79 0%, var(--gold) 55%, #b88a3e 100%);
    color: var(--g950); font-weight: 900; font-size: 15.5px; letter-spacing: .2px;
    box-shadow: 0 14px 26px -14px rgba(156, 116, 50, .9);
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    transition: transform .12s, filter .12s;
}
.ya-go:hover { transform: translateY(-1px); filter: brightness(1.04); }
.ya-go:disabled { opacity: .6; cursor: wait; transform: none; }
.ya-row2 { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; }
.ya-help { margin-top: 12px; font-size: 13px; color: var(--ink-3); }
.ya-help a { color: var(--g700); font-weight: 700; }

/* ── Quick tiles ──────────────────────────────────────────────────────── */
.ya-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 22px; }
.ya-q {
    display: flex; gap: 12px; align-items: center; padding: 16px; border-radius: 16px; background: #fff;
    border: 1px solid var(--line); transition: transform .12s, box-shadow .12s, border-color .12s;
}
.ya-q:hover { transform: translateY(-2px); border-color: var(--g200); box-shadow: 0 14px 30px -20px rgba(3, 51, 28, .45); }
.ya-q .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--g100); color: var(--g700); flex: none; }
.ya-q b { display: block; font-size: 15px; }
.ya-q span { font-size: 12.5px; color: var(--ink-3); }

/* ── Sections ─────────────────────────────────────────────────────────── */
.ya-sec { padding: 64px 0 8px; }
.ya-sec h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 900; letter-spacing: -.8px; }
.ya-sec .lead { margin-top: 6px; color: var(--ink-2); font-size: 15.5px; }
.ya-sec-hd { display: flex; justify-content: space-between; align-items: end; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.ya-eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 1.3px; text-transform: uppercase; color: var(--g600); margin-bottom: 6px; }

.ya-routes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ya-route {
    position: relative; overflow: hidden; border-radius: 20px; padding: 22px; min-height: 170px; color: #fff; cursor: pointer;
    background: linear-gradient(145deg, var(--g800), var(--g600));
    display: flex; flex-direction: column; justify-content: space-between;
    transition: transform .15s, box-shadow .15s; border: 0; text-align: left;
}
.ya-route:nth-child(3n+2) { background: linear-gradient(145deg, #0a4a2c, #0f7d4a); }
.ya-route:nth-child(3n)   { background: linear-gradient(145deg, #3b3016, var(--gold-d)); }
.ya-route:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -22px rgba(3, 51, 28, .7); }
.ya-route svg.mtn { position: absolute; right: -10px; bottom: -6px; width: 240px; opacity: .22; }
.ya-route .codes { display: flex; align-items: center; gap: 12px; font-size: 30px; font-weight: 900; letter-spacing: -.5px; }
.ya-route .codes i { flex: 1; max-width: 90px; height: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.7) 0 6px, transparent 6px 11px); position: relative; }
.ya-route .codes i::after { content: '✈'; position: absolute; right: -4px; top: -11px; font-size: 16px; font-style: normal; }
.ya-route .cities { font-size: 13.5px; opacity: .85; margin-top: 4px; font-weight: 600; }
.ya-route .go { align-self: flex-start; margin-top: 18px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.16); font-weight: 800; font-size: 13px; }

.ya-why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ya-w { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.ya-w .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--gold-50); color: var(--gold-d); margin-bottom: 14px; }
.ya-w h3 { font-size: 16.5px; font-weight: 800; }
.ya-w p { font-size: 13.5px; color: var(--ink-2); line-height: 1.55; margin-top: 6px; }

.ya-agents {
    margin-top: 64px; border-radius: 26px; padding: 36px 40px; color: #fff; position: relative; overflow: hidden;
    background: linear-gradient(120deg, var(--g950) 0%, var(--g800) 60%, var(--g700) 100%);
    display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap;
}
.ya-agents::after { content: ''; position: absolute; right: -80px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(208,168,96,.35), transparent 65%); }
.ya-agents > * { position: relative; z-index: 1; }
.ya-agents h3 { font-size: 26px; font-weight: 900; letter-spacing: -.4px; }
.ya-agents p { color: #cfe9da; margin-top: 6px; max-width: 560px; font-size: 14.5px; line-height: 1.55; }
.ya-agents .btns { display: flex; gap: 10px; flex-wrap: wrap; }
.ya-btn-gold { padding: 13px 22px; border-radius: 999px; background: var(--gold); color: var(--g950); font-weight: 900; }
.ya-btn-ghost { padding: 13px 22px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.4); color: #fff; font-weight: 800; }
.ya-btn-gold:hover { filter: brightness(1.05); }
.ya-btn-ghost:hover { background: rgba(255,255,255,.08); }

/* ── Footer ───────────────────────────────────────────────────────────── */
.ya-foot { margin-top: 72px; background: var(--g950); color: #b9d8c6; font-size: 13.5px; }
.ya-foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; padding: 48px 20px 30px; }
.ya-foot img { height: 40px; background: #fff; padding: 6px 10px; border-radius: 10px; }
.ya-foot h4 { color: #fff; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }
.ya-foot a { display: block; padding: 4px 0; color: #b9d8c6; }
.ya-foot a:hover { color: var(--gold-l); }
.ya-foot .base { border-top: 1px solid rgba(255,255,255,.08); padding: 16px 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12.5px; }

/* ── B2C results / checkout blocks ────────────────────────────────────── */
.ya-status { font-size: 14px; color: var(--ink-2); min-height: 20px; font-weight: 600; }
.ya-results { display: grid; gap: 14px; margin-top: 14px; }
.ya-res {
    display: grid; grid-template-columns: 1fr 2fr 1.1fr; gap: 20px; align-items: center;
    background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px;
    box-shadow: 0 6px 18px -14px rgba(3, 51, 28, .4); transition: transform .12s, box-shadow .12s, border-color .12s;
}
.ya-res:hover { transform: translateY(-2px); border-color: var(--g200); box-shadow: 0 18px 34px -22px rgba(3, 51, 28, .55); }
.ya-res .al { display: flex; gap: 10px; align-items: center; }
.ya-res .al .dot { width: 40px; height: 40px; border-radius: 12px; background: var(--g100); display: grid; place-items: center; color: var(--g700); font-weight: 900; font-size: 13px; }
.ya-res .al b { display: block; font-size: 14.5px; }
.ya-res .al span { font-size: 12px; color: var(--ink-3); }
.ya-res .path { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; }
.ya-res .t { font-size: 24px; font-weight: 900; letter-spacing: -.5px; }
.ya-res .c { font-size: 11.5px; color: var(--ink-3); font-weight: 700; letter-spacing: .6px; text-transform: uppercase; }
.ya-res .line { position: relative; height: 2px; background: repeating-linear-gradient(90deg, var(--g500) 0 6px, transparent 6px 11px); }
.ya-res .line::after { content: '✈'; position: absolute; left: 50%; top: -12px; transform: translateX(-50%); color: var(--g700); font-size: 15px; background: #fff; padding: 0 4px; }
.ya-res .price { text-align: right; }
.ya-res .price strong { display: block; font-size: 24px; font-weight: 900; color: var(--g700); letter-spacing: -.5px; }
.ya-res .price small { display: block; font-size: 11.5px; color: var(--ink-3); margin-bottom: 8px; }
.ya-sel {
    border: 0; border-radius: 999px; padding: 11px 20px; cursor: pointer; font-weight: 800; color: #fff;
    background: linear-gradient(180deg, var(--g500), var(--g700)); box-shadow: 0 10px 20px -12px rgba(0, 122, 58, .9);
}
.ya-sel:hover { filter: brightness(1.05); }
.ya-empty { padding: 26px; background: #fff; border: 1.5px dashed var(--line); border-radius: 16px; color: var(--ink-2); text-align: center; }
.ya-panel { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: 0 14px 32px -24px rgba(3, 51, 28, .45); }
.ya-panel h2 { font-size: 21px; font-weight: 900; }
.ya-panel > p { color: var(--ink-2); font-size: 13.5px; margin: 4px 0 16px; }
.ya-form { display: grid; grid-template-columns: 2fr 1.3fr 1.3fr; gap: 10px; }
.ya-form .ya-f input { font-size: 15px; font-weight: 700; }
.ya-actions { display: flex; gap: 14px; align-items: center; margin-top: 16px; flex-wrap: wrap; }
.ya-fare-pill { display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 999px; background: var(--g100); color: var(--g800); font-weight: 800; font-size: 13.5px; }

/* Wait state for the B2C search */
.ya-wait { display: none; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line); margin-top: 14px; }
.ya-wait.on { display: flex; }
.ya-wait .plane { width: 120px; height: 28px; position: relative; flex: none; background: repeating-linear-gradient(90deg, var(--g200) 0 6px, transparent 6px 11px) center / 100% 2px no-repeat; }
.ya-wait .plane::after { content: '✈'; position: absolute; top: 2px; left: 0; color: var(--g700); font-size: 18px; animation: yaFly 1.6s ease-in-out infinite; }
@keyframes yaFly { from { left: 0; } to { left: calc(100% - 18px); } }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
    .ya-grid { grid-template-columns: 1fr auto 1fr; }
    .ya-grid .ya-f.d, .ya-grid .ya-f.r, .ya-grid .ya-f.p { grid-column: span 1; }
    .ya-grid .ya-go { grid-column: 1 / -1; }
    .ya-quick { grid-template-columns: repeat(2, 1fr); }
    .ya-why { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
    .ya-nav { display: none; }
    .ya-nav.open { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: #fff; padding: 10px 16px 16px; border-bottom: 1px solid var(--line); }
    .ya-burger { display: block; }
    .ya-head .ya-cta { display: none; }
    .ya-routes { grid-template-columns: 1fr 1fr; }
    .ya-foot .cols { grid-template-columns: 1fr 1fr; }
    .ya-res { grid-template-columns: 1fr; }
    .ya-res .price { text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
    .ya-res .price small { margin: 0; }
    .ya-form { grid-template-columns: 1fr; }
    .ya-row2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .ya-util .hide-s { display: none; }
    .ya-hero .wrap { padding-top: 40px; padding-bottom: 130px; }
    .ya-grid { grid-template-columns: 1fr; }
    .ya-swap { justify-self: center; transform: rotate(90deg); margin: -4px 0; }
    .ya-swap:hover { transform: rotate(270deg); }
    .ya-tab { padding: 14px 14px; font-size: 13.5px; }
    .ya-pane { padding: 18px 16px 20px; }
    .ya-note { margin-left: 0; width: 100%; }
    .ya-quick, .ya-why, .ya-routes { grid-template-columns: 1fr; }
    .ya-agents { padding: 26px 22px; }
    .ya-foot .cols { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; }
}
