:root {
  --black: #0a0a0b;
  --surface: #121214;
  --surface-2: #19191c;
  --line: rgba(200, 169, 126, 0.18);
  --gold: #c8a97e;
  --gold-light: #e3cba3;
  --text: #ece8e1;
  --muted: #9b958b;
  --radius: 4px;
  --radius-lg: 8px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Jost", system-ui, sans-serif;
  font-weight: 300;
  color: var(--text);
  background: var(--black);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; line-height: 1.1; margin: 0 0 .5em; }
h1 { font-size: clamp(2.8rem, 7vw, 5.2rem); }
h1 em { font-style: italic; color: var(--gold-light); font-weight: 400; }
h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
h3 { font-size: 1.5rem; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.gold { color: var(--gold); }
.muted { color: var(--muted); }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .32em; font-size: .72rem;
  font-weight: 400; color: var(--gold); margin: 0 0 1.2em;
  display: flex; align-items: center; gap: .9em;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }

/* Scroll-in reveal (only when JS is running) */
.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--reveal-delay, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* Buttons */
.btn {
  display: inline-block; padding: .95em 2em; border-radius: var(--radius);
  background: var(--gold); color: var(--black); border: 1px solid var(--gold);
  font: inherit; font-size: .8rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, box-shadow .3s;
}
.btn:hover { background: var(--gold-light); border-color: var(--gold-light); box-shadow: 0 0 30px rgba(200, 169, 126, .35); }
.btn-ghost { background: transparent; color: var(--gold-light); }
.btn-ghost:hover { background: rgba(200, 169, 126, .1); }
.btn-small { padding: .6em 1.3em; font-size: .7rem; }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 20; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(10, 10, 11, .85); backdrop-filter: blur(12px); border-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo {
  display: flex; align-items: center; gap: .6em; text-decoration: none; color: var(--text);
  font-family: "Cormorant Garamond", serif; font-size: 1.25rem; font-weight: 600; letter-spacing: .22em;
}
.logo svg { color: var(--gold); }
.logo em { font-style: normal; font-weight: 400; color: var(--gold); }
.logo-small { font-size: 1rem; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { text-decoration: none; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; transition: color .2s; }
.nav-links a:not(.btn):hover { color: var(--gold); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 1px; background: var(--gold); margin: 6px 0; }

/* Hero */
.hero {
  position: relative; overflow: hidden; min-height: 100vh; display: flex; align-items: center;
  background: radial-gradient(ellipse at 80% 100%, #1e1a14 0%, #0d0d0f 45%, var(--black) 80%);
}
.stars, .star-layer { position: absolute; inset: -60px; }
.star-layer { transition: transform 1.2s var(--ease); will-change: transform; }
.star-layer i {
  position: absolute; border-radius: 50%; background: #f3e6cf;
  animation: twinkle var(--d, 3s) ease-in-out infinite; animation-delay: var(--delay, 0s);
}
.star-layer:last-child i { box-shadow: 0 0 6px rgba(243, 230, 207, .8); }
@keyframes twinkle { 0%, 100% { opacity: .15; } 50% { opacity: .95; } }
.path { position: absolute; inset: 0; width: 100%; height: 100%; }
.path-base { fill: none; stroke: var(--gold); stroke-width: 1; stroke-dasharray: 2 8; opacity: .35; }
.path-trail {
  fill: none; stroke: var(--gold-light); stroke-width: 1.5; stroke-linecap: round;
  stroke-dasharray: 0 99999; filter: drop-shadow(0 0 4px var(--gold));
}
.plane path { fill: var(--gold-light); filter: drop-shadow(0 0 3px rgba(200, 169, 126, .7)); }
.hero-inner { position: relative; padding: 140px 0 100px; will-change: transform, opacity; }
.hero-inner > * { animation: rise 1.2s var(--ease) both; }
.hero-inner > :nth-child(2) { animation-delay: .15s; }
.hero-inner > :nth-child(3) { animation-delay: .3s; }
.hero-inner > :nth-child(4) { animation-delay: .45s; }
@keyframes rise { from { opacity: 0; transform: translateY(40px); } }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }
.scroll-hint { position: absolute; bottom: 32px; left: 50%; width: 1px; height: 56px; background: var(--line); overflow: hidden; }
.scroll-hint span { position: absolute; left: 0; width: 1px; height: 20px; background: var(--gold); animation: drop 2s ease-in-out infinite; }
@keyframes drop { from { top: -20px; } to { top: 56px; } }

/* Sections */
.section { padding: 110px 0; border-top: 1px solid var(--line); position: relative; }
.section-alt { background: var(--surface); }
.grid { display: grid; gap: 1.5rem; margin-top: 3rem; }

/* 3D tilt (driven by script.js) */
.tilt { transform-style: preserve-3d; transition: transform .5s var(--ease); will-change: transform; }
.tilt.tilting { transition: transform .08s linear; }

/* Flight offer */
.offer { background: linear-gradient(180deg, var(--surface) 0%, var(--black) 100%); }
.offer-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; }
.offer-copy > p { color: var(--muted); }
.perks { list-style: none; padding: 0; margin: 1.8rem 0 2.2rem; display: grid; gap: .7rem; }
.perks li { padding-left: 1.6em; position: relative; }
.perks li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); font-size: .8em; top: .15em; }
.fine { font-size: .8rem; color: var(--muted); margin-top: 1.2rem; }
.ticket-float { perspective: 1000px; }
.ticket-float.in .ticket { animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
.ticket {
  background: linear-gradient(145deg, #1f1e22, var(--surface-2) 60%); border: 1px solid var(--line);
  border-radius: 10px; padding: 2rem; position: relative; overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.02) inset;
}
.ticket > :not(.glare) { transform: translateZ(30px); }
.glare {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(227, 203, 163, .22), transparent 55%);
}
.ticket.tilting .glare { opacity: 1; }
.ticket-top { display: flex; justify-content: space-between; font-size: .7rem; letter-spacing: .28em; color: var(--muted); }
.ticket-route { display: flex; justify-content: space-between; align-items: center; margin: 2rem 0; color: var(--gold); }
.ticket-route b { display: block; font-family: "Cormorant Garamond", serif; font-size: 2.6rem; font-weight: 500; color: var(--text); letter-spacing: .05em; line-height: 1; }
.ticket-route small, .ticket-row small { display: block; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.ticket-route div:last-child { text-align: right; }
.ticket-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; border-top: 1px dashed var(--line); padding-top: 1.4rem; }

