/* BTS Bogotá VIP Experience — dark luxury */
:root {
  --bg: #0b0a10;
  --bg-2: #110f18;
  --surface: #16131f;
  --surface-2: #1c1828;
  --line: rgba(212, 181, 116, 0.18);
  --line-soft: rgba(255, 255, 255, 0.07);
  --ink: #f3eee4;
  --ink-dim: #b3aa9a;
  --ink-faint: #7d7669;
  --gold: #d4b574;
  --gold-bright: #e8cd8f;
  --purple: #6d4fc4;
  --purple-glow: rgba(109, 79, 196, 0.35);
  --serif: "Marcellus", serif;
  --sans: "Sora", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold); color: #14101c; }

.page { position: relative; overflow-x: clip; }

/* grain */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 5; opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.035 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(11, 10, 16, 0.72);
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.3s ease;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand {
  font-family: var(--serif); font-size: 18px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ink); text-decoration: none;
  display: flex; align-items: baseline; gap: 10px;
}
.brand em { font-style: normal; color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link {
  color: var(--ink-dim); text-decoration: none; font-size: 13px;
  letter-spacing: 0.08em; text-transform: uppercase; transition: color 0.2s;
}
.nav-link:hover { color: var(--gold-bright); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: 14px;
  letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
  border-radius: 2px; cursor: pointer; transition: all 0.25s ease;
  border: 1px solid transparent;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #181206; padding: 16px 34px;
  box-shadow: 0 8px 30px rgba(212, 181, 116, 0.22);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(212, 181, 116, 0.32); }
.btn-gold:active { transform: translateY(0); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border-color: rgba(243, 238, 228, 0.25); padding: 15px 30px;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); }
.btn-sm { padding: 11px 22px; font-size: 12px; }
.form-cal-btn { margin-top: 22px; display: inline-flex; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 140px 0 90px;
  background:
    radial-gradient(ellipse 70% 50% at 75% 15%, var(--purple-glow), transparent 65%),
    radial-gradient(ellipse 55% 45% at 15% 85%, rgba(109, 79, 196, 0.18), transparent 60%),
    linear-gradient(180deg, #0d0b14 0%, var(--bg) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 90% 70% at 50% 110%, transparent 50%, rgba(0,0,0,0.45));
}
.hero-inner { position: relative; z-index: 2; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 28px;
}
.eyebrow::before, .eyebrow::after {
  content: ""; width: 36px; height: 1px; background: var(--gold); opacity: 0.6;
}
.hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(44px, 6.2vw, 84px); line-height: 1.06;
  letter-spacing: 0.01em; max-width: 14ch; text-wrap: balance;
}
.hero h1 .gild {
  background: linear-gradient(120deg, var(--gold-bright) 20%, var(--gold) 60%, #a98c4e);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  margin-top: 28px; max-width: 52ch; font-size: 17px; font-weight: 300;
  color: var(--ink-dim); text-wrap: pretty;
}
.hero-sub strong { color: var(--ink); font-weight: 500; }
.hero-cta { margin-top: 44px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero-date {
  margin-top: 64px; display: flex; gap: 0; flex-wrap: wrap;
  border-top: 1px solid var(--line);
}
.hero-fact {
  padding: 22px 44px 0 0; margin-right: 44px;
}
.hero-fact + .hero-fact { border-left: 1px solid var(--line-soft); padding-left: 44px; }
.hero-fact .k {
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 6px;
}
.hero-fact .v { font-family: var(--serif); font-size: 22px; color: var(--ink); }
.hero-fact .v em { font-style: normal; color: var(--gold); }

/* ---------- sections ---------- */
section { position: relative; }
.section-pad { padding: 110px 0; }
.section-head { max-width: 640px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::before { display: inline-block; }
.kicker {
  font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px; display: flex; align-items: center; gap: 14px;
}
.kicker::before { content: ""; width: 36px; height: 1px; background: var(--gold); opacity: 0.6; }
.center .kicker { justify-content: center; }
.center .kicker::after { content: ""; width: 36px; height: 1px; background: var(--gold); opacity: 0.6; }
h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(32px, 4vw, 48px); line-height: 1.15; text-wrap: balance;
}
.section-head p { margin-top: 18px; color: var(--ink-dim); font-weight: 300; text-wrap: pretty; }

/* ---------- package grid ---------- */
.pkg { background: var(--bg-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pkg-card {
  background: var(--surface); border: 1px solid var(--line-soft);
  display: flex; flex-direction: column;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.pkg-card:hover { border-color: var(--line); transform: translateY(-4px); }
.pkg-media { width: 100%; aspect-ratio: 4 / 3; display: block; }
.pkg-media image-slot { width: 100%; height: 100%; display: block; }
.pkg-body { padding: 30px 28px 34px; flex: 1; display: flex; flex-direction: column; }
.pkg-num {
  font-family: var(--serif); font-size: 13px; letter-spacing: 0.2em;
  color: var(--gold); margin-bottom: 14px;
}
.pkg-card h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; margin-bottom: 12px; }
.pkg-card p { font-size: 14.5px; font-weight: 300; color: var(--ink-dim); text-wrap: pretty; }
.pkg-tag {
  margin-top: auto; padding-top: 22px;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold);
}

/* ---------- route ---------- */
.route-rail {
  display: grid; grid-template-columns: repeat(5, 1fr);
  margin-top: 8px; position: relative;
}
.route-rail::before {
  content: ""; position: absolute; top: 7px; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 15%, var(--gold) 85%, transparent);
  opacity: 0.45;
}
.route-stop { text-align: center; padding: 0 10px; position: relative; }
.route-dot {
  width: 15px; height: 15px; border-radius: 50%; margin: 0 auto 22px;
  border: 1px solid var(--gold); background: var(--bg);
  position: relative; z-index: 1;
}
.route-stop.major .route-dot { background: var(--gold); box-shadow: 0 0 18px rgba(212, 181, 116, 0.5); }
.route-stop .t { font-family: var(--serif); font-size: 17px; margin-bottom: 6px; }
.route-stop .d { font-size: 12.5px; font-weight: 300; color: var(--ink-faint); }
.route-stop.major .t { color: var(--gold-bright); }
.route-note {
  margin-top: 54px; text-align: center; font-size: 14px; font-weight: 300;
  color: var(--ink-dim);
}
.route-note strong { color: var(--ink); font-weight: 500; }

/* ---------- trust ---------- */
.trust {
  background:
    radial-gradient(ellipse 60% 70% at 85% 30%, rgba(109, 79, 196, 0.16), transparent 60%),
    var(--bg-2);
  border-top: 1px solid var(--line-soft);
}
.trust-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: start; }
.trust-steps { display: flex; flex-direction: column; }
.trust-step {
  display: grid; grid-template-columns: 52px 1fr; gap: 22px;
  padding: 26px 0; border-bottom: 1px solid var(--line-soft);
}
.trust-step:first-child { border-top: 1px solid var(--line-soft); }
.trust-step .n {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 19px; line-height: 1;
  color: var(--gold);
  position: relative;
  background: transparent;
}
.trust-step h4 { font-family: var(--serif); font-weight: 400; font-size: 19px; margin-bottom: 6px; }
.trust-step p { font-size: 14px; font-weight: 300; color: var(--ink-dim); text-wrap: pretty; }

/* scroll-ignition: steps rest dim, then light up in gold as you scroll (.lit set by JS) */
.trust-step .n { color: var(--ink-faint); }
.trust-step h4 { color: var(--ink-dim); }
.trust-step, .trust-step h4, .trust-step p {
  transition: color 0.55s ease, border-color 0.55s ease, background 0.55s ease;
}
.trust-step .n {
  transition: color 0.55s ease, text-shadow 0.55s ease, border-color 0.55s ease,
              background 0.55s ease, box-shadow 0.55s ease;
}
.trust-step.lit .n {
  color: var(--gold-bright);
  border-color: var(--gold);
  background: radial-gradient(circle at 50% 30%, rgba(212, 181, 116, 0.16), rgba(212, 181, 116, 0.05));
  text-shadow: 0 0 16px rgba(212, 181, 116, 0.65);
  box-shadow: 0 0 24px rgba(212, 181, 116, 0.28), inset 0 0 10px rgba(212, 181, 116, 0.12);
}
.trust-step.lit h4 { color: var(--ink); }
.trust-step.lit p { color: var(--ink-dim); }
.trust-step.lit {
  border-bottom-color: var(--line);
}
.trust-step.lit:first-child { border-top-color: var(--line); }
.guarantee {
  margin-top: 36px; padding: 26px 28px;
  border: 1px solid var(--line); background: rgba(212, 181, 116, 0.05);
  display: flex; gap: 18px; align-items: flex-start;
}
.guarantee svg { flex-shrink: 0; margin-top: 2px; }
.guarantee .g-t { font-family: var(--serif); font-size: 17px; color: var(--gold-bright); margin-bottom: 4px; }
.guarantee p { font-size: 13.5px; font-weight: 300; color: var(--ink-dim); }

/* ---------- pricing line ---------- */
.price-line {
  display: inline-flex; align-items: baseline; gap: 12px; margin-top: 30px;
  padding: 14px 24px; border: 1px solid var(--line);
}
.price-line .from { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); }
.price-line .amt { font-family: var(--serif); font-size: 30px; color: var(--gold-bright); }
.price-line .per { font-size: 12px; color: var(--ink-faint); }

