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

:root {
  --ink: #10201C;
  --surface: #17271F;
  --surface-raised: #1F332A;
  --surface-card: #223A2F;
  --gold: #D2A24C;
  --gold-bright: #E6BE6D;
  --clay: #B7502E;
  --clay-bright: #D06239;
  --sage: #8FA396;
  --ivory: #F4EFE3;
  --ivory-dim: #C9C4B4;
  --line: rgba(244, 239, 227, 0.14);
  --line-strong: rgba(244, 239, 227, 0.28);

  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Route-stamp divider (signature motif) ---------- */
.route-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 auto;
  width: fit-content;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.route-divider::before,
.route-divider::after {
  content: '';
  width: 60px;
  height: 1px;
  background-image: linear-gradient(to right, var(--gold) 50%, transparent 50%);
  background-size: 8px 1px;
  background-repeat: repeat-x;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(16, 32, 28, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; }
.brand {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand .mark {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--clay-bright);
  box-shadow: 0 0 0 3px rgba(183, 80, 46, 0.25);
}
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ivory-dim);
  position: relative;
  padding: 4px 0;
  transition: color 0.25s var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--gold-bright);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--ivory); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  border: 1px solid var(--line-strong);
  padding: 9px 20px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s var(--ease);
}
.nav-cta:hover {
  border-color: var(--gold-bright);
  background: rgba(210, 162, 76, 0.1);
  transform: translateY(-1px);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-slides {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  animation: heroCycle 18s infinite;
  filter: saturate(0.9) brightness(0.6);
}
.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 6s; }
.hero-slide:nth-child(3) { animation-delay: 12s; }
@keyframes heroCycle {
  0% { opacity: 0; transform: scale(1.08); }
  4% { opacity: 1; transform: scale(1.0); }
  30% { opacity: 1; transform: scale(1.0); }
  36% { opacity: 0; transform: scale(0.98); }
  100% { opacity: 0; }
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,32,28,0.35) 0%, rgba(16,32,28,0.55) 55%, var(--ink) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 0 80px;
  width: 100%;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-bright);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  opacity: 0;
  animation: riseIn 0.9s var(--ease) 0.2s forwards;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(42px, 6.4vw, 84px);
  line-height: 1.03;
  letter-spacing: -0.01em;
  max-width: 900px;
  opacity: 0;
  animation: riseIn 0.9s var(--ease) 0.4s forwards;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-bright);
}
.hero-sub {
  margin-top: 24px;
  font-size: 17px;
  color: var(--ivory-dim);
  max-width: 520px;
  opacity: 0;
  animation: riseIn 0.9s var(--ease) 0.6s forwards;
}
.hero-actions {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  align-items: center;
  opacity: 0;
  animation: riseIn 0.9s var(--ease) 0.8s forwards;
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn-primary {
  background: var(--clay-bright);
  color: var(--ivory);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -10px rgba(208, 98, 57, 0.55);
}
.btn-ghost {
  border-color: var(--line-strong);
  color: var(--ivory);
}
.btn-ghost:hover {
  border-color: var(--gold-bright);
  background: rgba(210, 162, 76, 0.08);
  transform: translateY(-2px);
}
.btn svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

/* ---------- Section shell ---------- */
section { padding: 120px 0; position: relative; }
.section-head { max-width: 640px; margin-bottom: 64px; }
.section-head .route-divider { margin: 0 0 22px; }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
}
.section-head p {
  margin-top: 18px;
  color: var(--ivory-dim);
  font-size: 16px;
  max-width: 520px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center p { margin-left: auto; margin-right: auto; }

/* ---------- Stats strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 40px 32px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
.stat .num {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--gold-bright);
}
.stat .label {
  margin-top: 8px;
  font-size: 13px;
  color: var(--ivory-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- Package cards ---------- */
.pkg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}
.pkg-card {
  position: relative;
  background: var(--surface-card);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
  cursor: pointer;
}
.pkg-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 26px 50px -20px rgba(0,0,0,0.5);
}
.pkg-image-wrap {
  position: relative;
  height: 230px;
  overflow: hidden;
  background: var(--surface-raised);
}
.pkg-image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.8s var(--ease);
  filter: saturate(0.92);
}
.pkg-card:hover .pkg-image-wrap img {
  transform: scale(1.09);
  filter: saturate(1.05);
}
.pkg-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(16,32,28,0.75);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line-strong);
  padding: 6px 12px;
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-bright);
}
.pkg-stamp {
  position: absolute;
  top: 16px; right: 16px;
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-bright);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--gold-bright);
  text-align: center;
  line-height: 1.2;
  text-transform: uppercase;
  transform: rotate(-14deg) scale(0.85);
  opacity: 0;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.pkg-card:hover .pkg-stamp { opacity: 1; transform: rotate(-14deg) scale(1); }
