@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;0,9..144,900;1,9..144,500;1,9..144,600&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #0F2A4A;
  --navy-deep: #081524;
  --blue: #2E6DA4;
  --blue-light: #7FB0E0;
  --gold: #E08E1D;
  --gold-light: #F5B84B;
  --gold-deep: #B96F0F;
  --cream: #FAF3E6;
  --paper: #FFFDF8;
  --ink: #1B2430;
  --ink-soft: #5B6472;
  --line: #D9CBAE;
  --line-on-navy: rgba(250, 243, 230, 0.28);
  --radius: 20px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .display {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.section-navy .eyebrow, .eyebrow.on-navy { color: var(--gold-light); }

/* ---------- Layout sections ---------- */
.section { padding: 96px 0; position: relative; }
.section-tight { padding: 64px 0; }
.section-cream { background: var(--cream); }
.section-paper { background: var(--paper); }
.section-navy {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--paper);
}
.section-navy .ink-soft { color: rgba(250,243,230,0.7); }
.ink-soft { color: var(--ink-soft); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: all 0.3s ease;
  background: transparent;
}
.nav.scrolled {
  background: rgba(250, 243, 230, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
  padding: 12px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 60px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a:not(.btn) {
  font-weight: 600; font-size: 14.5px; color: var(--paper);
  position: relative; padding-bottom: 4px; transition: color 0.3s ease;
}
.nav.scrolled .nav-links a:not(.btn) { color: var(--navy); }
.nav-links a:not(.btn)::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--gold); transition: right 0.25s ease;
}
.nav-links a:not(.btn):hover::after { right: 0; }

.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: inline-flex; align-items: center; gap: 5px; cursor: pointer;
  font-weight: 600; font-size: 14.5px; color: var(--paper); transition: color 0.3s ease;
}
.nav.scrolled .nav-dropdown-toggle { color: var(--navy); }
.nav-dropdown-toggle svg { transition: transform 0.2s ease; }
.nav-dropdown:hover .nav-dropdown-toggle svg,
.nav-dropdown:focus-within .nav-dropdown-toggle svg { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 50%; margin-top: 14px;
  transform: translateX(-50%) translateY(6px);
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 20px 40px -20px rgba(15,42,74,0.4);
  padding: 8px; min-width: 160px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: block; padding: 10px 14px; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: var(--navy) !important;
}
.nav-dropdown-menu a::after { display: none; }
.nav-dropdown-menu a:hover { background: var(--cream); }

.nav-burger { display: none; background: none; border: none; padding: 8px; }
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--paper); margin: 5px 0; transition: background 0.3s ease; }
.nav.scrolled .nav-burger span { background: var(--navy); }
.mobile-menu {
  display: none; flex-direction: column;
  background: var(--paper); border-top: 1px solid var(--line);
  padding: 8px 24px 20px;
}
.mobile-menu a { padding: 12px 0; font-weight: 600; color: var(--navy); border-bottom: 1px dashed var(--line); }
.mobile-menu a.btn { display: block; text-align: center; border-bottom: none; margin-top: 14px; }
.mobile-menu.open { display: flex; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 28px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: none; transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-deep));
  color: var(--navy-deep);
  box-shadow: 0 10px 24px -8px rgba(224, 142, 29, 0.55);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(224, 142, 29, 0.65); }
.btn-outline {
  background: transparent; color: var(--navy); border: 1.5px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--paper); }
.section-navy .btn-outline { color: var(--paper); border-color: rgba(250,243,230,0.5); }
.section-navy .btn-outline:hover { background: var(--paper); color: var(--navy); }
.btn-block { width: 100%; }
.btn-lg { padding: 18px 34px; font-size: 16.5px; }

