/* ============================================
   GUATEMALA 2026 — AWWWARDS REDESIGN
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@300;400;500;600;700;800&family=Space+Mono:wght@400;700&family=Lora:ital,wght@0,400;0,500;1,400&display=swap');

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

:root {
  --bg:           #060606;
  --surface:      #0f0f0f;
  --surface-2:    #171717;
  --border:       #272727;
  --border-hover: #3a3a3a;
  --text:         #f0f0e8;
  --text-muted:   #9090a8;
  --text-dim:     #606078;
  --accent:       #ff4d1a;
  --accent-dim:   rgba(255,77,26,0.10);
  --green:        #4fd896;
  --green-dim:    rgba(79,216,150,0.10);
  --gold:         #f0c040;
  --gold-dim:     rgba(240,192,64,0.10);
  --white:        #ffffff;
  --radius-sm:    6px;
  --radius:       10px;
  --radius-lg:    18px;
  --mono:         'Space Mono', monospace;
  --serif:        'Lora', Georgia, serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  cursor: none;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.75; }
strong { font-weight: 700; color: var(--white); }

/* ============ CUSTOM CURSOR ============ */
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.08s;
}
.cursor-ring {
  width: 32px; height: 32px;
  border: 1.5px solid rgba(255,77,26,0.50);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.18s ease, width 0.2s, height 0.2s, border-color 0.2s;
}
body.cursor-hover .cursor-ring {
  width: 48px; height: 48px;
  border-color: var(--accent);
}
@media (pointer: coarse) {
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
}

/* ============ GRAIN TEXTURE ============ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.028;
  pointer-events: none;
  z-index: 9990;
}

/* ============ SCROLL REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(2rem, 6vw, 5rem);
  background: var(--bg);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, #1a0a00 0%, #060606 70%);
  opacity: 1;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg) 0%, transparent 60%);
}

.hero-top {
  position: absolute;
  top: clamp(1.5rem, 4vw, 3rem);
  left: clamp(2rem, 6vw, 5rem);
  right: clamp(2rem, 6vw, 5rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.hero-logo {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-date-badge {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-label {
  font-family: var(--mono);
  font-size: 0.70rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-label::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--text-muted);
}

.hero-title {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(4.5rem, 13vw, 12rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 0.15em;
}

.hero-title .word-accent {
  color: var(--accent);
  display: block;
}

.hero-title .word-light {
  font-weight: 300;
  color: rgba(255,255,255,0.38);
}

.hero-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-meta {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  line-height: 2;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 50px;
  transition: background 0.25s, color 0.25s, transform 0.2s;
  white-space: nowrap;
}

.hero-cta:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
  opacity: 1;
}

.hero-cta .arrow { transition: transform 0.2s; }
.hero-cta:hover .arrow { transform: translateX(4px); }

/* ============ NAV ============ */
.sticky-nav {
  position: sticky;
  top: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  background: rgba(7,7,11,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 clamp(1rem, 3vw, 2rem);
}
.sticky-nav::-webkit-scrollbar { display: none; }

.nav-logo {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  padding: 1rem 1.5rem 1rem 0;
  border-right: 1px solid var(--border);
  margin-right: 0.5rem;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
}

.sticky-nav a:not(.nav-logo) {
  flex: 0 0 auto;
  padding: 1.1rem 1.1rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
  transition: color 0.2s;
  position: relative;
}

.sticky-nav a:not(.nav-logo)::after {
  content: '';
  position: absolute;
  bottom: 0; left: 1.1rem; right: 1.1rem;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.sticky-nav a:not(.nav-logo):hover,
.sticky-nav a.nav-active {
  color: var(--white);
  opacity: 1;
}

.sticky-nav a:not(.nav-logo):hover::after,
.sticky-nav a.nav-active::after {
  transform: scaleX(1);
}

.nav-spacer { flex: 1; }

/* ============ MINI HERO ============ */
.mini-hero {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: flex-end;
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--bg);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.mini-hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1200&q=80')
    center 40%/cover no-repeat;
  opacity: 0.18;
  filter: saturate(0.5);
}

.mini-hero-bg-facts {
  background-image: url('https://images.unsplash.com/photo-1570793684673-23c9e9a7bd41?w=1200&q=80');
  background-position: center 60%;
}

.mini-hero-bg-docs {
  background-image: url('https://images.unsplash.com/photo-1607462109225-6b64ae2dd3cb?w=1200&q=80');
}

.mini-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg) 0%, transparent 70%);
}

