/* === Bow Valley Planner — Modern Design System === */
/* Professional outdoor/travel aesthetic inspired by AllTrails, REI, Patagonia */

/* --- Font --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Primary palette */
  --bg: #f8f7f4;
  --card-bg: #ffffff;
  --navy: #0f172a;
  --accent-green: #2d6a4f;
  --accent-green-hover: #1b4332;
  --accent-amber: #b45309;
  --accent-amber-hover: #92400e;

  /* Text */
  --text: #1e293b;
  --text-secondary: #64748b;
  --text-light: #94a3b8;

  /* Borders & backgrounds */
  --border: #e2e8f0;
  --border-light: #f1f5f9;

  /* Phase colors */
  --phase1: #2d6a4f;
  --phase2: #2563eb;
  --phase3: #7c3aed;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.09), 0 4px 6px rgba(0,0,0,0.04);
  --shadow-hover: 0 10px 25px rgba(0,0,0,0.10), 0 4px 10px rgba(0,0,0,0.05);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- Typography --- */
h1 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  margin: 2.5rem 0 1.25rem;
  line-height: 1.3;
  position: relative;
}

h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--accent-green);
  margin-top: 0.5rem;
  border-radius: 2px;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  margin: 1.5rem 0 0.75rem;
  line-height: 1.4;
}

h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1.25rem;
  color: var(--text);
  max-width: 680px;
}

main a {
  color: var(--accent-green);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
  border-bottom: 1.5px solid transparent;
}

main a:hover {
  color: var(--accent-amber);
  border-bottom-color: var(--accent-amber);
}

strong {
  color: var(--navy);
}

/* --- Layout Containers --- */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

/* ============================================ */
/*  HEADER                                      */
/* ============================================ */
header {
  background: var(--navy);
  color: #fff;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

header .logo {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

header .logo span {
  color: #86efac;
}

/* --- Language Switcher --- */
.lang-switcher {
  display: flex;
  gap: 0.35rem;
}

.lang-switcher a {
  color: var(--text-light);
  text-decoration: none;
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s ease;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-bottom: none;
}

.lang-switcher a:hover,
.lang-switcher a.active {
  color: #fff;
  background: var(--accent-green);
}

/* --- Breadcrumb --- */
.breadcrumb {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.breadcrumb a {
  color: var(--accent-green);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
  border-bottom: none;
}

.breadcrumb a:hover {
  color: var(--accent-amber);
}

/* ============================================ */
/*  HERO SECTION                                */
/* ============================================ */
.hero {
  text-align: center;
  padding: 3rem 1rem 3.5rem;
  background: linear-gradient(180deg, rgba(45,106,79,0.04) 0%, rgba(248,247,244,1) 100%);
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: 2.75rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

/* --- Quick Stats --- */
.quick-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0;
  margin: 2.5rem 0;
}

.stat-card {
  background: var(--card-bg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  border: 1px solid var(--border);
  border-right: none;
  position: relative;
}

.stat-card:first-child {
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.stat-card:last-child {
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  border-right: 1px solid var(--border);
}

.stat-card::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border);
}

.stat-card:last-child::after {
  display: none;
}

.stat-card .stat-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  display: block;
}

.stat-card .stat-num {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--accent-green);
  letter-spacing: -0.01em;
}

.stat-card .stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
  font-weight: 500;
}

/* --- Section Divider --- */
.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

/* ============================================ */
/*  CARDS (Generic)                             */
/* ============================================ */
.card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-light);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

/* ============================================ */
/*  PHASE CARDS                                 */
/* ============================================ */
.phase-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.phase-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.phase-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-green);
}

.phase-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.phase-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.phase-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.phase-card .tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.phase-card:nth-child(1) .tag {
  background: rgba(45, 106, 79, 0.12);
  color: var(--phase1);
}

.phase-card:nth-child(2) .tag {
  background: rgba(37, 99, 235, 0.12);
  color: var(--phase2);
}

.phase-card:nth-child(3) .tag {
  background: rgba(124, 58, 237, 0.12);
  color: var(--phase3);
}

.phase-card a {
  color: var(--accent-green);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s ease, transform 0.2s ease;
  border-bottom: none;
}

.phase-card a:hover {
  color: var(--accent-amber);
  transform: translateX(3px);
}