/* ---------- Boarding pass ticket ---------- */
.ticket {
  display: flex; background: var(--paper); border-radius: var(--radius);
  box-shadow: 0 30px 60px -30px rgba(15, 42, 74, 0.35);
  position: relative; overflow: visible;
}
.ticket-main { flex: 1; padding: 32px; }
.ticket-stub {
  width: 150px; flex-shrink: 0; padding: 32px 20px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  position: relative;
  border-left: 2px dashed var(--line);
}
.ticket-stub::before, .ticket-stub::after {
  content: ''; position: absolute; left: -11px; width: 22px; height: 22px;
  border-radius: 50%; background: var(--cream);
}
.ticket-stub::before { top: -11px; }
.ticket-stub::after { bottom: -11px; }
.ticket-field { text-align: center; }
.ticket-field .label {
  display: block; font-size: 10px; letter-spacing: 0.14em; font-weight: 700;
  color: var(--ink-soft); text-transform: uppercase; margin-bottom: 3px;
}
.ticket-field .value { font-family: 'Fraunces', serif; font-weight: 600; font-size: 18px; color: var(--navy); }
.ticket-barcode {
  height: 34px; width: 100%;
  background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 5px, var(--ink) 5px 6px, transparent 6px 9px);
  opacity: 0.75; border-radius: 3px;
}

/* ---------- Passport stamp badge ---------- */
.stamp {
  display: inline-flex; align-items: center; justify-content: center;
  width: 92px; height: 92px; border-radius: 50%;
  border: 2px dashed var(--gold-deep); color: var(--gold-deep);
  font-family: 'Fraunces', serif; font-weight: 700; font-size: 12px;
  text-align: center; text-transform: uppercase; letter-spacing: 0.06em;
  transform: rotate(-8deg); flex-shrink: 0;
  opacity: 0.92; padding: 8px;
}
.stamp.blue { border-color: var(--blue); color: var(--blue); }
.stamp.tilt-right { transform: rotate(7deg); }

/* ---------- Dashed flight divider ---------- */
.route-divider { display: flex; align-items: center; gap: 14px; margin: 48px 0; }
.route-divider .line { flex: 1; height: 0; border-top: 2px dashed var(--line); }
.section-navy .route-divider .line { border-top-color: var(--line-on-navy); }
.route-divider .plane { color: var(--gold); font-size: 20px; transform: rotate(90deg); }

/* ---------- Cards ---------- */
.stub-card {
  background: var(--paper); border-radius: 16px; padding: 28px;
  border-top: 4px solid var(--gold);
  box-shadow: 0 16px 40px -24px rgba(15,42,74,0.35);
  height: 100%;
  color: var(--ink);
}
.stub-card h3 { color: var(--navy); }
.stub-card .ink-soft { color: var(--ink-soft); }
.stub-card .icon-circle {
  width: 52px; height: 52px; border-radius: 50%; background: var(--cream);
  display: flex; align-items: center; justify-content: center; font-size: 24px;
  margin-bottom: 18px; border: 1.5px dashed var(--gold-deep);
}

.service-card {
  background: var(--navy); color: var(--paper); border-radius: var(--radius);
  padding: 32px; position: relative; overflow: hidden;
  border: 1px solid rgba(250,243,230,0.08);
  transition: transform 0.25s ease;
}
.service-card:hover { transform: translateY(-6px); }
.service-card .tag {
  position: absolute; top: 20px; right: -34px; background: var(--gold);
  color: var(--navy-deep); font-weight: 800; font-size: 11px; letter-spacing: 0.08em;
  padding: 4px 40px; transform: rotate(35deg);
}
.service-card h3 { color: var(--paper); font-size: 24px; margin: 16px 0 10px; }
.service-card p { color: rgba(250,243,230,0.72); font-size: 14.5px; line-height: 1.6; }
.service-card .icon-circle {
  width: 56px; height: 56px; border-radius: 50%; background: rgba(250,243,230,0.08);
  display: flex; align-items: center; justify-content: center; font-size: 26px;
  border: 1.5px dashed rgba(250,243,230,0.4);
}
.service-card .learn-more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 18px;
  color: var(--gold-light); font-weight: 700; font-size: 14px; border: none; background: none;
}

/* ---------- Partner strip ---------- */
.partner-strip { overflow: hidden; }
.partner-track {
  display: flex; width: max-content; gap: 56px;
  animation: partner-scroll 28s linear infinite;
  align-items: center;
}
.partner-track:hover { animation-play-state: paused; }
.partner-track img { height: 46px; width: auto; object-fit: contain; transition: transform 0.25s ease; }
.partner-track img:hover { transform: scale(1.08); }
@keyframes partner-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Testimonial postcards ---------- */
.postcard {
  background: var(--paper); border-radius: 14px; padding: 28px;
  box-shadow: 0 20px 40px -26px rgba(15,42,74,0.4);
  border: 1px solid var(--line);
  position: relative;
}
.postcard::before {
  content: '"'; position: absolute; top: 10px; right: 22px;
  font-family: 'Fraunces', serif; font-size: 64px; color: var(--cream); z-index: 0;
}
.postcard-body { position: relative; z-index: 1; }
.postcard-avatar {
  width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--navy); color: var(--gold-light); font-family: 'Fraunces', serif; font-weight: 700;
}

