﻿:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bg: #f7f7f5;
  --surface: rgba(255,255,255,0.92);
  --surface-strong: #ffffff;
  --text: #111111;
  --muted: #5d6c72;
  --accent: #2a5a5a;
  --accent-soft: #ebf5f3;
  --border: rgba(42,90,90,0.12);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px rgba(17,24,39,0.08);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top, rgba(42,90,90,0.08), transparent 40%), var(--bg);
  color: var(--text);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea {
  font: inherit;
}
body {
  background-attachment: fixed;
}
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: #ffffff;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.4s ease;
}
body.loaded .page-transition {
  opacity: 0;
}
body.animating .page-transition {
  opacity: 1;
}
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 32px;
  backdrop-filter: blur(18px);
  background: rgba(255,255,255,0.72);
  border-bottom: 1px solid rgba(17,24,39,0.08);
}
.brand {
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  padding: 10px 14px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-links a.active,
.nav-links a:hover {
  background: var(--accent-soft);
  color: var(--accent);
}
.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}
main {
  padding-top: 100px;
}
.eyebrow {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}
.section-header h1,
.section-header h2,
.hero-content h1,
.route-hero-overlay h1,
.quiz-card h1,
.booking-card h1 {
  margin: 16px 0 12px;
  line-height: 1.05;
}
.section-copy,
.hero-content p,
.route-summary p,
.timeline-text p,
.route-summary-card p,
.panel-card p {
  color: var(--muted);
  max-width: 680px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.button:hover {
  transform: translateY(-1px);
}
.button-primary {
  background: var(--accent);
  color: #fff;
}
.button-secondary {
  background: rgba(42,90,90,0.06);
  color: var(--accent);
}
.hero-fullscreen {
  position: relative;
  min-height: calc(100vh - 100px);
  display: grid;
  align-items: center;
  overflow: hidden;
}
.hero-slideshow {
  position: absolute;
  inset: 0;
}
.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.slide.active {
  opacity: 1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(247,247,245,0.92) 40%, rgba(255,255,255,0.96));
}
.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 24px;
  max-width: 620px;
}
.hero-content h1 {
  font-size: clamp(3.2rem, 5vw, 4.8rem);
  margin: 0;
}
.hero-content p {
  font-size: 1.1rem;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.advantages-section {
  padding: 80px 0 140px;
}
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 36px;
}
.advantage-card {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.advantage-card h3 {
  margin: 0 0 12px;
}
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 24px;
}
.filter-btn {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  padding: 10px 16px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.filter-btn.active,
.filter-btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}
.masonry-grid {
  column-count: 3;
  column-gap: 24px;
}
.route-card {
  break-inside: avoid;
  margin-bottom: 24px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}