.mini-hero-content {
  position: relative;
  z-index: 2;
}

.mini-hero-eyebrow {
  font-family: var(--mono);
  font-size: 0.70rem;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.mini-hero-title {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--white);
}

/* ============ SECTIONS ============ */
.section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 4rem);
}

.section-border {
  border-top: 1px solid var(--border);
}

.section-dark { background: var(--surface); }

.container { max-width: 1140px; margin: 0 auto; }

.section-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.section-label span {
  color: var(--accent);
}

.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
  max-width: 120px;
}

.section-title {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 0.5rem;
}

.section-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 0;
}

.section-header {
  margin-bottom: 3rem;
}

.section-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

/* ============ BUTTONS ============ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  background: var(--accent);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  border-radius: 50px;
  border: none;
  cursor: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--white); color: var(--bg); opacity: 1; transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  background: transparent;
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  border-radius: 50px;
  border: 1px solid var(--border-hover);
  cursor: none;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-ghost:hover { border-color: var(--white); color: var(--white); opacity: 1; }
.btn-ghost.active { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }

/* ============ ALERTS ============ */
.alert {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  margin-top: 1.5rem;
  font-size: 0.90rem;
  background: var(--gold-dim);
  color: var(--text);
}
.alert-green { border-left-color: var(--green); background: var(--green-dim); }
.alert-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 0.1rem; }

/* ============ ITINERARY ============ */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.day-block {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.25s;
}

.day-block:hover { border-color: var(--border-hover); }

.day-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.75rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  cursor: pointer;
  user-select: none;
}

.day-header:hover { background: rgba(255,255,255,0.03); }

.day-num {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  flex-shrink: 0;
}

.day-num-green { background: var(--green-dim); color: var(--green); border: 1px solid rgba(79,216,150,0.2); }
.day-num-orange { background: var(--accent-dim); color: var(--accent); border: 1px solid rgba(255,77,26,0.2); }
.day-num-gold { background: var(--gold-dim); color: var(--gold); border: 1px solid rgba(240,192,64,0.2); }
.day-num-default { background: var(--surface-2); color: var(--text-muted); border: 1px solid var(--border); }

.day-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  flex: 1;
}

