/* ============================================
   FUJI PATHS — Global Stylesheet
   Hiking Trail Guides for Mount Fuji & Japan Alps
   ============================================ */

/* --- CSS Variables --- */
:root {
  --granite: #3d4147;
  --alpine-sky: #5a8fb8;
  --pine-forest: #2a4d35;
  --mist-gray: #e2e6e9;
  --sunset-crag: #c4683f;
  --snow-white: #f7f8f9;
  --trail-brown: #6b5b4f;

  --font-headline: "Josefin Sans", sans-serif;
  --font-body: "Barlow", sans-serif;

  --nav-height: 64px;
  --max-width: 1200px;
  --radius: 6px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--granite);
  background: var(--mist-gray);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--alpine-sky);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-headline);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--granite);
}

h1 {
  font-size: 52px;
}

h2 {
  font-size: 32px;
}

h3 {
  font-size: 24px;
}

h4 {
  font-size: 18px;
}

p {
  margin-bottom: 1em;
}

.label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.data-text {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--granite);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.nav-container {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-headline);
  font-size: 16px;
  font-weight: 600;
  color: var(--snow-white);
  letter-spacing: 2px;
  text-decoration: none;
}

.nav-logo:hover {
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--mist-gray);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--snow-white);
}

.nav-cta {
  background: var(--alpine-sky);
  color: var(--snow-white);
  padding: 8px 18px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: #4a7fa8;
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--snow-white);
  margin: 5px 0;
  transition: 0.3s;
}

/* --- Footer --- */
.footer {
  background: var(--granite);
  color: var(--mist-gray);
  padding: 48px 24px 24px;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 32px;
}

.footer-brand {
  flex: 1;
  min-width: 250px;
}

.footer-brand .nav-logo {
  display: inline-block;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--mist-gray);
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-column h4 {
  font-family: var(--font-headline);
  font-size: 14px;
  font-weight: 600;
  color: var(--snow-white);
  margin-bottom: 12px;
}

.footer-column a {
  display: block;
  font-size: 14px;
  color: var(--mist-gray);
  margin-bottom: 8px;
  text-decoration: none;
}

.footer-column a:hover {
  color: var(--snow-white);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--mist-gray);
}

.disclaimer {
  margin-top: 12px;
  font-size: 12px;
  font-style: italic;
}

/* --- Cookie Consent --- */
.cookie-alert {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--granite);
  color: var(--mist-gray);
  padding: 12px 24px;
  z-index: 10000;
  display: none;
  text-align: center;
  font-size: 13px;
  font-family: var(--font-body);
}

.cookie-alert a {
  color: var(--alpine-sky);
}

#cookie-ok {
  background: var(--alpine-sky);
  color: var(--snow-white);
  border: none;
  padding: 5px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  font-family: var(--font-body);
  margin-left: 10px;
}

#cookie-ok:hover {
  background: #4a7fa8;
}

/* --- Hero --- */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: var(--nav-height);
  background: var(--granite);
  overflow: hidden;
}

.hero-gradient {
  background: linear-gradient(180deg, var(--alpine-sky) 0%, var(--granite) 100%);
}

.hero-pine {
  background: linear-gradient(180deg, var(--pine-forest) 0%, var(--granite) 100%);
}

.hero-sunset {
  background: linear-gradient(180deg, var(--sunset-crag) 0%, var(--granite) 100%);
}

.hero-content {
  text-align: center;
  max-width: 800px;
  padding: 48px 24px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  color: var(--snow-white);
  margin-bottom: 16px;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--mist-gray);
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat .label {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 4px;
}

.hero-stat .data-text {
  color: var(--snow-white);
  font-size: 18px;
}