/* ---------- form ---------- */
.book { background: var(--bg); }
.book-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: start; }
.book-aside p { color: var(--ink-dim); font-weight: 300; margin-top: 18px; text-wrap: pretty; }
.book-points { margin-top: 34px; display: flex; flex-direction: column; gap: 16px; }
.book-point { display: flex; gap: 14px; align-items: flex-start; font-size: 14.5px; color: var(--ink-dim); font-weight: 300; }
.book-point svg { flex-shrink: 0; margin-top: 3px; }

/* "rung" offer card — minimalist tier card à la kyletdow, in-brand */
.rung {
  margin-top: 30px; padding: 24px 26px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  position: relative;
}
.rung::before {
  content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 2px;
  background: linear-gradient(180deg, var(--gold-bright), var(--purple));
}
.rung-top {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
}
.rung-tag {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint);
}
.rung-price {
  font-family: var(--serif); font-size: 15px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold-bright);
}
.rung-name {
  font-family: var(--serif); font-size: 21px; font-weight: 400; color: var(--ink);
  margin-top: 8px;
}
.rung-meta {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 12px;
  font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-dim);
}
.rung-meta i { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-faint); display: inline-block; }
.rung-out {
  margin-top: 14px; font-size: 14px; font-weight: 300; color: var(--ink-dim); text-wrap: pretty;
}

