/* ============ Gaipp — design tokens ============ */
:root {
  --bg: #070B1A;
  --surface: #0F1530;
  --text: #EEF1FF;
  --text-2: #C4CBE6;
  --muted: #B4BCDA;
  --muted-2: #8E97BC;
  --accent: #5EEAD4;
  --accent-hi: #99F6E4;
  --warm: #FDBA74;
  --danger: #FB7185;
  --ink: #061018;
  --line: rgba(255, 255, 255, .08);
  --display: 'Space Grotesk', system-ui, sans-serif;
  --body: Inter, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
a:hover { color: var(--accent-hi); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.accent { color: var(--accent); }

/* ============ Buttons ============ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; font-family: var(--body); cursor: pointer; border: 0; }
.btn-primary { background: var(--accent); color: var(--ink); font-weight: 600; }
.btn-primary:hover { color: var(--ink); }
.btn-pill { padding: 12px 20px; border-radius: 999px; font-size: 15px; }
.btn-lg { font-size: 16px; padding: 16px 26px; border-radius: 14px; }
.btn-ghost { color: var(--text); font-weight: 500; border: 1px solid rgba(255,255,255,.18); padding: 16px 22px; background: transparent; }
.btn-ghost:hover { color: var(--text); border-color: rgba(255,255,255,.35); }
.lift { transition: transform .25s ease, box-shadow .25s ease, background .25s; }
.lift:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(94,234,212,.22); }

/* ============ Nav ============ */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(7,11,26,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,.06); }
.nav-inner { padding-top: 14px; padding-bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand span { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.brand:hover { color: var(--text); }
.nav-links { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; font-size: 15px; }
.nav-link { color: var(--text-2); text-decoration: none; }
.nav-link:hover { color: var(--text); }

/* ============ Hero ============ */
.hero { padding-top: 56px; padding-bottom: 72px; display: flex; flex-wrap: wrap; align-items: center; gap: 32px; }
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.badge { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; padding: 8px 14px; border: 1px solid rgba(94,234,212,.3); border-radius: 999px; font-size: 13px; color: var(--accent-hi); background: rgba(94,234,212,.06); }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 1.6s infinite; }
.hero-title { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(40px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -0.035em; }
.hero-sub { margin: 0; font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 540px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.eyebrow-muted { font-size: 13px; color: var(--muted-2); margin-bottom: 10px; text-transform: uppercase; letter-spacing: .12em; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { min-height: 44px; padding: 0 18px; border-radius: 999px; font: 500 15px var(--body); cursor: pointer; transition: all .2s; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.03); color: var(--text); }
.chip:hover { border-color: rgba(94,234,212,.5); }
.chip[aria-pressed="true"] { border-color: var(--accent); background: var(--accent); color: var(--ink); }
.stats { display: flex; gap: 36px; flex-wrap: wrap; padding-top: 8px; border-top: 1px solid var(--line); }
.stats > div { padding-top: 18px; }
.stat-num { font-family: var(--display); font-size: 30px; font-weight: 700; }
.stat-label { font-size: 14px; color: var(--muted-2); }

.hero-globe { flex: 1 1 520px; min-width: 0; position: relative; display: flex; justify-content: center; }
#globe { width: 100%; max-width: 640px; aspect-ratio: 1 / 1; display: block; cursor: grab; touch-action: pan-y; }
#globe.grabbing { cursor: grabbing; }
.drag-hint { position: absolute; top: 8px; right: 8px; font-size: 12px; color: var(--muted-2); display: flex; align-items: center; gap: 6px; pointer-events: none; }
.globe-card { position: absolute; left: 0; bottom: 12px; width: 300px; max-width: 90%; padding: 20px; border-radius: 18px; background: rgba(15,21,48,.82); border: 1px solid rgba(94,234,212,.28); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 20px 60px rgba(0,0,0,.45); animation: cardIn .35s ease; }
.globe-card-route { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); }
.globe-card-title { font-family: var(--display); font-size: 26px; font-weight: 700; margin: 6px 0 12px; }
.globe-card-body { font-size: 14px; color: var(--muted); line-height: 1.6; }
.globe-card-body b { color: var(--text); font-weight: 600; }
.globe-card-link { display: inline-block; margin-top: 14px; font-weight: 600; font-size: 14px; text-decoration: none; }

/* ============ Sections ============ */
.section { padding-top: 72px; padding-bottom: 72px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.eyebrow { font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); margin-bottom: 12px; }
.h2 { margin: 0; font-family: var(--display); font-size: clamp(32px, 4vw, 48px); letter-spacing: -0.03em; line-height: 1.08; }
.h2-lg { font-size: clamp(34px, 4.2vw, 52px); line-height: 1.05; }
.section-note { margin: 0; max-width: 400px; color: var(--muted); font-size: 16px; line-height: 1.6; }

/* Destination 3D tilt cards */
.dest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 22px; perspective: 1200px; }
.dest-card { --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; min-height: 260px; padding: 30px; border-radius: 24px; transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry)) translateZ(0); transition: transform .18s ease-out, border-color .25s, box-shadow .25s;
  border: 1px solid var(--line); background: var(--surface); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.dest-card::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .25s; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(94,234,212,.14), transparent 60%); }
