:root {
  --navy: #003b58;
  --blue: #006b89;
  --cyan: #00a3b4;
  --gold: #d8a544;
  --gold-light: #f3ce7b;
  --ink: #153647;
  --muted: #66808c;
  --sky: #eaf5f7;
  --paper: #f7faf9;
  --white: #fff;
  --line: #dbe7e9;
  --shadow: 0 24px 70px rgba(0, 59, 88, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Be Vietnam Pro", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.site-header {
  position: absolute; z-index: 10; top: 0; left: 50%; transform: translateX(-50%);
  width: min(1380px, calc(100% - 8vw)); height: 92px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.brand img { display: block; width: 235px; height: auto; }
.site-header .brand img { padding: 8px 12px; background: rgba(255,255,255,.94); border-radius: 8px; }
.site-header nav { display: flex; align-items: center; gap: 34px; color: rgba(255,255,255,.86); font-size: 11px; font-weight: 600; }
.site-header nav a { transition: color .2s; }
.site-header nav a:hover { color: var(--gold-light); }
.internal-badge { padding: 8px 13px; border: 1px solid rgba(255,255,255,.28); border-radius: 99px; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }

.hero {
  position: relative; min-height: 760px; padding: 190px max(6vw, calc((100vw - 1380px)/2)) 110px;
  display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 8vw;
  overflow: hidden; color: var(--white);
  background: linear-gradient(135deg, #006f8d 0%, #005875 48%, #003c59 100%);
}
.sky-grid { position: absolute; inset: 0; opacity: .19; background-image: linear-gradient(rgba(255,255,255,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.13) 1px, transparent 1px); background-size: 74px 74px; mask-image: linear-gradient(to right, transparent, #000 55%, transparent); }
.hero::before { content: ""; position: absolute; width: 620px; height: 620px; right: -110px; top: 50px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; box-shadow: 0 0 0 85px rgba(255,255,255,.025), 0 0 0 170px rgba(255,255,255,.018); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 110px; background: linear-gradient(to bottom right, transparent 49%, var(--paper) 50%); }
.flight-path { position: absolute; border: 1px dashed rgba(255,255,255,.25); border-radius: 50%; pointer-events: none; }
.path-one { width: 1000px; height: 330px; right: -240px; top: 150px; transform: rotate(-13deg); }
.path-two { width: 760px; height: 260px; left: -380px; bottom: 120px; transform: rotate(10deg); }
.plane { position: absolute; z-index: 1; right: 10%; top: 18%; color: rgba(255,255,255,.15); font-size: 110px; transform: rotate(-20deg); filter: drop-shadow(0 20px 20px rgba(0,0,0,.12)); }
.hero-copy { position: relative; z-index: 2; max-width: 760px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--blue); font-size: 9px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--gold); }
.eyebrow.light { color: var(--gold-light); }
h1 { margin: 24px 0 25px; font-size: clamp(52px, 6.8vw, 96px); line-height: 1.02; letter-spacing: -.065em; }
h1 em { color: var(--gold-light); font-family: "Playfair Display", Georgia, serif; font-weight: 600; }
.hero-copy > p { max-width: 610px; margin: 0; color: rgba(255,255,255,.68); font-size: 14px; line-height: 1.85; }
.hero-actions { display: flex; align-items: center; gap: 34px; margin-top: 36px; }
.primary-button { display: inline-flex; align-items: center; gap: 32px; padding: 15px 18px 15px 23px; color: var(--navy); background: linear-gradient(135deg, #f2ce7c, var(--gold)); border-radius: 7px; box-shadow: 0 14px 35px rgba(0,0,0,.16); font-size: 11px; font-weight: 700; }
.primary-button span { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid rgba(0,59,88,.22); border-radius: 50%; }
.hero-stat { display: flex; align-items: center; gap: 10px; padding-left: 30px; border-left: 1px solid rgba(255,255,255,.24); }
.hero-stat strong { color: var(--gold-light); font-family: "Playfair Display", serif; font-size: 37px; }
.hero-stat small { color: rgba(255,255,255,.58); font-size: 8px; line-height: 1.6; letter-spacing: .09em; text-transform: uppercase; }

.flight-card { position: relative; z-index: 3; width: min(100%, 410px); justify-self: end; padding: 28px; color: var(--ink); background: rgba(255,255,255,.96); border-radius: 18px; box-shadow: 0 30px 80px rgba(0,29,45,.3); transform: rotate(2deg); }
.flight-card::before { content: ""; position: absolute; left: -9px; top: 63%; width: 18px; height: 18px; background: var(--blue); border-radius: 50%; box-shadow: 410px 0 var(--blue); }
.flight-card-head { display: flex; justify-content: space-between; color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: .16em; }
.flight-card-head b { color: var(--gold); }
.route { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; margin: 35px 0 30px; }
.route strong { display: block; color: var(--blue); font-size: 35px; letter-spacing: -.07em; }
.route small { color: var(--muted); font-size: 8px; text-transform: uppercase; }
.route-line { position: relative; height: 1px; border-top: 1px dashed #9eb5bd; }
.route-line span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(5deg); padding: 5px; color: var(--blue); background: var(--white); font-size: 16px; }
.flight-meta { display: grid; grid-template-columns: 1fr 1fr; padding: 17px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.flight-meta span + span { padding-left: 20px; border-left: 1px solid var(--line); }
.flight-meta small, .flight-meta b { display: block; }
.flight-meta small { color: #9aabb1; font-size: 7px; letter-spacing: .14em; }
.flight-meta b { margin-top: 7px; font-size: 10px; }
.flight-meta .ready { color: #138b6b; }
.barcode { height: 32px; margin-top: 22px; opacity: .45; background: repeating-linear-gradient(90deg, var(--navy) 0 2px, transparent 2px 5px, var(--navy) 5px 6px, transparent 6px 9px); }

.library { max-width: 1380px; margin: auto; padding: 90px 4vw 130px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 42px; }
h2 { margin: 13px 0 0; max-width: 760px; font-size: clamp(32px, 4.2vw, 54px); line-height: 1.13; letter-spacing: -.055em; }
.search { min-width: 315px; display: flex; align-items: center; gap: 12px; padding: 13px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 8px 30px rgba(0,59,88,.05); }
.search span { color: var(--blue); font-size: 20px; }
.search input { width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 10px; }
.document-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.document-card { position: relative; min-height: 340px; padding: 27px; display: flex; flex-direction: column; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 8px 30px rgba(0,59,88,.055); transition: transform .25s, box-shadow .25s, border-color .25s; }
.document-card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); }
.document-card:hover { transform: translateY(-6px); border-color: #bbd6dc; box-shadow: var(--shadow); }
.card-top { display: flex; align-items: center; justify-content: space-between; color: #9aadb4; font-size: 8px; font-weight: 700; letter-spacing: .14em; }
.card-icon { width: 43px; height: 43px; display: grid; place-items: center; color: var(--white); background: linear-gradient(145deg, var(--cyan), var(--blue)); border-radius: 50% 50% 50% 8px; box-shadow: 0 8px 20px rgba(0,107,137,.2); font-size: 10px; }
.document-card h3 { margin: 30px 0 9px; font-size: 19px; letter-spacing: -.035em; }
.document-card > p { min-height: 42px; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.document-card > .file-list { display: none; }
.file-list { margin-top: 20px; border-top: 1px solid var(--line); }
.file-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; color: var(--ink); border-bottom: 1px solid var(--line); font-size: 9px; line-height: 1.4; transition: color .2s, padding-left .2s; }
.file-list a:hover { padding-left: 4px; color: var(--blue); }
.file-list span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list b { flex: 0 0 auto; padding: 4px 6px; color: var(--blue); background: var(--sky); border-radius: 3px; font-size: 7px; letter-spacing: .08em; }
.process-button { margin-top: auto; padding: 15px 0 5px; display: flex; align-items: center; justify-content: space-between; color: var(--blue); background: transparent; border: 0; border-bottom: 1px solid var(--line); cursor: pointer; font-size: 9px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.process-button span { width: 24px; height: 24px; display: grid; place-items: center; color: var(--white); background: var(--blue); border-radius: 50%; transition: transform .2s; }
.document-card:hover .process-button span { transform: translateX(3px); }
.document-card:focus-visible { outline: 3px solid rgba(0,163,180,.3); outline-offset: 3px; }
.empty-state { display: none; padding: 50px; text-align: center; color: var(--muted); }
.empty-state.visible { display: block; }

body.modal-open { overflow: hidden; }
.process-modal { position: fixed; z-index: 50; inset: 0; display: grid; place-items: center; padding: 28px; visibility: hidden; opacity: 0; transition: opacity .25s, visibility .25s; }
.process-modal.open { visibility: visible; opacity: 1; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,38,57,.72); backdrop-filter: blur(8px); }
.modal-panel { position: relative; width: min(980px, 100%); max-height: calc(100vh - 56px); overflow-y: auto; background: var(--paper); border-radius: 20px; box-shadow: 0 35px 100px rgba(0,25,40,.38); transform: translateY(20px) scale(.98); transition: transform .25s; }
.process-modal.open .modal-panel { transform: none; }
.modal-header { position: relative; padding: 38px 45px 34px; overflow: hidden; color: var(--white); background: linear-gradient(130deg, #007a94, #003d5b); }
.modal-header::after { content: "✈"; position: absolute; right: 55px; bottom: -35px; color: rgba(255,255,255,.08); font-size: 150px; transform: rotate(-15deg); }
.modal-kicker { position: relative; z-index: 1; color: var(--gold-light); font-size: 8px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.modal-header h2 { position: relative; z-index: 1; margin: 11px 0 8px; font-size: clamp(30px, 4vw, 45px); }
.modal-header p { position: relative; z-index: 1; max-width: 640px; margin: 0; color: rgba(255,255,255,.65); font-size: 10px; line-height: 1.7; }
.modal-close { position: absolute; z-index: 3; right: 20px; top: 20px; width: 38px; height: 38px; color: var(--white); background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 50%; cursor: pointer; font-size: 24px; line-height: 1; }
.modal-content { padding: 38px 45px 45px; }
.section-label { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.section-label > span { width: 35px; height: 35px; display: grid; place-items: center; color: var(--white); background: var(--blue); border-radius: 50%; font-family: "Playfair Display", serif; font-size: 13px; }
.section-label strong, .section-label small { display: block; }
.section-label strong { font-size: 12px; }
.section-label small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.process-steps li { position: relative; min-height: 145px; padding: 20px 17px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; counter-increment: steps; }
.process-steps li::before { content: counter(steps, decimal-leading-zero); display: block; margin-bottom: 25px; color: var(--gold); font-family: "Playfair Display", serif; font-size: 22px; }
.process-steps strong { display: block; margin-bottom: 7px; font-size: 10px; }
.process-steps p { margin: 0; color: var(--muted); font-size: 8px; line-height: 1.6; }
.modal-download-section { margin-top: 35px; padding-top: 30px; border-top: 1px solid var(--line); }
.reveal-files-button { width: 100%; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; color: var(--navy); background: linear-gradient(135deg, var(--gold-light), var(--gold)); border: 0; border-radius: 8px; cursor: pointer; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.reveal-files-button:disabled { color: #8c9b9f; background: #e5ebeb; cursor: not-allowed; }
.modal-file-list { display: none; margin-top: 14px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 4px 18px; }
.modal-file-list.visible { display: block; }
.modal-file-list .file-list { margin: 0; border: 0; }
.modal-file-list .file-list a { padding: 13px 0; font-size: 10px; }

.guide { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 9vw; padding: 110px max(7vw, calc((100vw - 1260px)/2)); overflow: hidden; color: var(--white); background: linear-gradient(135deg, #006d89, #003b58); }
.guide::after { content: "✈"; position: absolute; right: 4%; bottom: -80px; color: rgba(255,255,255,.05); font-size: 300px; transform: rotate(-15deg); }
.guide h2 { position: relative; z-index: 1; }
.guide > div p { max-width: 470px; color: rgba(255,255,255,.58); font-size: 11px; line-height: 1.8; }
.guide ol { position: relative; z-index: 1; margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.2); }
.guide li { padding: 24px 0; display: flex; gap: 26px; border-bottom: 1px solid rgba(255,255,255,.2); }
.guide li > span { color: var(--gold-light); font-family: "Playfair Display", serif; font-size: 24px; }
.guide strong { font-size: 12px; }
.guide li p { margin: 6px 0 0; color: rgba(255,255,255,.52); font-size: 9px; }
footer { max-width: 1380px; margin: auto; padding: 32px 4vw; display: flex; align-items: center; justify-content: space-between; color: var(--muted); }
.footer-brand img { width: 210px; }
footer p { font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }

.chat-launcher { position: fixed; z-index: 40; right: 24px; bottom: 24px; padding: 8px 15px 8px 8px; display: flex; align-items: center; gap: 10px; color: var(--white); background: linear-gradient(135deg, #007b95, #004766); border: 1px solid rgba(255,255,255,.18); border-radius: 99px; box-shadow: 0 18px 45px rgba(0,49,72,.3); cursor: pointer; transition: transform .2s, opacity .2s; }
.chat-launcher:hover { transform: translateY(-3px); }
.chat-launcher.hidden { opacity: 0; pointer-events: none; }
.chat-launcher-icon { width: 38px; height: 38px; display: grid; place-items: center; color: var(--navy); background: var(--gold); border-radius: 50%; font-size: 17px; }
.chat-launcher-label { text-align: left; }
.chat-launcher-label strong, .chat-launcher-label small { display: block; }
.chat-launcher-label strong { font-size: 10px; }
.chat-launcher-label small { margin-top: 3px; color: rgba(255,255,255,.6); font-size: 7px; }
.chat-panel { position: fixed; z-index: 45; right: 24px; bottom: 24px; width: min(390px, calc(100vw - 30px)); height: min(610px, calc(100vh - 40px)); display: flex; flex-direction: column; overflow: hidden; visibility: hidden; opacity: 0; transform: translateY(18px) scale(.98); background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 90px rgba(0,39,59,.3); transition: .22s; }
.chat-panel.open { visibility: visible; opacity: 1; transform: none; }
.chat-header { padding: 17px; display: flex; align-items: center; gap: 11px; color: var(--white); background: linear-gradient(135deg, #007b95, #003d5b); }
.chat-avatar { width: 38px; height: 38px; display: grid; place-items: center; color: var(--navy); background: var(--gold); border-radius: 50%; }
.chat-header div:nth-child(2) { flex: 1; }
.chat-header strong, .chat-header small { display: block; }
.chat-header strong { font-size: 10px; }
.chat-header small { margin-top: 4px; color: rgba(255,255,255,.65); font-size: 7px; }
.chat-header small i { display: inline-block; width: 5px; height: 5px; margin-right: 4px; background: #62e0af; border-radius: 50%; }
.chat-close { width: 30px; height: 30px; color: var(--white); background: rgba(255,255,255,.12); border: 0; border-radius: 50%; cursor: pointer; font-size: 18px; }
.chat-messages { flex: 1; padding: 18px; overflow-y: auto; background: #f4f8f8; }
.chat-message { width: fit-content; max-width: 86%; margin-bottom: 10px; padding: 11px 13px; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 4px 13px 13px 13px; font-size: 9px; line-height: 1.65; white-space: pre-line; }
.chat-message.user { margin-left: auto; color: var(--white); background: var(--blue); border-color: var(--blue); border-radius: 13px 4px 13px 13px; }
.chat-message.loading { color: var(--muted); }
.chat-suggestions { padding: 10px 14px 0; display: flex; gap: 6px; overflow-x: auto; }
.chat-suggestions button { flex: 0 0 auto; padding: 7px 9px; color: var(--blue); background: var(--sky); border: 0; border-radius: 99px; cursor: pointer; font-size: 7px; }
.chat-form { margin: 10px 14px 0; padding: 6px 6px 6px 12px; display: flex; gap: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; }
.chat-form input { flex: 1; min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 9px; }
.chat-form button { width: 34px; height: 34px; color: var(--white); background: var(--blue); border: 0; border-radius: 8px; cursor: pointer; }
.chat-disclaimer { margin: 7px 14px 11px; color: #97a8ad; font-size: 6px; text-align: center; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: 950px; }
  .flight-card { justify-self: start; width: 410px; transform: none; }
  .document-grid { grid-template-columns: repeat(2, 1fr); }
  .guide { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
  .site-header { width: calc(100% - 36px); height: 76px; }
  .brand img { width: 185px; }
  .site-header nav a { display: none; }
  .hero { min-height: 900px; padding: 135px 20px 100px; }
  h1 { font-size: 47px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .hero-stat { padding-left: 0; border-left: 0; }
  .flight-card { width: 100%; padding: 22px; }
  .flight-card::before { display: none; }
  .section-heading { align-items: stretch; flex-direction: column; }
  .search { min-width: 0; }
  .library { padding: 65px 18px 80px; }
  .document-grid { grid-template-columns: 1fr; }
  .guide { padding: 75px 22px; }
  footer { align-items: flex-start; flex-direction: column; gap: 18px; padding: 25px 20px; }
  .chat-launcher { right: 14px; bottom: 14px; }
  .chat-panel { right: 10px; bottom: 10px; width: calc(100vw - 20px); height: min(620px, calc(100vh - 20px)); }
  .process-modal { padding: 10px; }
  .modal-panel { max-height: calc(100vh - 20px); border-radius: 14px; }
  .modal-header { padding: 30px 22px 25px; }
  .modal-content { padding: 25px 20px 30px; }
  .process-steps { grid-template-columns: 1fr; }
  .process-steps li { min-height: 0; }
}