.day-tag {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.day-chevron {
  color: var(--text-dim);
  font-size: 0.7rem;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.day-block.collapsed .day-chevron { transform: rotate(-90deg); }
.day-block.collapsed .day-body { display: none; }

.day-body { padding: 1.75rem; }

.schedule {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.schedule-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1.25rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
  transition: background 0.2s;
  border-radius: 4px;
  position: relative;
}

.schedule-item:last-child { border-bottom: none; }

/* Extra items connect seamlessly to the main schedule */
.extra-items:not(:empty) { border-top: 1px solid var(--border); }

.time {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
  padding-top: 0.15rem;
  white-space: nowrap;
}

.item-right {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.desc {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.75;
}

/* ---- Itinerary Links ---- */
.item-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  min-height: 0;
}

.link-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color: var(--green);
  border: 1px solid rgba(79,216,150,0.22);
  background: var(--green-dim);
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.link-pill:hover { background: rgba(79,216,150,0.2); border-color: var(--green); opacity: 1; }
.link-pill .pill-del {
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-left: 0.1rem;
  cursor: pointer;
  line-height: 1;
  display: none;
}
.edit-active .link-pill .pill-del { display: inline; }

.add-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: none;
  border: 1px dashed var(--border);
  padding: 0.18rem 0.6rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s;
  opacity: 0;
}
.schedule-item:hover .add-link-btn,
.edit-active .add-link-btn { opacity: 1; }
.add-link-btn:hover { border-color: var(--green); color: var(--green); }

.link-form {
  display: none;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem;
  gap: 0.5rem;
  flex-direction: column;
  margin-top: 0.25rem;
}
.link-form.open { display: flex; }
.link-form input {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.75rem;
  font-size: 0.82rem;
  color: var(--text);
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.link-form input:focus { border-color: var(--green); }
.link-form input::placeholder { color: var(--text-dim); }
.link-form-actions { display: flex; gap: 0.5rem; }

/* ---- Day tip ---- */
.day-tip {
  margin-top: 1.25rem;
  padding: 0.9rem 1.25rem;
  background: var(--surface-2);
  border-left: 2px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--serif);
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.day-tip strong { color: var(--accent); }

/* ---- Edit mode ---- */
.editable[contenteditable="true"] {
  outline: none;
  background: rgba(79,216,150,0.06);
  box-shadow: 0 0 0 1.5px rgba(79,216,150,0.35);
  border-radius: 3px;
  padding: 1px 4px;
  margin: -1px -4px;
  cursor: text;
}
.editable[contenteditable="true"]:focus {
  background: rgba(79,216,150,0.10);
  box-shadow: 0 0 0 1.5px var(--green);
}

/* ============ LOGISTICS (in itinerary) ============ */
.logistics-block {
  margin-top: 4rem;
  padding-top: 3.5rem;
  border-top: 1px solid var(--border);
}

.logistics-title-row {
  margin-bottom: 2rem;
}

.logistics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--border);
}

.logistics-card {
  background: var(--surface);
  padding: 1.5rem;
  transition: background 0.25s;
}
.logistics-card:hover { background: var(--surface-2); }

.logistics-card h4 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}

.logistics-card ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }

.logistics-card li {
  font-size: 0.86rem;
  color: var(--text-muted);
  padding-left: 1rem;
  position: relative;
  line-height: 1.55;
}
.logistics-card li::before { content: '›'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.logistics-card strong { color: var(--text); }

/* ============ PACKING ============ */
.pack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--border);
  margin-top: 2.5rem;
}

.pack-card {
  background: var(--surface);
  padding: 1.75rem;
  transition: background 0.25s;
}
.pack-card:hover { background: var(--surface-2); }

.pack-card h3 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.1rem;
}

.pack-card ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }

.pack-card li {
  font-size: 0.86rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.55;
}

.pack-card li::before { content: '–'; color: var(--text-dim); flex-shrink: 0; }

.pack-card ul.pack-editing {
  outline: 1px dashed var(--border-hover);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  min-height: 2rem;
}
.pack-card ul.pack-editing li { cursor: text; }
.pack-card ul.pack-editing:focus { outline-color: var(--accent); }

.required, .badge-free, .badge-rent {
  display: inline-block;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 0.08rem 0.45rem;
  border-radius: 3px;
  flex-shrink: 0;
  margin-top: 0.2rem;
  vertical-align: middle;
}
.required  { background: var(--accent); color: var(--white); }
.badge-free { background: var(--green);  color: #0a1a0f; }
.badge-rent { background: var(--gold);   color: #1a1200; }

/* ============ FOOD ============ */
.food-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--border);
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

.food-card {
  background: var(--bg);
  padding: 1.75rem;
  transition: background 0.25s;
}
.food-card:hover { background: var(--surface); }

.food-tag {
  font-family: var(--mono);
  font-size: 0.60rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.food-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.food-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============ TIPS ============ */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--border);
  margin-top: 2.5rem;
}

.tip {
  background: var(--surface);
  padding: 2rem;
  transition: background 0.25s;
}
.tip:hover { background: var(--surface-2); }