.route-card .route-image {
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
}
.route-meta {
  padding: 20px;
}
.route-label {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.85rem;
}
.route-meta h2 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}
.route-meta p {
  margin: 0;
  color: var(--muted);
}
.route-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
}
.route-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(17,24,39,0.45) 70%);
}
.route-hero-overlay {
  position: relative;
  z-index: 1;
  padding: 52px 32px 64px;
  color: #fff;
}
.route-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
}
.route-summary span {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
}
.route-info {
  padding: 60px 0 120px;
  display: grid;
  gap: 32px;
}
.route-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.stat-block {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface-strong);
  border: 1px solid var(--border);
}
.stat-block p,
.stat-block strong {
  margin: 12px 0 0;
  font-size: 1.3rem;
}
.difficulty-pill {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 999px;
  color: #fff;
}
.difficulty-pill.medium {
  background: #3f7b75;
}
.route-detail-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 24px;
}
.timeline-panel,
.timeline-detail,
.equipment-box,
.booking-cta {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.timeline {
  display: grid;
  gap: 12px;
}
.timeline-item {
  text-align: left;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: rgba(42,90,90,0.04);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.timeline-item.active,
.timeline-item:hover {
  background: rgba(42,90,90,0.12);
  border-color: rgba(42,90,90,0.14);
}
.timeline-detail img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  aspect-ratio: 16 / 10;
}
.timeline-text h3 {
  margin: 22px 0 12px;
}
.timeline-text p {
  color: var(--muted);
  line-height: 1.8;
}
.equipment-box ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 12px;
}
.equipment-box li {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
}
.booking-cta {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.quiz-shell,
.booking-page {
  min-height: calc(100vh - 100px);
  display: grid;
  place-items: center;
  padding: 80px 0 120px;
}
.quiz-card,
.booking-card {
  width: min(760px, 100%);
  background: var(--surface-strong);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 36px;
}
.quiz-progress {
  height: 6px;
  border-radius: 999px;
  background: rgba(42,90,90,0.1);
  margin: 20px 0 28px;
  overflow: hidden;
}
.quiz-progress span {
  display: block;
  width: 25%;
  height: 100%;
  background: var(--accent);
  transition: width 0.3s ease;
}
.quiz-form {
  display: grid;
  gap: 24px;
}
.quiz-step {
  display: none;
}
.quiz-step.active {
  display: block;
}
.field-group {
  display: grid;
  gap: 10px;
}
.field-group label {
  font-weight: 600;
}
.field-group input,
.field-group textarea,
.field-group select {
  width: 100%;
  min-height: 50px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #fff;
  outline: none;
}
.option-grid {
  display: grid;
  gap: 16px;
}
.choice-card {
  display: block;
  padding: 18px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.choice-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.choice-card span {
  display: block;
  color: var(--text);
  font-weight: 600;
}
.choice-card:hover {
  border-color: rgba(42,90,90,0.3);
}
.choice-card input:checked + span {
  color: var(--accent);
}
.range-value {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  font-weight: 700;
  color: var(--accent);
}
.quiz-actions {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.quiz-result {
  margin-top: 32px;
}
.loader-card,
.result-card {
  border-radius: var(--radius);
  padding: 30px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  text-align: center;
}
.loader-circle {
  width: 86px;
  height: 86px;
  margin: 0 auto 18px;
  border-radius: 50%;
  border: 8px solid rgba(42,90,90,0.12);
  border-top-color: var(--accent);
  animation: spin 1.4s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.planner-shell {
  min-height: calc(100vh - 100px);
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 24px;
  padding: 32px;
}
.planner-map {
  min-height: 700px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.planner-panel {
  display: grid;
  gap: 24px;
}
.panel-card {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}
.panel-card h2 {
  margin-top: 0;
}
.route-summary-card {
  display: grid;
  gap: 18px;
}
.route-summary-card .stat-block {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(42,90,90,0.08);
}
.route-summary-card .stat-block:last-child {
  border-bottom: none;
}
.route-summary-card strong {
  color: var(--accent);
  font-size: 1.2rem;
}
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 40px 0 100px;
}
.schedule-card {
  position: relative;
  min-height: 380px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background-size: cover;
  background-position: center;
}
.schedule-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17,24,39,0.14), rgba(17,24,39,0.76));
  color: #fff;
  display: grid;
  gap: 18px;
  padding: 28px;
  align-content: flex-end;
}
.schedule-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-weight: 600;
}
.progress {
  width: 100%;
  height: 10px;
  background: rgba(255,255,255,0.18);
  border-radius: 999px;
  overflow: hidden;
}
.progress span {
  display: block;
  height: 100%;
  background: #fff;
}
.booking-form {
  display: grid;
  gap: 22px;
}
.saved-route-box {
  margin: 24px 0 32px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  border: 1px solid var(--border);
}
.saved-route-box h2 {
  margin: 0 0 14px;
}
.success-message {
  margin-top: 20px;
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  background: #e6f4ee;
  color: #1b4d41;
}
@media (max-width: 1024px) {
  .planner-shell {
    grid-template-columns: 1fr;
  }
  .schedule-grid,
  .advantages-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 820px) {
  .nav-links {
    display: none;
  }
  .hero-content {
    padding-bottom: 60px;
  }
  .route-detail-grid {
    grid-template-columns: 1fr;
  }
  .topbar {
    padding: 16px 20px;
  }
  .container {
    width: min(100%, calc(100% - 32px));
  }
  .masonry-grid {
    column-count: 1;
  }
}