.hero-cta {
  display: inline-block;
  background: var(--alpine-sky);
  color: var(--snow-white);
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.hero-cta:hover {
  background: #4a7fa8;
  text-decoration: none;
}

.mountain-silhouette {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 200'%3E%3Cpath fill='%233d4147' fill-opacity='0.3' d='M0,200 L260,80 L400,140 L560,60 L720,120 L880,40 L1040,100 L1200,50 L1440,110 L1440,200 Z'/%3E%3C/svg%3E") no-repeat bottom;
  background-size: cover;
  pointer-events: none;
}

/* --- Sections --- */
.section {
  padding: 64px 24px;
}

.section-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-title {
  margin-bottom: 8px;
}

.section-subtitle {
  color: var(--trail-brown);
  margin-bottom: 40px;
  font-size: 16px;
}

/* --- Cards --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.card-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--snow-white);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.card-body {
  padding: 24px;
}

.card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.card p {
  font-size: 15px;
  color: var(--trail-brown);
  margin-bottom: 16px;
}

/* --- Trail Cards --- */
.trail-card {
  background: var(--snow-white);
  border-radius: var(--radius);
  padding: 24px;
  border-left: 4px solid var(--alpine-sky);
  transition: transform 0.2s, box-shadow 0.2s;
}

.trail-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.trail-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.trail-card h3 {
  font-size: 20px;
  margin-bottom: 4px;
}

.trail-stats-row {
  display: flex;
  gap: 20px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.trail-stat {
  display: flex;
  flex-direction: column;
}

.trail-stat .label {
  color: var(--trail-brown);
  margin-bottom: 2px;
}

.trail-stat .data-text {
  color: var(--granite);
}

/* --- Badges --- */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.badge-easy {
  background: #d4edda;
  color: #155724;
}

.badge-moderate {
  background: #fff3cd;
  color: #856404;
}

.badge-hard {
  background: #f8d7da;
  color: #721c24;
}

.badge-moderate-hard {
  background: #ffe0b2;
  color: #6c3d00;
}

.badge-closed {
  background: #f8d7da;
  color: #721c24;
}

.badge-open {
  background: #d4edda;
  color: #155724;
}

.badge-limited {
  background: #fff3cd;
  color: #856404;
}

.badge-popular {
  background: var(--sunset-crag);
  color: var(--snow-white);
}

/* --- Featured Section --- */
.featured {
  background: var(--mist-gray);
  padding: 64px 24px;
}

.featured-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 40px;
  align-items: center;
}

.featured-map {
  background: var(--granite);
  border-radius: var(--radius);
  height: 400px;
  overflow: hidden;
}

.featured-map .map-container {
  height: 100%;
  width: 100%;
}

.featured-content .label {
  color: var(--sunset-crag);
  margin-bottom: 12px;
  display: block;
}

.featured-content h2 {
  margin-bottom: 16px;
}

.featured-content p {
  color: var(--trail-brown);
  margin-bottom: 20px;
}

.featured-specs {
  display: flex;
  gap: 24px;
  margin-bottom: 20px;
}

.featured-link {
  font-weight: 600;
  color: var(--alpine-sky);
  text-decoration: none;
  font-size: 15px;
}

.featured-link:hover {
  text-decoration: underline;
}

/* --- Teaser Section --- */
.teaser {
  padding: 64px 24px;
}

.teaser-pine {
  background: var(--pine-forest);
  color: var(--snow-white);
}

.teaser-pine h2 {
  color: var(--snow-white);
}

.teaser-pine p {
  color: rgba(255, 255, 255, 0.8);
}

.teaser-container {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.teaser h2 {
  margin-bottom: 16px;
}

.teaser p {
  margin-bottom: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Banner --- */
.banner {
  padding: 32px 24px;
  text-align: center;
}

.banner-sunset {
  background: var(--sunset-crag);
  color: var(--snow-white);
}

.banner-sunset a {
  color: var(--snow-white);
  font-weight: 600;
  text-decoration: underline;
}

.banner p {
  margin: 0;
  font-size: 16px;
}

/* --- Tables --- */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}

.comparison-table th,
.comparison-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.comparison-table th {
  background: var(--granite);
  color: var(--snow-white);
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.comparison-table tr:hover td {
  background: rgba(90, 143, 184, 0.05);
}

.comparison-table td {
  background: var(--snow-white);
}

/* --- Map --- */
.map-container {
  height: 450px;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--granite);
}

.map-small {
  height: 350px;
}

.map-hero {
  height: 500px;
}

/* --- Elevation Profile --- */
.elevation-container {
  background: var(--snow-white);
  border-radius: var(--radius);
  padding: 24px;
  margin: 24px 0;
}

.elevation-container h3 {
  margin-bottom: 16px;
  font-size: 18px;
}

.elevation-chart {
  width: 100%;
  height: 250px;
}

.elevation-chart svg {
  width: 100%;
  height: 100%;
}

.elevation-area {
  fill: rgba(90, 143, 184, 0.15);
}

.elevation-line {
  fill: none;
  stroke: var(--alpine-sky);
  stroke-width: 2.5;
}

.elevation-grid {
  stroke: #e0e0e0;
  stroke-width: 1;
}

.elevation-label {
  font-family: var(--font-body);
  font-size: 11px;
  fill: var(--trail-brown);
}

.elevation-point {
  fill: var(--alpine-sky);
  stroke: var(--snow-white);
  stroke-width: 2;
}

.elevation-tooltip {
  font-family: var(--font-body);
  font-size: 12px;
  fill: var(--granite);
}

/* --- Station Breakdown --- */
.stations {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.station-card {
  background: var(--snow-white);
  border-radius: var(--radius);
  padding: 20px;
  border-top: 3px solid var(--alpine-sky);
}

.station-card h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.station-card p {
  font-size: 14px;
  color: var(--trail-brown);
  margin: 0;
}

.station-elevation {
  font-weight: 600;
  color: var(--alpine-sky);
}

/* --- Gear Checklist --- */
.gear-category {
  margin-bottom: 32px;
}

.gear-category h3 {
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--mist-gray);
}

.gear-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--snow-white);
  border-radius: var(--radius);
  margin-bottom: 8px;
  transition: background 0.2s;
}

