:root {
  --bg: #f9fafb;
  --bg-alt: #ffffff;
  --card: #ffffff;
  --border: rgba(209, 213, 219, 0.9);
  --text: #111827;
  --muted: #6b7280;
  --accent: #22c55e;
  --accent-soft: rgba(34, 197, 94, 0.06);
  --accent-2: #0ea5e9;
  --accent-danger: #ef4444;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, #bbf7d022, transparent 55%),
    radial-gradient(circle at top right, #bfdbfe22, transparent 55%),
    radial-gradient(circle at bottom, #fee2e222, transparent 55%),
    linear-gradient(to bottom, #f9fafb, #eef2ff 45%, #f9fafb);
}

.body--intro {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 5rem 0;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(20px);
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.9),
    rgba(248, 250, 252, 0.9)
  );
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  transition: box-shadow 0.2s ease-out, background-color 0.2s ease-out,
    border-color 0.2s ease-out;
}

.site-header.scrolled {
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  border-bottom-color: rgba(209, 213, 219, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  background: linear-gradient(135deg, #22c55e, #0ea5e9);
  color: #022c22;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.45);
  overflow: hidden;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-title {
  font-size: 0.9rem;
  font-weight: 600;
}

.brand-subtitle {
  font-size: 0.7rem;
  color: var(--muted);
}

.main-nav {
  display: none;
  gap: 1.25rem;
  font-size: 0.85rem;
  color: #4b5563;
}

.main-nav a {
  position: relative;
  padding-bottom: 0.15rem;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #22c55e, #0ea5e9);
  transition: width 0.18s ease-out;
}

.main-nav a:hover::after {
  width: 100%;
}

@media (min-width: 768px) {
  .main-nav {
    display: flex;
  }
}

.auth-links {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.8rem;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  font-weight: 500;
  color: #111827;
}

.btn-outline.primary {
  border-color: rgba(34, 197, 94, 0.9);
  color: #065f46;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(96, 165, 250, 0.3);
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #1d4ed8;
}

.pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: radial-gradient(circle, #22c55e, transparent);
}

.hero {
  padding-top: 3.5rem;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: center;
  }
}

.hero-copy h1 {
  margin: 0.8rem 0 0.4rem;
  font-size: clamp(2.2rem, 3vw + 1.5rem, 3.4rem);
  letter-spacing: -0.04em;
}

.accent {
  display: inline-block;
  background: linear-gradient(90deg, #16a34a, #0ea5e9);
  -webkit-background-clip: text;
  color: transparent;
}

.next-trip-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.65);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #047857;
}

.next-trip-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: radial-gradient(circle, #22c55e, transparent);
}

.hero-text {
  margin-top: 0.9rem;
  max-width: 34rem;
  font-size: 0.97rem;
  line-height: 1.6;
  color: var(--muted);
}

.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(90deg, #22c55e, #0ea5e9);
  font-size: 0.85rem;
  font-weight: 600;
  color: #052e16;
  box-shadow: 0 16px 40px rgba(34, 197, 94, 0.35);
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(34, 197, 94, 0.4);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(255, 255, 255, 0.95);
  font-size: 0.8rem;
  font-weight: 500;
  color: #111827;
  transition: transform 0.2s ease-out, border-color 0.2s ease-out, background 0.2s ease-out;
}

.btn-ghost:hover {
  transform: translateY(-1px);
  border-color: rgba(34, 197, 94, 0.5);
  background: rgba(240, 253, 250, 0.95);
}

.hero-stats {
  margin-top: 1.7rem;
  display: flex;
  gap: 1.75rem;
}

.stat-number {
  font-weight: 600;
  font-size: 1.15rem;
}

.stat-label {
  margin-top: 0.1rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.hero-media {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .hero-media {
    grid-template-rows: minmax(0, 1.3fr) minmax(0, 1fr);
  }
}

.card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at top left, rgba(34, 197, 94, 0.08), transparent 55%),
    radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.08), transparent 55%),
    var(--card);
  box-shadow: var(--shadow-soft);
}

.hero-main-photo {
  position: relative;
  min-height: 220px;
  overflow: hidden;
}

.hero-photo-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(251, 191, 36, 0.7), transparent 55%),
    radial-gradient(circle at bottom, rgba(56, 189, 248, 0.6), transparent 55%),
    linear-gradient(135deg, #e0f2fe, #fefce8);
}