.dest-card.is-active { border-color: rgba(94,234,212,.4); box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.dest-card.is-active::before { opacity: 1; }
.dest-code { position: absolute; right: -10px; top: -18px; font-family: var(--display); font-weight: 700; font-size: 150px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(94,234,212,.22); transform: translateZ(50px); pointer-events: none; }
.dest-body { transform: translateZ(30px); display: flex; flex-direction: column; gap: 14px; position: relative; }
.dest-city { font-size: 13px; color: var(--muted-2); }
.dest-name { font-family: var(--display); font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.dest-info { font-size: 14px; color: var(--muted); line-height: 1.6; }
.dest-info span { color: var(--text); }
.dest-cta { align-self: flex-start; margin-top: 6px; padding: 11px 18px; border-radius: 12px; border: 1px solid rgba(94,234,212,.4); text-decoration: none; font-weight: 600; font-size: 14px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.step { padding: 28px; border-radius: 20px; background: var(--surface); border: 1px solid rgba(255,255,255,.07); display: flex; flex-direction: column; gap: 14px; }
.step-num { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--ink); background: var(--accent); }
.step-num.warm { background: var(--warm); }
.step-title { font-family: var(--display); font-size: 21px; font-weight: 600; }
.step-text { font-size: 15px; line-height: 1.6; color: var(--muted); }

/* ============ Enquiry ============ */
.enquire { padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.enquire-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 22px; padding-top: 12px; }
.enquire-copy .eyebrow { margin-bottom: 0; }
.lead { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
.ticks { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: center; font-size: 15px; color: var(--text-2); }

.form-card { flex: 1 1 560px; min-width: 0; padding: 32px; border-radius: 26px; background: linear-gradient(180deg, #111939, #0C1230); border: 1px solid rgba(94,234,212,.22); box-shadow: 0 30px 80px rgba(0,0,0,.5); scroll-margin-top: 90px; }
#leadForm { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.span-2 { grid-column: 1 / -1; }
.form-head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.form-title { font-family: var(--display); font-size: 24px; font-weight: 700; }
.form-progress-text { font-size: 13px; color: var(--muted-2); }
.progress { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; }
.progress-bar { height: 100%; width: 0; background: var(--accent); transition: width .35s; }

.field { display: flex; flex-direction: column; gap: 7px; font-size: 14px; color: var(--text-2); }
.fld { width: 100%; height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.04); color: var(--text); font: 15px var(--body); outline: none; transition: border-color .2s, box-shadow .2s; }
.fld { scroll-margin-top: 110px; }
.fld::placeholder { color: #7B84A8; }
.fld:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(94,234,212,.16); }
.fld.bad { border-color: var(--danger); }
select.fld { appearance: none; -webkit-appearance: none; padding-right: 36px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238E97BC' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
select.fld option { background: #0F1530; color: var(--text); }
.phone-row { display: flex; gap: 8px; }
.phone-row .code { width: 112px; flex-shrink: 0; padding-right: 28px; background-position: right 10px center; }
.err, .err-inline { font-size: 12px; color: var(--danger); min-height: 0; }
.err:empty { display: none; }
.hint { font-size: 12px; color: var(--muted-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.modes-fieldset { border: 0; padding: 0; margin: 0; }
.modes-fieldset legend { font-size: 14px; color: var(--text-2); padding: 0; margin-bottom: 10px; }
.modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mode { min-height: 48px; border-radius: 12px; font: 500 14px var(--body); cursor: pointer; transition: all .2s; border: 1px solid rgba(255,255,255,.16); background: transparent; color: var(--muted); }
.mode:hover { border-color: rgba(94,234,212,.5); }
.mode[aria-pressed="true"] { border-color: var(--accent); background: rgba(94,234,212,.12); color: var(--text); }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.5; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 0; accent-color: var(--accent); flex-shrink: 0; }
.form-error { padding: 12px 14px; border-radius: 12px; background: rgba(251,113,133,.1); border: 1px solid rgba(251,113,133,.35); color: #FECDD3; font-size: 14px; }

.submit { height: 56px; border-radius: 14px; font: 600 17px var(--body); }
.submit:disabled { opacity: .8; cursor: progress; transform: none; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(6,16,24,.3); border-top-color: var(--ink); animation: spin .8s linear infinite; }

.success { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; animation: cardIn .4s ease; }
.success-icon { width: 64px; height: 64px; border-radius: 50%; background: rgba(94,234,212,.14); display: flex; align-items: center; justify-content: center; }
.success-title { font-family: var(--display); font-size: 30px; font-weight: 700; letter-spacing: -0.02em; outline: none; }
.success-text { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.success-text b { color: var(--text); }
.success-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-ghost-sm { height: 46px; padding: 0 18px; border-radius: 12px; border: 1px solid rgba(255,255,255,.2); background: transparent; color: var(--text); font: 500 15px var(--body); }
.btn-dev { height: 46px; padding: 0 18px; border-radius: 12px; border: 1px dashed rgba(253,186,116,.5); background: transparent; color: var(--warm); font: 500 15px var(--body); }
.payload { width: 100%; margin: 0; padding: 18px; border-radius: 14px; background: #05081A; border: 1px solid var(--line); color: var(--accent-hi); font: 13px/1.6 ui-monospace, Menlo, monospace; overflow-x: auto; }

/* ============ Footer ============ */
.footer { border-top: 1px solid rgba(255,255,255,.07); }
.footer-inner { padding-top: 40px; padding-bottom: 40px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 14px; color: var(--muted-2); line-height: 1.5; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col a, .footer-copy a { color: var(--muted-2); text-decoration: none; }
.footer-col a:hover, .footer-copy a:hover { color: var(--accent); }
.footer-brand { font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--text); }
.footer-copy { align-self: flex-end; }

/* ============ Motion ============ */
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(94,234,212,.5); } 100% { box-shadow: 0 0 0 12px rgba(94,234,212,0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes cardIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ============ Responsive ============ */
@media (max-width: 760px) {
  .nav-link { display: none; }
  .hero { padding-top: 32px; }
  .dest-grid { grid-template-columns: 1fr; }
  .globe-card { position: relative; left: auto; bottom: auto; width: 100%; max-width: 100%; margin-top: -40px; }
  .hero-globe { flex-direction: column; align-items: center; }
}
@media (max-width: 600px) {
  .form-card { padding: 22px; border-radius: 20px; }
  #leadForm { grid-template-columns: 1fr; }
  .modes { grid-template-columns: 1fr; }
  .stats { gap: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