/* ---------- Forms ---------- */
.field { margin-bottom: 18px; }
.field label {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 10px;
  border: 1.5px solid var(--line); background: var(--paper); color: var(--ink);
  font-family: 'Inter', sans-serif; font-size: 15px; transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(224,142,29,0.16);
}
.field textarea { resize: vertical; min-height: 90px; }
.radio-row { display: flex; flex-wrap: wrap; gap: 20px; }
.radio-pill { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; cursor: pointer; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-soft); line-height: 1.5; }
.checkbox-row input { margin-top: 3px; }

.form-card {
  background: var(--paper); border-radius: var(--radius);
  box-shadow: 0 30px 60px -30px rgba(15,42,74,0.3);
  border: 1px solid var(--line);
}
.form-section-title {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Fraunces', serif; font-weight: 600; font-size: 19px; color: var(--navy);
  margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px dashed var(--line);
}
.form-section-title .num {
  width: 28px; height: 28px; border-radius: 50%; background: var(--gold);
  color: var(--navy-deep); font-size: 13px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.status-banner { border-radius: 14px; padding: 16px 20px; font-weight: 600; text-align: center; }
.status-success { background: rgba(46, 125, 90, 0.12); color: #1E6B4A; border: 1px solid rgba(46,125,90,0.3); }
.status-error { background: rgba(196, 60, 60, 0.1); color: #B23A3A; border: 1px solid rgba(196,60,60,0.3); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: rgba(250,243,230,0.75); padding: 64px 0 32px; }
.footer h4 { color: var(--paper); font-family: 'Inter', sans-serif; font-weight: 700; font-size: 15px; margin-bottom: 16px; }
.footer a { color: rgba(250,243,230,0.65); }
.footer a:hover { color: var(--gold-light); }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-bottom { border-top: 1px solid rgba(250,243,230,0.12); margin-top: 40px; padding-top: 24px; text-align: center; font-size: 13.5px; color: rgba(250,243,230,0.5); }
.social-row { display: flex; gap: 14px; margin-top: 16px; }
.social-row a {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(250,243,230,0.25);
  display: flex; align-items: center; justify-content: center;
}
.social-row a:hover { border-color: var(--gold-light); }

.testimonial-viewport { overflow: hidden; border-radius: var(--radius); }
.testimonial-track { display: flex; transition: transform 0.5s ease; }
.testimonial-slide { width: 100%; flex-shrink: 0; padding: 4px; }
.testimonial-dots { display: flex; justify-content: center; gap: 10px; margin-top: 28px; }
.testimonial-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: none;
  background: var(--line); padding: 0; transition: background 0.2s ease, transform 0.2s ease;
}
.testimonial-dots button.active { background: var(--gold); transform: scale(1.25); }

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(8, 21, 36, 0.72);
  backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center;
  z-index: 200; opacity: 0; pointer-events: none; transition: opacity 0.25s ease; padding: 20px;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal-box {
  background: var(--paper); border-radius: var(--radius); max-width: 520px; width: 100%;
  padding: 36px; transform: translateY(16px); transition: transform 0.25s ease;
  max-height: 85vh; overflow-y: auto;
}
.modal-overlay.open .modal-box { transform: translateY(0); }
.modal-close { background: none; border: none; font-size: 20px; color: var(--ink-soft); }
.modal-feature { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--ink-soft); margin-bottom: 8px; }
.modal-feature .dot { color: var(--gold-deep); font-weight: 800; }

/* ---------- Utility ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.hidden { display: none; }
.hp-field { position: absolute; left: -9999px; top: -9999px; height: 0; width: 0; overflow: hidden; }

@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .ticket { flex-direction: column; }
  .ticket-stub { width: 100%; border-left: none; border-top: 2px dashed var(--line); flex-direction: row; justify-content: space-between; }
  .ticket-stub::before, .ticket-stub::after { top: -11px; bottom: auto; }
  .ticket-stub::before { left: -11px; }
  .ticket-stub::after { left: auto; right: -11px; }
}