.hero-photo-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 0.3s ease-out;
  opacity: 0;
}

.hero-photo-label {
  position: absolute;
  left: 1.2rem;
  bottom: 1.1rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(209, 213, 219, 0.9);
}
.hero-side-cards {
  display: grid;
  gap: 0.8rem;
}

.mini-card {
  padding: 0.9rem 1.1rem;
}

.featured-trek {
  padding: 1.2rem 1.3rem;
  border-width: 2px;
  border-color: rgba(34, 197, 94, 0.8);
  box-shadow: 0 18px 40px rgba(34, 197, 94, 0.25);
  transform: translateY(-2px);
  position: relative;
  overflow: hidden;
}

.featured-trek::before {
  content: "Next trip: Hampta Pass";
  position: absolute;
  top: 0.75rem;
  right: 0.9rem;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(22, 163, 74, 0.15);
  border: 1px solid rgba(22, 163, 74, 0.9);
  color: #065f46;
}

.featured-trek-glow {
  animation: nextTripGlow 2.4s ease-in-out infinite;
}

@keyframes nextTripGlow {
  0% {
    box-shadow: 0 18px 40px rgba(34, 197, 94, 0.25);
  }
  50% {
    box-shadow: 0 22px 60px rgba(34, 197, 94, 0.55);
  }
  100% {
    box-shadow: 0 18px 40px rgba(34, 197, 94, 0.25);
  }
}

.mini-title {
  font-size: 0.8rem;
  font-weight: 600;
}

.mini-body {
  margin-top: 0.3rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.interest-btn {
  margin-top: 0.7rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 197, 94, 0.5);
  background: rgba(240, 253, 250, 0.9);
  font-size: 0.78rem;
  font-weight: 500;
  color: #065f46;
  cursor: pointer;
}

.interest-btn:hover {
  background: rgba(187, 247, 208, 0.9);
}

.hampta-btn-secondary {
  margin-left: 0.6rem;
  margin-top: 0.5rem;
}

@media (min-width: 500px) {
  .hampta-copy .btn-primary + .hampta-btn-secondary {
    margin-left: 0.75rem;
    margin-top: 1rem;
  }
}

/* Interest CTA on sub-pages (itinerary, requirements) */
.interest-btn-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 197, 94, 0.5);
  background: rgba(240, 253, 250, 0.95);
  font-size: 0.85rem;
  font-weight: 600;
  color: #065f46;
  text-decoration: none;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, background 0.2s ease-out;
}

.interest-btn-page:hover {
  background: rgba(187, 247, 208, 0.95);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(34, 197, 94, 0.25);
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
}

/* Requirements page */
.requirements-header {
  text-align: center;
  margin-bottom: 2rem;
}

.requirements-title {
  margin: 0.5rem 0 0.4rem;
  font-size: clamp(1.5rem, 3vw + 1rem, 2.2rem);
  letter-spacing: -0.03em;
}

.requirements-sub {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.requirements-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  max-width: 560px;
  margin: 0 auto;
}

.requirement-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(229, 231, 235, 0.95);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease-out, box-shadow 0.25s ease-out, border-color 0.25s ease-out;
}