/* ---------- scheduler (our own booking system) ---------- */
.sched-steps {
  display: flex; align-items: center; gap: 10px;
  margin: 18px 0 24px; padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
}
.sched-step { display: flex; align-items: center; gap: 8px; opacity: 0.45; transition: opacity 0.3s; }
.sched-step.active, .sched-step.done { opacity: 1; }
.sched-step-n {
  width: 22px; height: 22px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 600;
  border: 1px solid var(--line); color: var(--ink-dim);
}
.sched-step.active .sched-step-n { border-color: var(--gold); color: var(--gold-bright); background: rgba(212,181,116,0.08); }
.sched-step.done .sched-step-n { border-color: var(--gold); color: #181206; background: var(--gold); }
.sched-step-l { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-dim); }
.sched-step + .sched-step::before {
  content: ""; width: 14px; height: 1px; background: var(--line-soft); margin-right: 2px;
}

.sched-prompt { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 14px; }

/* day picker — month calendar */
.cal { max-width: 340px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal-title { font-family: var(--serif); font-size: 18px; color: var(--ink); }
.cal-nav {
  width: 34px; height: 34px; flex: none; display: grid; place-items: center; cursor: pointer;
  background: transparent; border: 1px solid var(--line-soft); border-radius: 4px; color: var(--ink);
  transition: all 0.2s ease;
}
.cal-nav:hover:not(:disabled) { border-color: var(--gold); color: var(--gold-bright); }
.cal-nav:disabled { opacity: 0.28; cursor: not-allowed; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-dow { margin-bottom: 6px; }
.cal-dow-c { text-align: center; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); }
.cal-cell {
  aspect-ratio: 1; display: grid; place-items: center; cursor: pointer;
  background: var(--bg); border: 1px solid var(--line-soft); border-radius: 4px;
  color: var(--ink); font-family: var(--sans); font-size: 14px; font-weight: 300;
  transition: all 0.16s ease;
}
.cal-cell:hover:not(:disabled) { border-color: var(--gold); background: rgba(212,181,116,0.08); color: var(--gold-bright); transform: translateY(-1px); }
.cal-cell.empty { background: transparent; border: none; cursor: default; }
.cal-cell.disabled, .cal-cell:disabled { opacity: 0.22; cursor: not-allowed; border-color: transparent; background: transparent; }
.cal-cell.selected { border-color: var(--gold); background: rgba(212,181,116,0.16); color: var(--gold-bright); }

/* time picker */
.sched-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.sched-back {
  display: inline-flex; align-items: center; gap: 4px; cursor: pointer;
  background: transparent; border: none; color: var(--ink-dim);
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 2px;
  transition: color 0.2s;
}
.sched-back:hover { color: var(--gold-bright); }
.sched-head-day { font-family: var(--serif); font-size: 17px; color: var(--ink); }
.sched-summary {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; color: var(--gold-bright);
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px;
}
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 10px; }
.slot {
  padding: 12px 6px; cursor: pointer; text-align: center;
  background: var(--bg); border: 1px solid var(--line-soft); border-radius: 4px;
  color: var(--ink); font-family: var(--sans); font-size: 14px; font-weight: 300;
  transition: all 0.18s ease;
}
.slot:hover { border-color: var(--gold); background: rgba(212,181,116,0.08); color: var(--gold-bright); transform: translateY(-1px); }

