:root {
  --bg: #F7F8FB;
  --surface: #FFFFFF;
  --text: #0B1220;
  --muted: #475569;
  --line: #E2E8F0;
  --accent: #1D4ED8;
  --accent2: #F59E0B;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 140px, rgba(71, 85, 105, 0.04) 140px, rgba(71, 85, 105, 0.04) 141px),
    repeating-linear-gradient(90deg, transparent, transparent 140px, rgba(71, 85, 105, 0.03) 140px, rgba(71, 85, 105, 0.03) 141px),
    repeating-linear-gradient(45deg, transparent, transparent 300px, rgba(29, 78, 216, 0.03) 300px, rgba(29, 78, 216, 0.03) 301px);
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.container { width: min(1120px, 92%); margin: 0 auto; }
.section { padding: 84px 0; }
.section-alt { background: rgba(255, 255, 255, 0.55); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 10px; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.12; margin-bottom: 14px; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1.18; margin-bottom: 20px; }
h3 { font-size: 1.1rem; margin-bottom: 8px; }
.lead { color: var(--muted); max-width: 60ch; margin-bottom: 24px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(247, 248, 251, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; }
.brand-logo { width: 34px; height: 34px; }

.main-nav ul { list-style: none; display: flex; gap: 18px; }
.nav-link { color: var(--muted); font-weight: 500; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav-link.active,
.nav-link:hover { color: var(--text); border-bottom-color: var(--accent); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 4px auto;
  transition: 0.2s;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: start;
}
.hero-panel { display: grid; gap: 14px; }
.hero-image { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 16 / 10; object-fit: cover; }
.brief {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.kpi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0; }
.kpi-tile { background: #f8fbff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px; text-align: center; }
.kpi-tile strong { display: block; color: var(--accent); font-size: 1.2rem; }
.kpi-tile span { color: var(--muted); font-size: 0.82rem; }
.brief-list { list-style: none; display: grid; gap: 8px; color: var(--muted); }
.brief-list li::before { content: "•"; color: var(--accent); margin-right: 8px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 11px 18px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #1946c4; }
.btn-secondary { background: #fff; color: var(--text); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--accent2); color: var(--accent2); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.rounded { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.bullet-list { margin-top: 14px; display: grid; gap: 10px; color: var(--muted); padding-left: 18px; }

.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 20px; }
.chip {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}
.chip.active { background: var(--accent); color: #fff; border-color: var(--accent); }

.route-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.route-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.route-card img { width: 100%; height: 170px; object-fit: cover; }
.route-card > div { padding: 14px; }
.route-card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { background: #eef3ff; color: var(--accent); border-radius: 999px; font-size: 0.8rem; padding: 4px 10px; }
.route-card.hidden { display: none; }

.card-grid { display: grid; gap: 14px; }
.card-grid.six { grid-template-columns: repeat(3, 1fr); }
.card-grid.four { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.card p { color: var(--muted); margin-bottom: 8px; }
.card small { color: var(--muted); }

.gear-top { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: center; margin-bottom: 18px; }
.toggle-row { display: flex; gap: 10px; flex-wrap: wrap; }
.toggle-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}
.toggle-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.gear-photo { width: 100%; max-height: 220px; object-fit: cover; }
.gear-list {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.check-group { margin-bottom: 14px; }
.check-group h4 { margin-bottom: 8px; }
.check-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.check-items label { color: var(--muted); display: flex; gap: 8px; align-items: center; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
}
.price-card.featured { border-color: var(--accent); transform: translateY(-4px); }
.badge { font-size: 0.78rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.06em; }
.price { font-size: 1.8rem; font-weight: 700; color: var(--text); }
.price span { font-size: 0.95rem; color: var(--muted); font-weight: 500; }
.price-card ul { padding-left: 18px; color: var(--muted); display: grid; gap: 6px; }

.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px;
}
.stat h3 { font-size: 1.8rem; color: var(--accent); }
.stat p { color: var(--muted); }
.progress-wrap { display: grid; gap: 12px; margin-bottom: 16px; }
.progress-wrap p { margin-bottom: 6px; }
.progress-track { height: 12px; border-radius: 999px; background: #e8edf7; overflow: hidden; }
.progress-fill { width: 0; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent2)); }
.timeline { display: flex; flex-wrap: wrap; gap: 10px; }
.timeline span { border: 1px dashed var(--line); border-radius: 999px; padding: 6px 12px; color: var(--muted); background: #fff; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 10px;
}
.contact-card p { color: var(--muted); }

.contact-form {
  display: grid;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.contact-form input,
.contact-form select,
.contact-form textarea,
#newsletterForm input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  font: inherit;
  color: var(--text);
  background: #fff;
}

.check-items label {
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.check-items input[type="checkbox"] {
  width: auto;
  min-width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--accent);
}
.success { color: #166534; font-weight: 600; margin-top: 6px; }

.site-footer { border-top: 1px solid var(--line); background: var(--surface); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 16px;
  padding: 42px 0;
}
.footer-grid h3 { margin-bottom: 10px; }
.footer-grid ul { list-style: none; display: grid; gap: 8px; }
.footer-grid p, .footer-grid li a { color: var(--muted); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 14px 0 24px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.back-top { color: var(--accent); font-weight: 600; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .contact-grid,
  .gear-top { grid-template-columns: 1fr; }
  .route-grid,
  .card-grid.six,
  .pricing-grid,
  .stats-grid,
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .route-grid,
  .card-grid.six,
  .card-grid.four,
  .pricing-grid,
  .stats-grid,
  .footer-grid,
  .check-items { grid-template-columns: 1fr; }

  .nav-toggle { display: inline-block; }
  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 73px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform 0.2s ease;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav ul { flex-direction: column; padding: 14px 4%; gap: 10px; }
}