/* ============================================ */
/*  ROUTE OPTIONS                               */
/* ============================================ */
.route-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.route-option {
  background: var(--card-bg);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.route-option:hover {
  border-color: var(--accent-green);
  box-shadow: 0 6px 20px rgba(45, 106, 79, 0.15);
  transform: translateY(-3px);
}

.route-option .icon {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.route-option h4 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.route-option p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* ============================================ */
/*  QUICK LINKS NAV                             */
/* ============================================ */
.phase-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin: 2rem 0;
}

.phase-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1.5rem;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  min-height: 44px;
  border-bottom: none;
}

.phase-nav a:hover {
  background: var(--accent-green);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ============================================ */
/*  JOURNEY PROGRESS (Stepper)                  */
/* ============================================ */
.journey-progress {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.25rem 1.5rem 0;
}

.progress-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 1rem 0;
  font-size: 0.9rem;
}

.progress-step {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 24px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 0.85rem;
  border-bottom: none;
}

.progress-step.active {
  background: var(--phase1);
  color: #fff;
  box-shadow: 0 2px 8px rgba(45, 106, 79, 0.3);
}

.progress-step.inactive {
  color: var(--text-secondary);
  background: var(--border-light);
}

.progress-step.inactive:hover {
  color: var(--text);
  background: var(--border);
}

.progress-connector {
  width: 36px;
  height: 2px;
  background: var(--border);
  margin: 0 0.25rem;
  border-radius: 1px;
}

/* Phase-specific active colors */
.phase1-active .progress-step.active {
  background: var(--phase1);
  box-shadow: 0 2px 8px rgba(45, 106, 79, 0.3);
}
.phase2-active .progress-step.active {
  background: var(--phase2);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}
.phase3-active .progress-step.active {
  background: var(--phase3);
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
}

/* ============================================ */
/*  CALLOUT BOXES                               */
/* ============================================ */
.callout {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
  border-left: 4px solid;
  font-size: 0.95rem;
}

.callout.tip {
  background: rgba(45, 106, 79, 0.06);
  border-left-color: var(--accent-green);
}

.callout.warning {
  background: rgba(245, 158, 11, 0.06);
  border-left-color: #f59e0b;
}

.callout.info {
  background: rgba(37, 99, 235, 0.06);
  border-left-color: var(--phase2);
}

.callout strong {
  color: var(--navy);
}

.callout a {
  color: var(--accent-green);
  font-weight: 600;
}

/* ============================================ */
/*  SEASON CARDS                                */
/* ============================================ */
.season-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.season-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--accent-green);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.season-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.season-card.winter {
  border-top-color: #94a3b8;
}

.season-card .month {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.season-card .temp {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-green);
  margin: 0.5rem 0;
  letter-spacing: -0.01em;
}

.season-card.winter .temp {
  color: var(--text-secondary);
}

.season-card .cond {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.rec {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.2rem 0.65rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

.rec.yes {
  background: rgba(45, 106, 79, 0.12);
  color: var(--accent-green);
}

.rec.limited {
  background: rgba(245, 158, 11, 0.12);
  color: #92400e;
}

/* ============================================ */
/*  BIKE CARDS                                  */
/* ============================================ */
.bike-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.bike-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
  border: 1px solid var(--border-light);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bike-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.bike-card .icon {
  font-size: 3rem;
  margin-bottom: 0.75rem;
}

.bike-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}

.bike-card .price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-amber);
  margin: 0.5rem 0 0.75rem;
  letter-spacing: -0.01em;
}

.bike-card ul {
  list-style: none;
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-align: left;
  margin: 0.75rem 0;
}

.bike-card ul li {
  padding: 0.25rem 0;
}

.bike-card ul li::before {
  content: "✓ ";
  color: var(--accent-green);
  font-weight: 700;
}

.bike-card .confirmed {
  display: inline-block;
  margin-top: 0.5rem;
}

/* --- Checklist --- */
.checklist {
  list-style: none;
}

.checklist li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.95rem;
}

.checklist li:last-child {
  border-bottom: none;
}

.checklist li::before {
  content: "☐ ";
  color: var(--accent-green);
  font-weight: 700;
  font-size: 1.1rem;
}

/* ============================================ */
/*  TABLES                                      */
/* ============================================ */
table.landmarks,
table.rentals {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  border: 1px solid var(--border-light);
}