.sched-loading { display: flex; align-items: center; gap: 12px; color: var(--ink-dim); font-weight: 300; padding: 18px 0; }
.spinner {
  width: 18px; height: 18px; flex: none; border-radius: 50%;
  border: 2px solid var(--line); border-top-color: var(--gold); animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.sched-empty { color: var(--ink-dim); font-weight: 300; padding: 14px 0; }
.sched-link, .sched-back.sched-link { background: none; border: none; color: var(--gold-bright); cursor: pointer; text-decoration: underline; font: inherit; padding: 0; }
.sched-error {
  margin-top: 14px; padding: 11px 14px; border-radius: 4px;
  background: rgba(196,87,79,0.1); border: 1px solid rgba(196,87,79,0.35);
  color: #e2a09a; font-size: 13px;
}

/* success extras */
.sched-confirm-note { margin-top: 12px !important; font-size: 13px !important; color: var(--ink-faint) !important; }
.demo-note {
  margin-top: 16px; display: inline-block; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-faint); border: 1px dashed var(--line); border-radius: 999px; padding: 4px 12px;
}
.sched-reset { margin-top: 22px; }

.form-card {
  background: var(--surface); border: 1px solid var(--line);
  padding: 42px 40px 44px; position: relative;
}
/* animated perimeter ring — a gold light orbits the whole card */
@property --form-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.form-card::before {
  content: ""; position: absolute; inset: -1px; pointer-events: none;
  padding: 1.5px;
  background: conic-gradient(from var(--form-angle) at 50% 50%,
    transparent 0deg,
    rgba(212, 181, 116, 0.5) 40deg,
    #fff3d6 62deg,
    var(--gold-bright) 80deg,
    transparent 140deg,
    transparent 185deg,
    rgba(212, 181, 116, 0.35) 235deg,
    transparent 300deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask-composite: exclude;
}
.form-title { font-family: var(--serif); font-size: 23px; font-weight: 400; margin-bottom: 4px; }
.form-sub { font-size: 13px; color: var(--ink-faint); font-weight: 300; margin-bottom: 30px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); }
.field input, .field select, .field textarea {
  background: var(--bg); border: 1px solid var(--line-soft); color: var(--ink);
  font-family: var(--sans); font-size: 14.5px; font-weight: 300;
  padding: 13px 14px; border-radius: 2px; outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 86px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.field.error input { border-color: #c4574f; }
.field .err { font-size: 11.5px; color: #d98079; }
.form-actions { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.form-fine { font-size: 11.5px; color: var(--ink-faint); font-weight: 300; text-align: center; }

.form-success { text-align: center; padding: 30px 10px 16px; }
.form-success .ring {
  width: 72px; height: 72px; border-radius: 50%; border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 24px;
  background: rgba(212, 181, 116, 0.07);
  animation: pop 0.45s cubic-bezier(0.2, 1.4, 0.5, 1);
}
@keyframes pop { from { transform: scale(0.6); opacity: 0; } }
.form-success h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; margin-bottom: 10px; }
.form-success p { font-size: 14px; color: var(--ink-dim); font-weight: 300; max-width: 38ch; margin: 0 auto; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line-soft); padding: 44px 0 52px; background: var(--bg-2); }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer .brand { font-size: 15px; }
.footer-fine { font-size: 12px; color: var(--ink-faint); font-weight: 300; max-width: 62ch; text-wrap: pretty; }

/* ---------- reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* hidden state only applies once JS has armed the element for observation */
  .reveal.armed:not(.in) { opacity: 0; transform: translateY(26px); }
  .reveal { transition: opacity 0.7s ease, transform 0.7s ease; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .pkg-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .trust-grid, .book-grid { grid-template-columns: 1fr; gap: 48px; }
  .route-rail { grid-template-columns: 1fr; gap: 26px; }
  .route-rail::before { left: 7px; right: auto; top: 8px; bottom: 8px; width: 1px; height: auto;
    background: linear-gradient(180deg, transparent, var(--gold) 15%, var(--gold) 85%, transparent); }
  .route-stop { display: grid; grid-template-columns: 15px 1fr; gap: 18px; text-align: left; padding: 0; }
  .route-dot { margin: 5px 0 0; }
  .route-stop .t { margin-bottom: 2px; }
  .nav-links .nav-link { display: none; }
  .hero-fact { padding-right: 28px; margin-right: 28px; }
  .hero-fact + .hero-fact { padding-left: 28px; }
}

/* ---------- motion v2 ---------- */
@media (prefers-reduced-motion: no-preference) {

  /* hero entrance — elegant line-by-line cascade */
  @keyframes heroRise {
    from { opacity: 0; transform: translateY(34px); filter: blur(6px); }
    to   { opacity: 1; transform: none; filter: none; }
  }
  .hero-inner > * { animation: heroRise 1.1s cubic-bezier(0.22, 0.8, 0.3, 1) both; }
  .hero-inner > .eyebrow   { animation-delay: 0.15s; }
  .hero-inner > h1         { animation-delay: 0.38s; animation-duration: 1.25s; }
  .hero-inner > .hero-sub  { animation-delay: 0.72s; }
  .hero-inner > .hero-cta  { animation-delay: 0.95s; }
  .hero-inner > .hero-date { animation-delay: 1.15s; }

  /* nav reacts to scroll */
  .nav-inner { transition: height 0.3s ease; }
  .nav.scrolled {
    background: rgba(11, 10, 16, 0.92);
    border-bottom-color: var(--line);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  }
  .nav.scrolled .nav-inner { height: 60px; }

  /* package cards — 3D tilt + cursor glare + deeper shadow */
  .pkg-grid { perspective: 1400px; }
  .pkg-card {
    position: relative;
    transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
    transition: border-color 0.3s ease, transform 0.2s ease-out, box-shadow 0.35s ease;
    will-change: transform;
  }
  .pkg-card:hover {
    --lift: -6px;
    border-color: var(--line);
    transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
    box-shadow:
      0 30px 70px rgba(0, 0, 0, 0.5),
      0 12px 44px rgba(212, 181, 116, 0.12);
  }
  .pkg-card::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
    opacity: 0; transition: opacity 0.3s ease;
    background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%),
      rgba(232, 205, 143, 0.10), transparent 62%);
  }
  .pkg-card:hover::after { opacity: 1; }

  /* gold hairlines draw themselves in when revealed */
  .kicker::before, .center .kicker::after {
    transform-origin: left;
    transition: transform 0.9s cubic-bezier(0.22, 0.8, 0.3, 1) 0.25s;
  }
  .reveal.armed:not(.in) .kicker::before,
  .reveal.armed:not(.in).center .kicker::after,
  .center.reveal.armed:not(.in) .kicker::after { transform: scaleX(0); }

  .route-rail::before {
    transform-origin: left;
    transition: transform 1.5s cubic-bezier(0.22, 0.8, 0.3, 1) 0.3s;
  }
  .route-rail.reveal.armed:not(.in)::before { transform: scaleX(0); }

  .form-card::before { transition: opacity 1s ease 0.35s; }
  .reveal.armed:not(.in) .form-card::before { opacity: 0; }

  .hero-date { transition: none; }

  /* route dots ease in with the rail */
  .route-dot { transition: transform 0.6s cubic-bezier(0.2, 1.4, 0.5, 1) 0.5s, background 0.3s, box-shadow 0.3s; }
  .route-rail.reveal.armed:not(.in) .route-dot { transform: scale(0); }

  /* parallax elements get their transform from JS — hint compositing */
  [data-parallax] { will-change: transform; }

  /* ---------- route: stops cascade left → right ---------- */
  .route-stop { transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.8, 0.3, 1); }
  .route-rail.reveal.armed:not(.in) .route-stop { opacity: 0; transform: translateY(24px); }
  .route-rail.reveal.in .route-stop:nth-child(1) { transition-delay: 0.25s; }
  .route-rail.reveal.in .route-stop:nth-child(2) { transition-delay: 0.45s; }
  .route-rail.reveal.in .route-stop:nth-child(3) { transition-delay: 0.65s; }
  .route-rail.reveal.in .route-stop:nth-child(4) { transition-delay: 0.85s; }
  .route-rail.reveal.in .route-stop:nth-child(5) { transition-delay: 1.05s; }
  .route-rail.reveal.in .route-stop:nth-child(1) .route-dot { transition-delay: 0.35s; }
  .route-rail.reveal.in .route-stop:nth-child(2) .route-dot { transition-delay: 0.55s; }
  .route-rail.reveal.in .route-stop:nth-child(3) .route-dot { transition-delay: 0.75s; }
  .route-rail.reveal.in .route-stop:nth-child(4) .route-dot { transition-delay: 0.95s; }
  .route-rail.reveal.in .route-stop:nth-child(5) .route-dot { transition-delay: 1.15s; }

  /* the stadium dot breathes gold once everything is in */
  @keyframes dotPulse {
    0%, 100% { box-shadow: 0 0 18px rgba(212, 181, 116, 0.5); }
    50%      { box-shadow: 0 0 30px rgba(212, 181, 116, 0.85), 0 0 60px rgba(109, 79, 196, 0.35); }
  }
  .route-rail.reveal.in .route-stop.major .route-dot { animation: dotPulse 2.8s ease-in-out 1.6s infinite; }

  /* ---------- trust: steps slide in, numerals sweep to gold ---------- */
  .trust-step { transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.8, 0.3, 1); }
  .trust-steps.reveal.armed:not(.in) .trust-step { opacity: 0; transform: translateX(36px); }
  .trust-steps.reveal.in .trust-step:nth-child(1) { transition-delay: 0.1s; }
  .trust-steps.reveal.in .trust-step:nth-child(2) { transition-delay: 0.26s; }
  .trust-steps.reveal.in .trust-step:nth-child(3) { transition-delay: 0.42s; }
  .trust-steps.reveal.in .trust-step:nth-child(4) { transition-delay: 0.58s; }
  .trust-step .n {
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 1.4, 0.5, 1),
                color 0.55s ease, text-shadow 0.55s ease, border-color 0.55s ease,
                background 0.55s ease, box-shadow 0.55s ease;
  }
  .trust-steps.reveal.armed:not(.in) .trust-step .n { opacity: 0; transform: translateX(-14px) scale(0.7); }
  .trust-steps.reveal.in .trust-step:nth-child(1) .n { transition-delay: 0.3s; }
  .trust-steps.reveal.in .trust-step:nth-child(2) .n { transition-delay: 0.46s; }
  .trust-steps.reveal.in .trust-step:nth-child(3) .n { transition-delay: 0.62s; }
  .trust-steps.reveal.in .trust-step:nth-child(4) .n { transition-delay: 0.78s; }

  /* guarantee panel: settles in, then flashes its gold border once */
  @keyframes guaranteeGlow {
    0%   { box-shadow: 0 0 0 rgba(212, 181, 116, 0); }
    45%  { box-shadow: 0 0 44px rgba(212, 181, 116, 0.28), inset 0 0 24px rgba(212, 181, 116, 0.10); border-color: var(--gold); }
    100% { box-shadow: 0 0 0 rgba(212, 181, 116, 0); }
  }
  .guarantee { transition: opacity 0.8s ease 0.35s, transform 0.8s cubic-bezier(0.22, 0.8, 0.3, 1) 0.35s; }
  .reveal.armed:not(.in) .guarantee { opacity: 0; transform: translateY(22px) scale(0.97); }
  .reveal.in .guarantee { animation: guaranteeGlow 1.6s ease 0.9s; }

  /* ---------- booking form: cinematic entrance ---------- */
  .book-grid { perspective: 1400px; }
  .form-card {
    transition:
      opacity 0.9s ease,
      transform 1s cubic-bezier(0.22, 0.8, 0.3, 1),
      box-shadow 1s ease;
  }
  .reveal.armed:not(.in) .form-card {
    opacity: 0;
    transform: translateY(54px) rotateX(9deg) scale(0.965);
  }
  .reveal.in .form-card {
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.55), 0 10px 60px rgba(109, 79, 196, 0.12);
  }

  /* fields cascade in after the card lands */
  .field, .form-title, .form-sub, .form-actions { transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 0.8, 0.3, 1); }
  .reveal.armed:not(.in) .form-card .field,
  .reveal.armed:not(.in) .form-card .form-title,
  .reveal.armed:not(.in) .form-card .form-sub,
  .reveal.armed:not(.in) .form-card .form-actions { opacity: 0; transform: translateY(16px); }
  .reveal.in .form-card .form-title { transition-delay: 0.35s; }
  .reveal.in .form-card .form-sub   { transition-delay: 0.45s; }
  .reveal.in .form-card .field:nth-child(1) { transition-delay: 0.55s; }
  .reveal.in .form-card .field:nth-child(2) { transition-delay: 0.63s; }
  .reveal.in .form-card .field:nth-child(3) { transition-delay: 0.71s; }
  .reveal.in .form-card .field:nth-child(4) { transition-delay: 0.79s; }
  .reveal.in .form-card .field:nth-child(5) { transition-delay: 0.87s; }
  .reveal.in .form-card .form-actions { transition-delay: 1.0s; }

  /* living gold border: the light orbits the card's full perimeter */
  @keyframes formOrbit { to { --form-angle: 360deg; } }
  .reveal.in .form-card::before { animation: formOrbit 7s linear 1.2s infinite; }

  /* CTA breathes softly so the eye lands on it */
  @keyframes ctaBreath {
    0%, 100% { box-shadow: 0 8px 30px rgba(212, 181, 116, 0.22); }
    50%      { box-shadow: 0 10px 44px rgba(212, 181, 116, 0.42); }
  }
  .form-actions .btn-gold { animation: ctaBreath 3.2s ease-in-out 2s infinite; }
  .form-actions .btn-gold:hover { animation: none; }
}