.gear-item:hover {
  background: #eef1f3;
}

.gear-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--alpine-sky);
  cursor: pointer;
  flex-shrink: 0;
}

.gear-item label {
  flex: 1;
  cursor: pointer;
  font-size: 15px;
}

.gear-item.checked label {
  text-decoration: line-through;
  color: var(--trail-brown);
}

.gear-weight {
  font-size: 13px;
  color: var(--trail-brown);
  flex-shrink: 0;
}

.gear-why {
  font-size: 13px;
  color: var(--trail-brown);
  font-style: italic;
}

.progress-bar-container {
  background: var(--mist-gray);
  border-radius: 10px;
  height: 20px;
  overflow: hidden;
  margin: 16px 0;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--alpine-sky), var(--pine-forest));
  border-radius: 10px;
  transition: width 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
  color: var(--snow-white);
  font-size: 12px;
  font-weight: 600;
}

/* --- Forms --- */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--granite);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  background: var(--snow-white);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--alpine-sky);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--alpine-sky);
  color: var(--snow-white);
}

.btn-primary:hover {
  background: #4a7fa8;
}

.btn-sunset {
  background: var(--sunset-crag);
  color: var(--snow-white);
}

.btn-sunset:hover {
  background: #a85632;
}

/* --- Difficulty Meter --- */
.difficulty-meter {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
}

.difficulty-bar {
  display: flex;
  gap: 4px;
  flex: 1;
}

.difficulty-segment {
  height: 12px;
  flex: 1;
  border-radius: 2px;
  background: var(--mist-gray);
}

.difficulty-segment.active {
  background: var(--alpine-sky);
}

.difficulty-segment.active-hard {
  background: var(--sunset-crag);
}

/* --- Content Page Layout --- */
.page-header {
  background: var(--granite);
  color: var(--snow-white);
  padding: 100px 24px 48px;
  text-align: center;
}

.page-header h1 {
  color: var(--snow-white);
  margin-bottom: 8px;
}

.page-header p {
  color: var(--mist-gray);
  margin: 0;
}

.page-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px;
}