.requirement-item:hover {
  transform: translateX(6px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
  border-color: rgba(34, 197, 94, 0.35);
}

.req-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.req-text {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.5;
}

.req-text strong {
  color: #0f172a;
}

/* Stagger animation for requirement items */
.reveal.in-view .requirement-item {
  animation: requirementFadeIn 0.5s ease-out forwards;
}

.reveal.in-view .requirement-item:nth-child(1) { animation-delay: 0.05s; }
.reveal.in-view .requirement-item:nth-child(2) { animation-delay: 0.1s; }
.reveal.in-view .requirement-item:nth-child(3) { animation-delay: 0.15s; }
.reveal.in-view .requirement-item:nth-child(4) { animation-delay: 0.2s; }
.reveal.in-view .requirement-item:nth-child(5) { animation-delay: 0.25s; }
.reveal.in-view .requirement-item:nth-child(6) { animation-delay: 0.3s; }
.reveal.in-view .requirement-item:nth-child(7) { animation-delay: 0.35s; }
.reveal.in-view .requirement-item:nth-child(8) { animation-delay: 0.4s; }

.requirements-list .requirement-item {
  opacity: 0;
  transform: translateX(-16px);
}

@keyframes requirementFadeIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Story cards stagger */
.story-cards-stagger .story-card {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease-out, transform 0.45s ease-out, box-shadow 0.25s ease-out, border-color 0.25s ease-out;
}

.reveal.in-view .story-cards-stagger .story-card {
  opacity: 1;
  transform: translateY(0);
}

.reveal.in-view .story-cards-stagger .story-card:nth-child(1) { transition-delay: 0.03s; }
.reveal.in-view .story-cards-stagger .story-card:nth-child(2) { transition-delay: 0.08s; }
.reveal.in-view .story-cards-stagger .story-card:nth-child(3) { transition-delay: 0.13s; }
.reveal.in-view .story-cards-stagger .story-card:nth-child(4) { transition-delay: 0.18s; }
.reveal.in-view .story-cards-stagger .story-card:nth-child(5) { transition-delay: 0.23s; }
.reveal.in-view .story-cards-stagger .story-card:nth-child(6) { transition-delay: 0.28s; }
.reveal.in-view .story-cards-stagger .story-card:nth-child(7) { transition-delay: 0.33s; }

.story-card {
  transition: transform 0.25s ease-out, box-shadow 0.25s ease-out, border-color 0.25s ease-out;
}

.story-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
  border-color: rgba(34, 197, 94, 0.25);
}

.section-header h2 {
  margin: 0.6rem 0 0.25rem;
  font-size: 1.35rem;
}