/* ═════════════════════════════════════════════════════════════════════════════
   AÑADIDOS — campaña de septiembre 2026
   Precios de dos escalones, pago escalonado, identidad del anfitrión, y el
   responsive por debajo de 980px que no existía.
   ═════════════════════════════════════════════════════════════════════════════ */

/* ---------- tarjetas de paquete sin foto ---------- */
/* Sin material fotográfico propio, la tarjeta se sostiene con tipografía y una
   línea de acento arriba. Mejor eso que un rectángulo gris con el placeholder
   "Drop a hotel suite photo" a la vista, que es lo que se estaba publicando. */
.pkg-card.typo { position: relative; }
.pkg-card.typo::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent 70%);
}
.pkg-card.typo .pkg-body { padding-top: 38px; }

.pkg-fineprint {
  margin: 40px auto 0; max-width: 720px; text-align: center;
  font-size: 14px; font-weight: 300; line-height: 1.6; color: var(--ink-faint);
  border-top: 1px solid var(--line-soft); padding-top: 26px; text-wrap: pretty;
}
.pkg-fineprint strong { color: var(--ink-dim); font-weight: 500; }

/* ---------- precios ---------- */
.pricing { background: var(--bg); }
.tier-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px; max-width: 900px; margin: 0 auto;
}
.tier {
  position: relative; background: var(--surface); border: 1px solid var(--line-soft);
  padding: 38px 32px 34px; display: flex; flex-direction: column;
  transition: border-color .3s ease, transform .3s ease;
}
.tier:hover { border-color: var(--line); transform: translateY(-4px); }
/* El escalón destacado se marca con el filo dorado, no con tamaño: dos
   tarjetas de alturas distintas se leen como un error de maquetación. */