/* Globe */
.globe-section { background: radial-gradient(ellipse at 35% 55%, #17140f 0%, var(--black) 60%); overflow: hidden; padding-bottom: 80px; }
.globe-head { text-align: center; }
.globe-head .eyebrow { justify-content: center; }
.globe-head .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--gold); }
.globe-wrap { width: min(1320px, 100% - 32px); margin: 1rem auto 0; display: grid; grid-template-columns: 1.55fr .85fr; align-items: center; gap: 2rem; }
.globe-stage { position: relative; height: min(80vh, 780px); min-height: 440px; cursor: grab; touch-action: pan-y; user-select: none; }
.globe-stage.dragging { cursor: grabbing; }
.globe-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s; }
.globe-stage.ready canvas { opacity: 1; }
.globe-labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.globe-label {
  position: absolute; left: 0; top: 0; padding: .2em .6em; margin-top: -4px; cursor: pointer;
  background: rgba(10, 10, 11, .55); border: 1px solid var(--line); border-radius: 2px; backdrop-filter: blur(4px);
  color: var(--text); font: inherit; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap;
  transition: color .3s, border-color .3s, background .3s;
}
.globe-label:hover { color: var(--gold-light); }
.globe-label.active { color: var(--black); background: var(--gold); border-color: var(--gold); font-weight: 500; }
.globe-loading {
  position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none;
  font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); transition: opacity .6s;
}
.globe-stage.ready .globe-loading { opacity: 0; }
.globe-stage.failed { height: auto; min-height: 0; }
.globe-stage.failed .globe-loading { display: none; }

.dest-panel { display: grid; gap: 1.4rem; }
.dest-photo {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--line); background: var(--surface);
  border-radius: var(--radius-lg);
}
.dest-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.12); transition: opacity 1s var(--ease), transform 6s var(--ease);
}
.dest-photo img.show { opacity: 1; transform: scale(1); }
.dest-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,10,11,.5), transparent 50%); pointer-events: none; }
.dest-detail { min-height: 190px; }
.dest-detail .region { font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.dest-detail h3 { font-size: 2.1rem; margin: .2em 0 .3em; }
.dest-detail p { color: var(--muted); margin: 0 0 1.2rem; }
.dest-detail > * { animation: fadeIn .6s var(--ease) both; }
.dest-detail > :nth-child(2) { animation-delay: .05s; }
.dest-detail > :nth-child(3) { animation-delay: .1s; }
.dest-detail > :nth-child(4) { animation-delay: .15s; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } }
.dest-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.dest-list button {
  width: 100%; display: flex; align-items: baseline; gap: .7em; padding: .55em .2em; text-align: left;
  background: none; border: 0; border-bottom: 1px solid var(--line); color: var(--muted); font: inherit; cursor: pointer;
  transition: color .25s, padding .25s;
}
.dest-list .num { font-size: .66rem; letter-spacing: .1em; color: var(--gold); opacity: .6; }
.dest-list .name { font-family: "Cormorant Garamond", serif; font-size: 1.15rem; }
.dest-list .country { display: none; }
.dest-list button:hover, .dest-list button.active { color: var(--text); padding-left: .6em; }
.dest-list button.active .num { opacity: 1; }
.dest-list button.active .name { color: var(--gold-light); }