.tip-num {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.tip h3 { font-size: 0.95rem; font-weight: 700; color: var(--white); margin-bottom: 0.6rem; }
.tip p  { font-size: 0.86rem; color: var(--text-muted); line-height: 1.65; }

/* ============ CREW PAGE ============ */
.crew-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.crew-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem 1.5rem;
  text-align: center;
  transition: border-color 0.25s, transform 0.25s;
  position: relative;
  overflow: hidden;
}

.crew-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--card-color, var(--accent));
}

.crew-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }

.crew-emoji { font-size: 2.8rem; line-height: 1; margin-bottom: 0.6rem; }

.crew-confirmed {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 0.18rem 0.65rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

.confirmed-yes { background: var(--green-dim); color: var(--green); border: 1px solid rgba(79,216,150,0.2); }
.confirmed-no  { background: var(--gold-dim);  color: var(--gold);  border: 1px solid rgba(240,192,64,0.2); }

.crew-name { font-size: 1.2rem; font-weight: 800; color: var(--white); margin-bottom: 0.2rem; letter-spacing: -0.01em; }

.crew-role {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--card-color, var(--accent));
  margin-bottom: 0.65rem;
}

.crew-hype { font-size: 0.85rem; color: var(--text-muted); font-style: italic; margin-bottom: 1.25rem; line-height: 1.5; }

.crew-actions { display: flex; gap: 0.5rem; justify-content: center; }

.crew-btn {
  padding: 0.38rem 0.9rem;
  border-radius: 50px;
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: none;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-muted);
  transition: all 0.2s;
}
.crew-btn:hover { border-color: var(--text-muted); color: var(--white); }
.crew-btn-del:hover { border-color: var(--accent); background: var(--accent-dim); color: var(--accent); }

.crew-stats {
  display: flex;
  gap: 0;
  margin-top: 3rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--border);
}

.stat {
  flex: 1;
  background: var(--surface);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  text-align: center;
  transition: background 0.25s;
}
.stat:hover { background: var(--surface-2); }

.stat-num {
  font-family: 'Inter Tight', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-label {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ============ FACTS PAGE ============ */
.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--border);
  margin-top: 2.5rem;
}

.fact-card {
  background: var(--surface);
  padding: 2rem;
  transition: background 0.25s;
}
.fact-card:hover { background: var(--surface-2); }

.fact-icon { font-size: 1.5rem; margin-bottom: 0.75rem; }

.fact-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.fact-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.did-you-know-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--border);
  margin-top: 2.5rem;
}

.dyk {
  background: var(--surface);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  text-align: center;
  transition: background 0.25s;
}
.dyk:hover { background: var(--surface-2); }

.dyk-stat {
  font-family: 'Inter Tight', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1;
}

.dyk-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============ DOCS / VAULT PAGE ============ */
.docs-categories {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.cat-pill {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 0.38rem 0.9rem;
  border-radius: 50px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
}
.cat-pill:hover, .cat-pill.active { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }

.docs-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.doc-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  transition: background 0.2s;
  cursor: pointer;
}
.doc-row:last-child { border-bottom: none; }
.doc-row:hover { background: var(--surface-2); }

.doc-cat-badge {
  font-family: var(--mono);
  font-size: 0.60rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 0.22rem 0.65rem;
  border-radius: 50px;
  white-space: nowrap;
  flex-shrink: 0;
}