.tier.featured { border-color: var(--gold); background: var(--surface-2); }
.tier-flag {
  position: absolute; top: -1px; right: 24px;
  background: var(--gold); color: #181206;
  font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  padding: 6px 14px;
}
.tier-tag {
  font-size: 11px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 14px;
}
.tier-name { font-family: var(--serif); font-weight: 400; font-size: 28px; margin-bottom: 10px; }
.tier-price {
  font-family: var(--sans); font-weight: 500; font-size: 44px; line-height: 1;
  color: var(--gold-bright); font-variant-numeric: tabular-nums; letter-spacing: -.02em;
}
.tier-line { margin-top: 10px; font-size: 14px; font-weight: 300; color: var(--ink-dim); }
.tier-items { list-style: none; margin: 26px 0 30px; display: grid; gap: 13px; flex: 1; }
.tier-items li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; font-weight: 300; color: var(--ink-dim); }
.tier-items li svg { flex: none; margin-top: 3px; }
.tier .btn { align-self: flex-start; }

/* ---------- pago escalonado ---------- */
.split {
  margin: 64px auto 0; max-width: 900px;
  border: 1px solid var(--line); background: var(--surface); padding: 44px 40px;
}
.split-head { margin-bottom: 34px; }
.split-head h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(22px, 2.6vw, 30px); line-height: 1.2; text-wrap: balance;
}
.split-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px; }
.split-step { display: flex; gap: 20px; align-items: flex-start; }
.split-pct {
  font-family: var(--sans); font-weight: 600; font-size: 34px; line-height: 1;
  color: var(--ink-faint); font-variant-numeric: tabular-nums; flex: none; min-width: 74px;
}
.split-pct.gold { color: var(--gold-bright); }
.split-step h4 { font-size: 15px; font-weight: 500; margin-bottom: 7px; color: var(--ink); }
.split-step p { font-size: 14px; font-weight: 300; line-height: 1.6; color: var(--ink-dim); text-wrap: pretty; }
.split-step p strong { color: var(--ink); font-weight: 500; }
.split-guarantee {
  margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line-soft);
  display: flex; gap: 16px; align-items: flex-start;
}
.split-guarantee svg { flex: none; margin-top: 2px; }
.split-guarantee p { font-size: 14.5px; font-weight: 300; line-height: 1.6; color: var(--ink-dim); text-wrap: pretty; }
.split-guarantee strong { color: var(--ink); font-weight: 500; }