table.landmarks thead th,
table.rentals thead th {
  background: var(--navy);
  color: #fff;
  padding: 0.9rem 1rem;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

table.landmarks thead th:first-child,
table.rentals thead th:first-child {
  border-radius: var(--radius-lg) 0 0 0;
}

table.landmarks thead th:last-child,
table.rentals thead th:last-child {
  border-radius: 0 var(--radius-lg) 0 0;
}

table.landmarks td,
table.rentals td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-light);
}

table.landmarks tbody tr:last-child td:first-child,
table.rentals tbody tr:last-child td:first-child {
  border-radius: 0 0 0 var(--radius-lg);
}

table.landmarks tbody tr:last-child td:last-child,
table.rentals tbody tr:last-child td:last-child {
  border-radius: 0 0 var(--radius-lg) 0;
}

table.landmarks tbody tr:nth-child(even),
table.rentals tbody tr:nth-child(even) {
  background: rgba(248, 247, 244, 0.6);
}

table.landmarks tbody tr:hover,
table.rentals tbody tr:hover {
  background: rgba(45, 106, 79, 0.04);
}

table.landmarks tbody tr:last-child td,
table.rentals tbody tr:last-child td {
  border-bottom: none;
}

/* ============================================ */
/*  TRANSIT BOX                                 */
/* ============================================ */
.transit-box {
  background: var(--card-bg);
  border-left: 4px solid var(--accent-amber);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.transit-box h3 {
  color: var(--navy);
  margin-top: 0;
}

/* ============================================ */
/*  MAP & COMPARISON CONTAINERS                 */
/* ============================================ */
.map-container {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
  overflow-x: auto;
  border: 1px solid var(--border-light);
}

.comparison-chart {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  margin: 1.5rem 0;
  border: 1px solid var(--border-light);
}

/* ============================================ */
/*  PHOTO GRID                                  */
/* ============================================ */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.photo-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.photo-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.photo-card .km {
  font-size: 0.8rem;
  color: var(--accent-green);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.photo-card h4 {
  font-size: 1rem;
  margin: 0.35rem 0;
}

.photo-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* ============================================ */
/*  ACTIVITY & ADVENTURE GRIDS                  */
/* ============================================ */
.activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.activity-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--accent-green);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.activity-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.activity-card .icon {
  font-size: 2.75rem;
  margin-bottom: 0.75rem;
}

.activity-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.activity-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.adventure-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.adventure-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
  border: 1px solid var(--border-light);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.adventure-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.adventure-card .icon {
  font-size: 2.25rem;
  margin-bottom: 0.6rem;
}

.adventure-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.adventure-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* --- Dining List --- */
.dining-list {
  list-style: none;
}

.dining-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.dining-list li:last-child {
  border-bottom: none;
}

.dining-list .name {
  font-weight: 600;
  color: var(--navy);
  min-width: 160px;
}

.dining-list .note {
  font-size: 0.875rem;
  color: var(--text-secondary);
  flex: 1;
}

/* ============================================ */
/*  FAQ LIST                                    */
/* ============================================ */
.faq-list {
  list-style: none;
}

.faq-list li {
  margin-bottom: 0.5rem;
}

.faq-q {
  background: var(--card-bg);
  padding: 1.1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  transition: all 0.2s ease;
  border-left: 4px solid transparent;
  border: 1px solid var(--border-light);
}

.faq-q:hover {
  border-left-color: var(--accent-green);
  box-shadow: var(--shadow-md);
}

.faq-a {
  background: rgba(248, 247, 244, 0.8);
  padding: 1.1rem 1.5rem;
  margin: 0 0.5rem 0.5rem;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================ */
/*  SEARCH / ASK BOX                            */
/* ============================================ */
.search-box {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-light);
}

.search-box input {
  width: 100%;
  padding: 0.9rem 1.25rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 1.1rem;
  font-family: 'Inter', system-ui, sans-serif;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  min-height: 44px;
  background: var(--bg);
  color: var(--text);
}

.search-box input:focus {
  border-color: var(--accent-green);
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}

.suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.1rem;
}

.suggestion {
  background: var(--border-light);
  color: var(--text);
  padding: 0.55rem 1rem;
  border-radius: 24px;
  font-size: 0.85rem;
  cursor: pointer;
  border: none;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 500;
  transition: all 0.2s ease;
  min-height: 44px;
}