.page-content-narrow {
  max-width: 800px;
}

/* --- Two Column --- */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* --- Lists --- */
.content-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 15px;
}

.content-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--alpine-sky);
  font-weight: bold;
}

.pros-list li::before {
  content: "+";
  color: var(--pine-forest);
}

.cons-list li::before {
  content: "−";
  color: var(--sunset-crag);
}

/* --- Info Boxes --- */
.info-box {
  background: var(--snow-white);
  border-left: 4px solid var(--alpine-sky);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
}

.info-box-warning {
  border-left-color: var(--sunset-crag);
  background: #fdf5f0;
}

.info-box-success {
  border-left-color: var(--pine-forest);
  background: #f0f7f2;
}

.info-box h4 {
  margin-bottom: 8px;
  font-size: 16px;
}

.info-box p {
  margin: 0;
  font-size: 15px;
}

/* --- Tabs --- */
.tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--mist-gray);
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 20px;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--trail-brown);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
}

.tab-btn.active {
  color: var(--alpine-sky);
  border-bottom-color: var(--alpine-sky);
}

.tab-btn:hover {
  color: var(--alpine-sky);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* --- Breadcrumbs --- */
.breadcrumbs {
  font-size: 13px;
  color: var(--trail-brown);
  margin-bottom: 16px;
}

.breadcrumbs a {
  color: var(--alpine-sky);
}

.breadcrumbs span {
  color: var(--granite);
}

/* --- Sticky Sidebar --- */
.sticky-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}

.sidebar-card {
  background: var(--snow-white);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
}

.sidebar-card h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--mist-gray);
}

.sidebar-stat {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
}

.sidebar-stat .label {
  letter-spacing: 1px;
}

/* --- GPX Button --- */
.gpx-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pine-forest);
  color: var(--snow-white);
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.gpx-btn:hover {
  background: #1e3a28;
  text-decoration: none;
}

/* --- Weather Widget --- */
.weather-widget {
  background: var(--snow-white);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.weather-temp {
  font-family: var(--font-headline);
  font-size: 48px;
  font-weight: 600;
  color: var(--granite);
}

.weather-desc {
  font-size: 16px;
  color: var(--trail-brown);
  margin-bottom: 16px;
}

.weather-detail {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 14px;
}

/* --- Team Grid --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 32px;
  margin-top: 32px;
}

.team-member {
  text-align: center;
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--alpine-sky);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-family: var(--font-headline);
  font-size: 28px;
  font-weight: 600;
  color: var(--snow-white);
}

.team-member h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.team-member .label {
  display: block;
  margin-bottom: 8px;
  color: var(--alpine-sky);
}

.team-member p {
  font-size: 14px;
  color: var(--trail-brown);
  margin: 0;
}

/* --- Alpine Section --- */
.alps-overview {
  background: var(--snow-white);
  padding: 48px 24px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  :root {
    --nav-height: 56px;
  }

  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 26px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--granite);
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    min-height: 70vh;
  }

  .hero-stats {
    gap: 20px;
  }

  .featured-container {
    grid-template-columns: 1fr;
  }

  .two-column {
    grid-template-columns: 1fr;
  }

  .card-grid-2 {
    grid-template-columns: 1fr;
  }

  .footer-top {
    flex-direction: column;
  }

  .footer-links {
    gap: 24px;
  }

  .comparison-table {
    font-size: 13px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 10px 12px;
  }

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

  .section {
    padding: 40px 20px;
  }

  .map-container {
    height: 300px;
  }

  .page-header {
    padding: 80px 20px 40px;
  }

  .featured-map {
    height: 280px;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .trail-stats-row {
    flex-direction: column;
    gap: 8px;
  }

  .featured-specs {
    flex-direction: column;
    gap: 12px;
  }
}

/* --- Accessibility --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* --- Print --- */
@media print {
  .nav,
  .cookie-alert,
  .footer {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 24px;
  }
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--mist-gray);
}

::-webkit-scrollbar-thumb {
  background: var(--granite);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}