/* ---------- quién vende ---------- */
.host { background: var(--bg-2); border-top: 1px solid var(--line-soft); }
.host-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.host-lead { margin-top: 18px; color: var(--ink-dim); font-weight: 300; line-height: 1.65; text-wrap: pretty; }
.host-note {
  margin-top: 22px; padding-left: 18px; border-left: 2px solid var(--gold);
  color: var(--ink-dim); font-weight: 300; font-size: 15px; line-height: 1.6; text-wrap: pretty;
}
.host-cards { display: grid; gap: 16px; }
.host-card {
  display: flex; gap: 18px; align-items: center;
  background: var(--surface); border: 1px solid var(--line-soft); padding: 22px 24px;
  transition: border-color .3s ease;
}
.host-card:hover { border-color: var(--line); }
.host-card-link { text-decoration: none; color: inherit; }
.host-avatar {
  flex: none; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--line);
  font-family: var(--sans); font-weight: 500; font-size: 16px; letter-spacing: .06em;
  color: var(--gold);
  /* Cuando el avatar es una <img> hace falta el recorte: sin object-fit la
     foto cuadrada se deforma dentro del circulo. */
  object-fit: cover; overflow: hidden;
}
.host-avatar.wa { background: var(--gold); border-color: var(--gold); }
.host-card h4 { font-size: 15.5px; font-weight: 500; color: var(--ink); }
.host-role { font-size: 13px; font-weight: 300; color: var(--ink-faint); margin-top: 3px; line-height: 1.45; }
.host-link {
  display: inline-block; margin-top: 8px; font-size: 14px; font-weight: 500;
  color: var(--gold); text-decoration: none; font-variant-numeric: tabular-nums;
}
a.host-link:hover { color: var(--gold-bright); }