/* Photo strip under the globe */
.dest-strip {
  display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2.5rem max(16px, (100% - 1320px) / 2) 1.5rem;
  perspective: 1200px; scrollbar-width: thin; scrollbar-color: var(--gold) transparent;
}
.strip-card {
  flex: 0 0 220px; aspect-ratio: 3 / 4; position: relative; overflow: hidden; scroll-snap-align: start;
  border: 1px solid var(--line); padding: 0; background: var(--surface); cursor: pointer; font: inherit; color: var(--text); text-align: left;
  border-radius: var(--radius-lg);
}
.strip-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; filter: saturate(.85) brightness(.8); }
.strip-card:hover img, .strip-card.active img { transform: scale(1.08); filter: none; }
.strip-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.8), transparent 55%); }
.strip-card::before { content: ""; position: absolute; inset: 10px; z-index: 2; border: 1px solid transparent; border-radius: 4px; transition: border-color .4s; pointer-events: none; }
.strip-card.active::before, .strip-card:hover::before { border-color: rgba(227, 203, 163, .6); }
.strip-body { position: absolute; left: 1.1rem; bottom: 1rem; z-index: 1; transform: translateZ(40px); }
.strip-body small { display: block; font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.strip-body b { font-family: "Cormorant Garamond", serif; font-weight: 500; font-size: 1.5rem; }

/* Services */
.cards { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); perspective: 1200px; }
.card { padding: 2.4rem 2rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--surface-2), var(--black)); }
.card:hover { border-color: rgba(200, 169, 126, .45); box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.card > * { transform: translateZ(25px); }
.card p { color: var(--muted); margin: 0; }
.card-num { display: block; font-family: "Cormorant Garamond", serif; color: var(--gold); font-size: 1rem; letter-spacing: .2em; margin-bottom: 1.6rem; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 3rem 0 0; display: grid; gap: 3rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps p { color: var(--muted); margin: 0; }
.step-num {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold); font-family: "Cormorant Garamond", serif; font-size: 1.2rem; margin-bottom: 1.2rem;
  box-shadow: 0 0 0 0 rgba(200, 169, 126, .4); animation: pulse 3s ease-out infinite;
}
.steps li:nth-child(2) .step-num { animation-delay: 1s; }
.steps li:nth-child(3) .step-num { animation-delay: 2s; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(200, 169, 126, .4); } 70%, 100% { box-shadow: 0 0 0 16px rgba(200, 169, 126, 0); } }

/* Contact */
.section-contact { background: var(--surface); }
.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; }
.contact a { text-decoration: none; }
.form { display: grid; gap: 1.2rem; background: var(--black); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2.4rem; }
.form label { display: grid; gap: .4rem; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.form input, .form textarea, .form select {
  font: inherit; font-size: 1rem; letter-spacing: normal; text-transform: none; color: var(--text);
  background: transparent; border: 0; border-bottom: 1px solid rgba(236, 232, 225, .2);
  padding: .55em 0; width: 100%; border-radius: 0; color-scheme: dark; transition: border-color .3s;
}
.form select { cursor: pointer; }
.form select option { background: var(--surface); }
.form input::placeholder, .form textarea::placeholder { color: #5f5a52; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-bottom-color: var(--gold); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-row-3 { grid-template-columns: 1fr 1fr .6fr; }
.form .btn { justify-self: start; margin-top: .5rem; }
.form-status { margin: 0; font-size: .9rem; color: var(--gold-light); }
.hp { position: absolute; left: -9999px; }

.footer { padding: 2rem 0; font-size: .82rem; color: var(--muted); border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer a { text-decoration: none; color: var(--gold); }

/* Credits page */
.credits { border: 0; min-height: 100vh; }
.credits h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-top: 2rem; }
.credits ul { padding-left: 1.2em; margin: 2rem 0; display: grid; gap: .6rem; color: var(--muted); }
.credits b { color: var(--text); font-weight: 400; }
.credits ul a { color: var(--gold); }

/* Mobile */
@media (max-width: 960px) {
  .globe-wrap { grid-template-columns: minmax(0, 1fr); }
  .globe-wrap > * { min-width: 0; }
  .globe-stage { height: 100vw; max-height: 560px; min-height: 340px; }
  .dest-detail { min-height: 0; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 1.4rem;
    padding: 2rem; background: var(--black); border-bottom: 1px solid var(--line); display: none;
  }
  .nav-links.open { display: flex; }
  .offer-inner, .contact { grid-template-columns: 1fr; gap: 3rem; }
  .form { padding: 1.6rem; }
  .form-row, .form-row-3 { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .strip-card { flex-basis: 170px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .path-trail, .plane { display: none; }
}