.suggestion:hover {
  background: var(--accent-green);
  color: #fff;
}

.answer-box {
  background: var(--card-bg);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
  display: none;
  border-left: 4px solid var(--accent-green);
  border: 1px solid var(--border-light);
}

.answer-box.show {
  display: block;
}

.answer-box h3 {
  font-size: 1.1rem;
  margin-top: 0;
}

.answer-box p {
  font-size: 0.95rem;
}

.answer-box .link {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--accent-green);
  font-weight: 600;
  text-decoration: none;
}

.answer-box .ai-note {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-light);
}

/* ============================================ */
/*  PHASE BOTTOM NAV                            */
/* ============================================ */
.phase-bottom {
  text-align: center;
  margin: 2.5rem 0;
  padding: 2rem;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.phase-bottom a {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: var(--accent-green);
  color: #fff;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  min-height: 44px;
  margin: 0 0.35rem;
  transition: all 0.2s ease;
  border-bottom: none;
}

.phase-bottom a:hover {
  background: var(--accent-green-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.phase-bottom a.back {
  background: var(--navy);
}

.phase-bottom a.back:hover {
  background: #1e293b;
}

/* --- Next Link --- */
.next-link {
  display: block;
  margin-top: 3rem;
  text-align: center;
}

.next-link a {
  display: inline-flex;
  align-items: center;
  background: var(--accent-green);
  color: #fff;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  min-height: 44px;
  transition: all 0.2s ease;
  border-bottom: none;
}

.next-link a:hover {
  background: var(--accent-green-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ============================================ */
/*  BOOK BUTTON                                 */
/* ============================================ */
.book-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.2rem;
  background: var(--accent-green);
  color: #fff;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s ease;
  min-height: 44px;
  border-bottom: none;
}

.book-btn:hover {
  background: var(--accent-green-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

/* ============================================ */
/*  DATA VERIFICATION LABELS                    */
/* ============================================ */
.confirmed {
  color: var(--accent-green);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.01em;
}

.user-reported {
  color: var(--accent-amber);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.01em;
}

/* ============================================ */
/*  MISC: AI LAYER, NOTE BOX                    */
/* ============================================ */
.ai-layer {
  background: rgba(37, 99, 235, 0.04);
  border: 1px dashed rgba(37, 99, 235, 0.25);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 2.5rem 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.ai-layer strong {
  color: var(--navy);
}

.note-box {
  background: rgba(245, 158, 11, 0.06);
  border-left: 4px solid #f59e0b;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1.25rem 0;
}

.note-box p {
  color: #78350f;
  margin: 0;
}

/* ============================================ */
/*  FOOTER                                      */
/* ============================================ */
footer {
  background: var(--navy);
  color: var(--text-light);
  text-align: center;
  padding: 2.5rem 1.5rem;
  font-size: 0.875rem;
  line-height: 1.8;
}

footer a {
  color: #86efac;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
  border-bottom: none;
}

footer a:hover {
  color: #fff;
}

footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin: 0.75rem 0;
}

footer .footer-links a {
  color: var(--text-light);
  font-weight: 500;
}

footer .footer-links a:hover {
  color: #fff;
}

/* ============================================ */
/*  ROOT SPLASH PAGE (index.html)               */
/* ============================================ */
/* Note: the root index.html has inline styles and does NOT link to shared.css.
   These styles are here for when/if it's refactored to use shared.css. */
.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
}

.lang-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.lang-btn {
  display: block;
  padding: 1.25rem;
  border: 2px solid var(--accent-green);
  border-radius: var(--radius-md);
  color: var(--navy);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.2s ease;
  background: var(--card-bg);
}

.lang-btn:hover {
  background: var(--accent-green);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.lang-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.3rem;
}

/* ============================================ */
/*  RESPONSIVE — Mobile (< 768px)               */
/* ============================================ */
@media (max-width: 768px) {
  body {
    font-size: 15px;
    line-height: 1.65;
  }

  /* Header */
  header {
    padding: 0.85rem 1rem;
    flex-direction: column;
    text-align: center;
  }

  /* Typography */
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.35rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  main {
    padding: 1.5rem 1rem 3rem;
  }

  .breadcrumb {
    padding: 1rem 1rem 0;
  }

  .hero {
    padding: 2rem 1rem 2.5rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.05rem;
  }

  /* Quick stats */
  .quick-stats {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .stat-card {
    border-radius: 0;
    border: 1px solid var(--border);
  }

  .stat-card:first-child {
    border-radius: var(--radius-md) 0 0 0;
  }

  .stat-card:nth-child(2) {
    border-radius: 0 var(--radius-md) 0 0;
  }

  .stat-card:nth-child(3) {
    border-radius: 0 0 0 var(--radius-md);
  }

  .stat-card:nth-child(4),
  .stat-card:last-child {
    border-radius: 0 0 var(--radius-md) 0;
  }

  .stat-card::after {
    display: none;
  }

  /* Grids to single column */
  .phase-cards {
    grid-template-columns: 1fr;
  }

  .route-options {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .route-option {
    padding: 1.25rem 1rem;
  }

  .season-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bike-grid {
    grid-template-columns: 1fr;
  }

  .activity-grid {
    grid-template-columns: 1fr;
  }

  .adventure-grid {
    grid-template-columns: 1fr 1fr;
  }

  .photo-grid {
    grid-template-columns: 1fr;
  }

  /* Tables */
  table.landmarks,
  table.rentals {
    font-size: 0.78rem;
  }

  table.landmarks td,
  table.rentals td,
  table.landmarks th,
  table.rentals th {
    padding: 0.55rem 0.5rem;
  }

  /* Progress bar */
  .progress-bar {
    flex-wrap: wrap;
    gap: 0.35rem;
  }

  .progress-connector {
    width: 20px;
  }

  .progress-step {
    padding: 0.35rem 0.65rem;
    font-size: 0.8rem;
  }

  /* Navigation */
  .phase-nav {
    flex-direction: column;
    align-items: center;
  }

  .phase-nav a {
    width: 100%;
    max-width: 300px;
    text-align: center;
    justify-content: center;
  }

  /* FAQ */
  .faq-q {
    padding: 0.9rem 1rem;
  }

  .faq-a {
    padding: 0.9rem 1rem;
    margin: 0 0.25rem 0.5rem;
  }

  /* Search */
  .search-box {
    padding: 1.25rem;
  }

  .suggestions {
    gap: 0.4rem;
  }

  .suggestion {
    padding: 0.45rem 0.75rem;
    font-size: 0.8rem;
  }

  /* Dining */
  .dining-list li {
    flex-direction: column;
    align-items: flex-start;
  }

  .dining-list .name {
    min-width: auto;
  }

  /* Callout */
  .callout {
    padding: 1rem 1.25rem;
  }

  /* Cards */
  .card {
    padding: 1.25rem;
  }

  /* Phase bottom */
  .phase-bottom {
    padding: 1.5rem 1rem;
  }

  .phase-bottom a {
    display: block;
    margin: 0.5rem 0;
  }

  /* Footer */
  footer {
    padding: 2rem 1rem;
  }

  footer .footer-links {
    gap: 0.75rem;
  }
}

/* ============================================ */
/*  EXTRA SMALL — < 480px                       */
/* ============================================ */
@media (max-width: 480px) {
  h1 {
    font-size: 1.55rem;
  }

  .hero h1 {
    font-size: 1.65rem;
  }

  .quick-stats {
    grid-template-columns: 1fr 1fr;
  }

  .route-options {
    grid-template-columns: 1fr;
  }

  .season-grid {
    grid-template-columns: 1fr;
  }

  .adventure-grid {
    grid-template-columns: 1fr;
  }

  .lang-switcher {
    flex-wrap: wrap;
    justify-content: center;
  }

  .stat-card {
    padding: 1.25rem 0.75rem;
  }
}

/* ============================================ */
/*  SVG CONTAINER FIXES                         */
/* ============================================ */
/* Ensure inline SVGs don't overflow */
main svg {
  max-width: 100%;
  height: auto;
}

/* ============================================ */
/*  FOCUS STYLES — Accessibility               */
/* ============================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent-green);
  outline-offset: 2px;
}

/* ============================================ */
/*  PRINT STYLES                                */
/* ============================================ */
@media print {
  header {
    position: static;
  }

  .journey-progress,
  .breadcrumb,
  footer {
    display: none;
  }
}