/* ---------- pie ---------- */
.footer-contact { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 13px; }
.footer-contact a { color: var(--ink-dim); text-decoration: none; font-variant-numeric: tabular-nums; }
.footer-contact a:hover { color: var(--gold); }
.footer-contact span { color: var(--ink-faint); }

/* ═════════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   Había un solo corte, en 980px, y nada por debajo — con una audiencia que es
   casi toda móvil. Estos dos cortes son los que faltaban.
   ═════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 860px) {
  .tier-grid { grid-template-columns: 1fr; max-width: 480px; }
  .split-steps { grid-template-columns: 1fr; gap: 26px; }
  .host-grid { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .section-pad { padding: 72px 0; }
  .section-head { margin-bottom: 44px; }

  /* La fila de datos del hero se partía fea: en móvil va apilada, y los
     separadores verticales pasan a ser líneas horizontales. */
  .hero-date { flex-direction: column; align-items: flex-start; gap: 18px; }
  .hero-fact { padding: 0; margin: 0; }
  .hero-fact + .hero-fact {
    border-left: 0; border-top: 1px solid var(--line-soft);
    padding: 18px 0 0; margin: 0;
  }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { text-align: center; }

  .split { padding: 32px 24px; }
  .split-step { gap: 16px; }
  .split-pct { font-size: 30px; min-width: 62px; }

  .tier { padding: 30px 24px 28px; }
  .tier-price { font-size: 38px; }

  .host-card { padding: 18px; gap: 14px; }
  .host-avatar { width: 48px; height: 48px; font-size: 14px; }

  .pkg-fineprint { text-align: left; }

  /* El agendador es lo único que TIENE que funcionar en un teléfono. */
  .slot-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .cal-cell { font-size: 14px; }
}