.section-text {
  max-width: 34rem;
  margin: 0.2rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.cards-grid {
  margin-top: 1.6rem;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .story-cards-stagger {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.story-cards-stagger {
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .story-cards-stagger {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.story-card {
  padding: 1.2rem 1.3rem;
}

.story-card h3 {
  margin: 0.5rem 0 0.25rem;
  font-size: 0.98rem;
}

.story-card p {
  margin: 0.15rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.story-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(255, 255, 255, 0.95);
}

.videos-grid {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .videos-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.video-card {
  overflow: hidden;
}

.video-thumb {
  position: relative;
  height: 130px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  background:
    radial-gradient(circle at top, rgba(34, 197, 94, 0.18), transparent 55%),
    radial-gradient(circle at bottom, rgba(14, 165, 233, 0.18), transparent 55%),
    #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(191, 219, 254, 0.9);
  box-shadow: 0 10px 30px rgba(148, 163, 184, 0.55);
}

.play-icon::before {
  content: "";
  margin-left: 2px;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent #22c55e;
}

.video-time {
  position: absolute;
  right: 0.85rem;
  bottom: 0.6rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(209, 213, 219, 0.9);
}

.video-body {
  padding: 0.9rem 1.1rem 1.1rem;
}

.video-platform {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.video-platform.insta {
  color: #f9a8d4;
}

.video-platform.fb {
  color: #bfdbfe;
}

.video-body h3 {
  margin: 0.4rem 0 0.25rem;
  font-size: 0.96rem;
}

.video-body p {
  margin: 0.2rem 0 0.6rem;
  font-size: 0.84rem;
  color: var(--muted);
}

.video-link {
  font-size: 0.8rem;
  color: #2563eb;
}

.socials-grid {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .socials-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.social-card {
  padding: 1.05rem 1.2rem;
  transition: transform 0.16s ease-out, border-color 0.16s ease-out,
    box-shadow 0.16s ease-out;
}

.social-card:hover {
  transform: translateY(-3px);
  border-color: rgba(59, 130, 246, 0.9);
  box-shadow: 0 18px 40px rgba(148, 163, 184, 0.45);
}

.social-platform {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.social-handle {
  margin-top: 0.4rem;
  font-size: 0.96rem;
  font-weight: 600;
}

.social-meta {
  margin-top: 0.25rem;
  font-size: 0.83rem;
  color: var(--muted);
}

.social-card.yt {
  border-image: linear-gradient(90deg, #f97373, #f97316) 1;
}

.social-card.ig {
  border-image: linear-gradient(90deg, #ec4899, #f97316) 1;
}

.social-card.fb {
  border-image: linear-gradient(90deg, #38bdf8, #6366f1) 1;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  padding: 1.6rem 1.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(209, 213, 219, 0.95);
  background:
    radial-gradient(circle at top left, rgba(34, 197, 94, 0.12), transparent 55%),
    #ffffff;
  box-shadow: var(--shadow-soft);
}

@media (min-width: 800px) {
  .contact-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.contact-label {
  font-size: 0.75rem;
  color: var(--muted);
}

.contact-value {
  margin-top: 0.1rem;
  font-size: 0.9rem;
}

.site-footer {
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  background: linear-gradient(to top, #f9fafb, #e5f7ff);
}

.footer-inner {
  padding: 1rem 1.25rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.75rem;
  color: var(--muted);
}

/* Reveal-on-scroll animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal.in-view .story-card {
  opacity: 1;
  transform: translateY(0);
}

.hampta-row {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .hampta-row {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr);
    align-items: center;
  }
}

.hampta-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.hampta-photo {
  border-radius: 18px;
  min-height: 120px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.16);
}

.hampta-photo-1 {
  background-image: url("./assets/hampta-1.png.jpeg");
}

.hampta-photo-2 {
  background-image: url("./assets/hampta-2.png.jpg");
}

.hampta-photo-3 {
  background-image: url("./assets/hampta-3.png.jpg");
}

.hampta-meta {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.hampta-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.95);
  border: 1px solid rgba(209, 213, 219, 0.9);
}

.hampta-meta strong {
  color: #0f172a;
  font-weight: 600;
}

.hampta-videos {
  grid-column: 1 / -1;
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 900px) {
  .hampta-videos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.hampta-video-wrap {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.16);
}

.hampta-video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  height: auto;
  background: #0f172a;
}

.social-card-disabled {
  cursor: default;
  opacity: 0.85;
}

.social-card-disabled:hover {
  transform: none;
  box-shadow: inherit;
}

.itinerary-card {
  margin-top: 1.6rem;
  padding: 1.4rem 1.2rem 1.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(209, 213, 219, 0.95);
  background:
    radial-gradient(circle at top left, rgba(34, 197, 94, 0.08), transparent 55%),
    radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.08), transparent 55%),
    #ffffff;
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.16);
}

.itinerary-header {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}

.itinerary-header-title {
  font-size: 1.05rem;
  font-weight: 600;
}

.itinerary-subline {
  font-size: 0.85rem;
  color: var(--muted);
}

.itinerary-meta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.4rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background: rgba(240, 249, 255, 0.95);
  border: 1px solid rgba(191, 219, 254, 0.9);
  color: #1d4ed8;
}

.badge.diy {
  background: rgba(240, 253, 250, 0.96);
  border-color: rgba(34, 197, 94, 0.9);
  color: #047857;
}

.badge.level {
  background: rgba(254, 249, 195, 0.9);
  border-color: rgba(234, 179, 8, 0.9);
  color: #92400e;
}

.badge.size {
  background: rgba(248, 250, 252, 0.96);
  border-color: rgba(148, 163, 184, 0.9);
  color: #374151;
}

.itinerary-timeline {
  display: grid;
  gap: 0.75rem;
  position: relative;
  padding-left: 1.25rem;
}

.itinerary-timeline::before {
  content: "";
  position: absolute;
  left: 0.4rem;
  top: 0;
  bottom: 0.4rem;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(
    to bottom,
    rgba(34, 197, 94, 0.1),
    rgba(14, 165, 233, 0.8)
  );
}

.itinerary-day {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(229, 231, 235, 0.95);
  position: relative;
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out,
    border-color 0.18s ease-out, background-color 0.18s ease-out;
}

.itinerary-day::before {
  content: "";
  position: absolute;
  left: -1.02rem;
  top: 0.9rem;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ffffff;
  border: 2px solid rgba(34, 197, 94, 0.9);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
}

.itinerary-day:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.16);
  border-color: rgba(59, 130, 246, 0.85);
  background: rgba(255, 255, 255, 0.98);
}

.itinerary-day-anim {
  opacity: 0;
  transform: translateY(22px);
}

.reveal.in-view .itinerary-day-anim:nth-child(1) {
  animation-delay: 0.02s;
  animation: itineraryFadeUp 0.6s ease-out forwards;
}

.reveal.in-view .itinerary-day-anim:nth-child(2) {
  animation-delay: 0.08s;
  animation: itineraryFadeUp 0.6s ease-out forwards;
}

.reveal.in-view .itinerary-day-anim:nth-child(3) {
  animation-delay: 0.14s;
  animation: itineraryFadeUp 0.6s ease-out forwards;
}

.reveal.in-view .itinerary-day-anim:nth-child(4) {
  animation-delay: 0.2s;
  animation: itineraryFadeUp 0.6s ease-out forwards;
}

.reveal.in-view .itinerary-day-anim:nth-child(5) {
  animation-delay: 0.26s;
  animation: itineraryFadeUp 0.6s ease-out forwards;
}

.reveal.in-view .itinerary-day-anim:nth-child(6) {
  animation-delay: 0.32s;
  animation: itineraryFadeUp 0.6s ease-out forwards;
}

.reveal.in-view .itinerary-day-anim:nth-child(7) {
  animation-delay: 0.38s;
  animation: itineraryFadeUp 0.6s ease-out forwards;
}

@keyframes itineraryFadeUp {
  0% {
    opacity: 0;
    transform: translateY(22px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.itinerary-day-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #6b7280;
}

.itinerary-day-title {
  font-size: 0.9rem;
  font-weight: 600;
}

.itinerary-day-body {
  grid-column: 2 / -1;
  font-size: 0.83rem;
  color: var(--muted);
}

.itinerary-day-tagline {
  margin-top: 0.2rem;
  font-size: 0.78rem;
  color: #4b5563;
}

/* Modal for trek interest */
.modal-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(15, 23, 42, 0.32);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-out;
  z-index: 40;
}

.modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  position: relative;
  max-width: 420px;
  width: 100%;
  padding: 1.6rem 1.5rem 1.5rem;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

.modal h2 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
}

.modal-text {
  margin: 0 0 1rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.modal-close {
  position: absolute;
  top: 0.7rem;
  right: 0.9rem;
  border: none;
  background: transparent;
  font-size: 1.25rem;
  cursor: pointer;
  color: #9ca3af;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.field span {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.8rem;
  color: #4b5563;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.5rem 0.6rem;
  border-radius: 10px;
  border: 1px solid rgba(209, 213, 219, 0.9);
  font-size: 0.85rem;
  font-family: inherit;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid rgba(59, 130, 246, 0.4);
  outline-offset: 1px;
  border-color: rgba(59, 130, 246, 0.9);
}

.modal-submit {
  width: 100%;
  justify-content: center;
  margin-top: 0.2rem;
  transition: transform 0.08s ease-out, box-shadow 0.12s ease-out;
}

.modal-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(34, 197, 94, 0.35);
}

.modal-submit:active {
  transform: translateY(0);
  box-shadow: 0 10px 24px rgba(34, 197, 94, 0.25);
}

.modal-footnote {
  margin-top: 0.4rem;
  font-size: 0.72rem;
  color: var(--muted);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%) translateY(20px);
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.97);
  color: #ecfdf5;
  font-size: 0.8rem;
  box-shadow: 0 20px 40px rgba(22, 163, 74, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-out, transform 0.2s ease-out;
  z-index: 50;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* Opening airplane intro */
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at top left, #bbf7d040, transparent 55%),
    radial-gradient(circle at bottom right, #bfdbfe50, transparent 55%),
    #020617;
  color: #e5f4ff;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.45s ease-out, visibility 0.45s ease-out;
}

.intro-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-inner {
  max-width: 520px;
  padding: 2.2rem 2rem;
  border-radius: 26px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background:
    radial-gradient(circle at top, rgba(251, 191, 36, 0.18), transparent 60%),
    radial-gradient(circle at bottom, rgba(56, 189, 248, 0.26), transparent 60%),
    rgba(15, 23, 42, 0.96);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.9);
}

.intro-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.85rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.7);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #bfdbfe;
}

.intro-tagline span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: radial-gradient(circle, #22c55e, transparent);
}

.intro-title {
  margin: 0.9rem 0 0.35rem;
  font-size: 1.6rem;
  letter-spacing: -0.04em;
}

.intro-sub {
  margin: 0;
  font-size: 0.9rem;
  color: #cbd5f5;
}

.intro-progress {
  margin-top: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.78rem;
  color: #e5e7eb;
}

.intro-bar {
  position: relative;
  flex: 1;
  height: 4px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(30, 64, 175, 0.6);
}

.intro-bar-fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #22c55e, #0ea5e9);
  transform-origin: left;
  transform: scaleX(0);
  animation: introFill 2.6s ease-out forwards;
}

@keyframes introFill {
  0% {
    transform: scaleX(0);
  }
  100% {
    transform: scaleX(1);
  }
}

.plane-track {
  position: relative;
  margin-top: 1.8rem;
  height: 40px;
  overflow: visible;
}

.plane {
  position: absolute;
  left: -10%;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  animation: planeFlight 3s ease-in-out forwards;
}

.plane-body {
  width: 70px;
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0ea5e9, #22c55e);
  box-shadow: 0 12px 35px rgba(56, 189, 248, 0.8);
  position: relative;
}

.plane-window {
  position: absolute;
  left: 12px;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #e0f2fe;
}

.plane-tail {
  position: absolute;
  right: -8px;
  top: 4px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 0 8px 10px;
  border-color: transparent transparent transparent #22c55e;
}

.plane-trail {
  width: 80px;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(148, 163, 184, 0), rgba(148, 163, 184, 0.9));
  opacity: 0.8;
}

@keyframes planeFlight {
  0% {
    transform: translate(-10%, -50%) translateY(0);
  }
  50% {
    transform: translate(60%, -50%) translateY(-6px);
  }
  100% {
    transform: translate(130%, -50%) translateY(0);
  }
}

/* Auth modal */
.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(15, 23, 42, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease-out, visibility 0.25s ease-out;
}

.auth-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.auth-panel {
  max-width: 420px;
  width: 100%;
  padding: 1.8rem 1.7rem 1.6rem;
  border-radius: 22px;
  background:
    radial-gradient(circle at top, rgba(56, 189, 248, 0.16), transparent 60%),
    radial-gradient(circle at bottom, rgba(34, 197, 94, 0.12), transparent 60%),
    #020617;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(30, 64, 175, 0.65);
  color: #e5e7eb;
}

.auth-page {
  min-height: 100vh;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.75rem 1.25rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, #bbf7d03a, transparent 55%),
    radial-gradient(circle at top right, #bfdbfe40, transparent 55%),
    radial-gradient(circle at bottom, #fee2e240, transparent 55%),
    radial-gradient(circle at center, rgba(15, 23, 42, 0.9), #020617);
  position: relative;
  overflow: hidden;
}

.auth-page-main {
  width: 100%;
  max-width: 440px;
}

.auth-page-card {
  margin: 0 auto;
  position: relative;
  z-index: 1;
  animation: authCardIn 0.7s ease-out forwards;
  transform-origin: center;
}

.auth-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
}

.auth-title {
  font-size: 1.15rem;
  margin: 0 0 0.15rem;
}

.auth-sub {
  margin: 0;
  font-size: 0.8rem;
  color: #9ca3af;
}

.auth-close {
  border: none;
  background: transparent;
  font-size: 1.25rem;
  cursor: pointer;
  color: #9ca3af;
}

.auth-tabs {
  display: inline-flex;
  padding: 0.15rem;
  border-radius: 999px;
  background: #e5e7eb;
  margin-bottom: 1.1rem;
}

.auth-tab {
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  font-size: 0.8rem;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #4b5563;
}

.auth-tab.active {
  background: #ffffff;
  color: #111827;
  box-shadow: 0 10px 25px rgba(148, 163, 184, 0.55);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.auth-form .field span {
  font-size: 0.78rem;
}

.auth-footer {
  margin-top: 0.9rem;
  font-size: 0.78rem;
  color: #9ca3af;
}

.auth-footer a {
  color: #60a5fa;
}

.auth-footer.small {
  margin-top: 0.6rem;
  font-size: 0.76rem;
}

.auth-page::before,
.auth-page::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(50px);
  opacity: 0.55;
  transform: translate3d(0, 0, 0);
}

.auth-page::before {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.9), transparent);
  top: -80px;
  right: -60px;
  animation: authBlob 18s ease-in-out infinite alternate;
}

.auth-page::after {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.85), transparent);
  bottom: -60px;
  left: -40px;
  animation: authBlob 20s ease-in-out infinite alternate-reverse;
}

@keyframes authBlob {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.45;
  }
  50% {
    transform: translate3d(30px, -20px, 0) scale(1.08);
    opacity: 0.6;
  }
  100% {
    transform: translate3d(-10px, 20px, 0) scale(0.96);
    opacity: 0.4;
  }
}

@keyframes authCardIn {
  0% {
    opacity: 0;
    transform: translateY(26px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