.cat-flights   { background: rgba(79,147,216,0.12); color: #4f93d8; border: 1px solid rgba(79,147,216,0.2); }
.cat-hotels    { background: var(--green-dim);       color: var(--green);  border: 1px solid rgba(79,216,150,0.2); }
.cat-tours     { background: var(--accent-dim);      color: var(--accent); border: 1px solid rgba(255,77,26,0.2); }
.cat-insurance { background: rgba(160,79,216,0.12);  color: #a04fd8;       border: 1px solid rgba(160,79,216,0.2); }
.cat-other     { background: var(--surface-2);       color: var(--text-muted); border: 1px solid var(--border); }

.doc-info { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; }

.doc-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.doc-meta-item {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.doc-notes {
  font-size: 0.82rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}

.doc-actions {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  flex-shrink: 0;
}

.doc-link-btn {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  border: 1px solid rgba(79,216,150,0.22);
  background: var(--green-dim);
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
.doc-link-btn:hover { background: rgba(79,216,150,0.2); opacity: 1; }

.doc-edit-btn {
  font-size: 0.75rem;
  color: var(--text-dim);
  background: none;
  border: 1px solid var(--border);
  padding: 0.2rem 0.55rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s;
}
.doc-edit-btn:hover { border-color: var(--text-muted); color: var(--text); }

.docs-empty {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.docs-empty p { font-size: 0.9rem; color: var(--text-muted); margin-top: 0.5rem; }

/* ============ MODAL ============ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(8px);
}

.modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.50);
  animation: modalIn 0.2s ease;
  max-height: 90vh;
  overflow-y: auto;
}

@keyframes modalIn {
  from { transform: scale(0.95) translateY(12px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}

.modal h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.modal-form { display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 1.5rem; }

.modal-form label {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 0.6rem;
}

.modal-form input[type="text"],
.modal-form input[type="url"],
.modal-form input[type="date"],
.modal-form select,
.modal-form textarea {
  width: 100%;
  padding: 0.65rem 0.9rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.90rem;
  color: var(--text);
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
  resize: none;
}
.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus { border-color: var(--accent); }
.modal-form select { appearance: none; cursor: pointer; }
.modal-form textarea { min-height: 72px; }
.modal-form input::placeholder,
.modal-form textarea::placeholder { color: var(--text-dim); }

.check-label {
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem !important;
  color: var(--text) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  cursor: pointer;
  margin-top: 0.75rem !important;
}

.emoji-picker { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.25rem; }
.emoji-opt {
  font-size: 1.3rem;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: all 0.15s;
}
.emoji-opt:hover { background: var(--surface-2); }
.emoji-sel { border-color: var(--accent); background: var(--accent-dim); }

.color-picker { display: flex; gap: 0.45rem; flex-wrap: wrap; margin-top: 0.25rem; }
.color-opt {
  width: 24px; height: 24px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s, border-color 0.15s;
}
.color-opt:hover { transform: scale(1.2); }
.color-sel { border-color: var(--white); transform: scale(1.2); }

.modal-actions { display: flex; gap: 0.75rem; justify-content: flex-end; }

/* ============ DAY TABS ============ */
.day-tabs {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--border);
  margin-bottom: 0;
}

.day-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 1.1rem 0.75rem;
  background: var(--surface);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  border-right: 1px solid var(--border);
  min-width: 0;
}
.day-tab:last-child { border-right: none; }
.day-tab:hover { background: var(--surface-2); }

.day-tab.active {
  background: var(--surface-2);
  position: relative;
}
.day-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
}

.tab-num {
  font-family: var(--mono);
  font-size: 0.60rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}
.day-tab.active .tab-num { color: var(--accent); }

.tab-date {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  white-space: nowrap;
}

.tab-label {
  font-size: 0.80rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  text-align: center;
}
.day-tab.active .tab-label { color: var(--white); }

/* ---- Day Panels ---- */
.day-panels { margin-top: 1px; }

.day-panel {
  display: none;
  border: 1px solid var(--border);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden;
}
.day-panel.active { display: block; }

/* ---- Add Entry Zone ---- */
.add-entry-zone {
  padding: 1rem 1.75rem 1.25rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.add-entry-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: none;
  border: 1px dashed var(--border-hover);
  padding: 0.45rem 1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s;
}
.add-entry-trigger:hover { border-color: var(--accent); color: var(--accent); }

.add-entry-form {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 1rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.add-entry-form.open { display: flex; }

.add-entry-form input {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.85rem;
  font-size: 0.88rem;
  color: var(--text);
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.add-entry-form input:focus { border-color: var(--accent); }
.add-entry-form input::placeholder { color: var(--text-dim); }

.add-entry-actions { display: flex; gap: 0.5rem; }

/* ---- Extra items (user-added) ---- */
.extra-item {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 1rem;
  padding: 0.85rem 1.75rem;
  border-bottom: 1px solid var(--border);
  align-items: start;
  background: var(--surface);
}

.extra-item input.extra-time,
.extra-item input.extra-desc,
.extra-item span.extra-time,
.extra-item span.extra-desc {
  background: transparent;
  border: none;
  outline: none;
  font-family: inherit;
  color: var(--text);
  width: 100%;
  padding: 0;
}
.extra-item input.extra-time,
.extra-item span.extra-time {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.extra-item input.extra-desc,
.extra-item span.extra-desc { font-size: 0.90rem; line-height: 1.7; }
.extra-item input:focus { box-shadow: 0 1px 0 var(--border-hover); }

.extra-item-delete {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-dim);
  border-radius: 50px;
  padding: 0.2rem 0.65rem;
  font-size: 0.68rem;
  font-family: var(--mono);
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.2s;
  align-self: flex-start;
  margin-top: 0.25rem;
}
.extra-item-delete:hover { border-color: #e05555; color: #e05555; }

@media (max-width: 640px) {
  .day-tabs { border-radius: var(--radius); }
  .tab-label { display: none; }
  .day-tab { padding: 0.85rem 0.5rem; }
  .extra-item { grid-template-columns: 100px 1fr auto; gap: 0.5rem; padding: 0.75rem 1rem; }
}

/* ============ LOGO BRACKET ============ */
.logo-bracket {
  color: var(--accent);
  font-weight: 400;
}

/* ============ PLACES SECTION ============ */
.places-grid {
  display: flex;
  flex-direction: column;
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--border);
  margin-top: 2.5rem;
}

.places-card {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 1.5rem;
  align-items: center;
  background: var(--surface);
  padding: 2rem 1.75rem;
  transition: background 0.25s;
}
.places-card:hover { background: var(--surface-2); }

.places-card-num {
  font-family: var(--mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: -0.02em;
  line-height: 1;
}

.places-card-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
}

.places-card-body p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.places-card-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  flex-shrink: 0;
}

.places-open-btn {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.places-open-btn:hover { background: var(--accent); color: var(--white); opacity: 1; }

.places-no-link {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.places-set-btn {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: none;
  border: 1px solid var(--border-hover);
  padding: 0.28rem 0.75rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.places-set-btn:hover { border-color: var(--text); color: var(--white); }

.places-hint {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: center;
  margin-top: 1.25rem;
}

@media (max-width: 640px) {
  .places-card { grid-template-columns: 40px 1fr; gap: 1rem; }
  .places-card-action { grid-column: 1 / -1; flex-direction: row; align-items: center; }
}

/* ============ FOOTER ============ */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 3rem clamp(1.5rem, 5vw, 4rem);
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-title {
  font-family: 'Inter Tight', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.footer-sub {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-top: 0.2rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); opacity: 1; }

/* ============ RESPONSIVE ============ */
@media (max-width: 640px) {
  .schedule-item { grid-template-columns: 1fr; gap: 0.2rem; padding: 0.75rem 0; }
  .time { font-size: 0.68rem; }
  .hero-title { letter-spacing: -0.02em; }
  .section { padding: 3.5rem 1.25rem; }
  .section-header-row { flex-direction: column; }
  .doc-row { grid-template-columns: auto 1fr; }
  .doc-actions { grid-column: 1 / -1; }
  .logistics-grid,
  .pack-grid,
  .food-grid,
  .tips-grid,
  .facts-grid { grid-template-columns: 1fr; }
  .crew-stats { flex-direction: column; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