.pkg-body { padding: 24px 26px 26px; }
.pkg-country {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
}
.pkg-title {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
}
.pkg-desc {
  margin-top: 10px;
  font-size: 14px;
  color: var(--ivory-dim);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pkg-meta {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.pkg-price {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--gold-bright);
}
.pkg-price span { font-family: var(--font-body); font-size: 12px; color: var(--ivory-dim); font-weight: 400; }
.pkg-days { font-family: var(--font-mono); font-size: 12px; color: var(--ivory-dim); }

/* filter pills */
.filter-row { display: flex; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
.filter-pill {
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ivory-dim);
  transition: all 0.3s var(--ease);
  cursor: pointer;
  background: transparent;
}
.filter-pill:hover { border-color: var(--line-strong); color: var(--ivory); }
.filter-pill.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

/* ---------- Feature rows (how it works) ---------- */
.feature-list { display: flex; flex-direction: column; }
.feature-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 32px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  align-items: start;
  transition: padding-left 0.4s var(--ease);
}
.feature-row:last-child { border-bottom: 1px solid var(--line); }
.feature-row:hover { padding-left: 12px; }
.feature-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--clay-bright);
  padding-top: 4px;
}
.feature-row h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 10px;
}
.feature-row p { color: var(--ivory-dim); max-width: 560px; font-size: 15px; }

/* ---------- Cards (general) ---------- */
.card {
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 32px;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.card:hover { border-color: var(--line-strong); }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ivory-dim);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
input, select, textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 13px 16px;
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold-bright);
  background: var(--surface-raised);
}
input::placeholder, textarea::placeholder { color: var(--ivory-dim); opacity: 0.5; }
textarea { resize: vertical; min-height: 110px; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 70px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}
.footer-grid h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
  margin-bottom: 18px;
}
.footer-grid a, .footer-grid p {
  display: block;
  font-size: 14px;
  color: var(--ivory-dim);
  margin-bottom: 10px;
  transition: color 0.25s var(--ease);
  width: fit-content;
}
.footer-grid a:hover { color: var(--ivory); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ivory-dim);
}
.social-row { display: flex; gap: 16px; }
.social-row a {
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s var(--ease);
}
.social-row a:hover { border-color: var(--gold-bright); background: rgba(210,162,76,0.1); transform: translateY(-2px); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Utility ---------- */
.pill-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-bright);
  border: 1px solid var(--line-strong);
  padding: 5px 12px;
  border-radius: 20px;
}
.page-header {
  padding: 180px 0 70px;
  border-bottom: 1px solid var(--line);
}
.page-header h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 56px);
}
.page-header p { margin-top: 16px; color: var(--ivory-dim); max-width: 560px; font-size: 16px; }

.status-msg { padding: 14px 18px; border-radius: 3px; font-size: 14px; margin-top: 16px; display: none; }
.status-msg.success { display: block; background: rgba(143, 163, 150, 0.15); border: 1px solid var(--sage); color: var(--ivory); }
.status-msg.error { display: block; background: rgba(183, 80, 46, 0.15); border: 1px solid var(--clay-bright); color: var(--ivory); }

table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
th { text-transform: uppercase; font-size: 11px; letter-spacing: 0.06em; color: var(--ivory-dim); font-family: var(--font-mono); }
.badge { padding: 4px 10px; border-radius: 20px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; }
.badge-pending { background: rgba(210,162,76,0.15); color: var(--gold-bright); }
.badge-approved { background: rgba(143,163,150,0.2); color: var(--sage); }
.badge-rejected, .badge-suspended { background: rgba(183,80,46,0.15); color: var(--clay-bright); }
.mini-btn {
  font-size: 12px; padding: 6px 12px; border-radius: 3px; border: 1px solid var(--line-strong);
  transition: all 0.25s var(--ease); cursor: pointer; background: transparent; color: var(--ivory); margin-right: 6px;
}
.mini-btn:hover { border-color: var(--gold-bright); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
