/* ============================================================
   LOREN MORAI - PORTAL DE SENDERISMO
   Design: Elevated Cards | Mood: Organized, Tactile, Polished
   ============================================================ */

/* ---- Custom Properties ---- */
:root {
  /* Base colors */
  --color-forest: #2D5016;
  --color-stone: #8B7355;
  --color-sky: #4A7C9E;

  /* Derived palette via color-mix */
  --color-forest-light: color-mix(in oklch, var(--color-forest), white 55%);
  --color-forest-lighter: color-mix(in oklch, var(--color-forest), white 80%);
  --color-forest-dark: color-mix(in oklch, var(--color-forest), black 20%);
  --color-forest-xdark: color-mix(in oklch, var(--color-forest), black 40%);

  --color-stone-light: color-mix(in oklch, var(--color-stone), white 55%);
  --color-stone-lighter: color-mix(in oklch, var(--color-stone), white 80%);
  --color-stone-dark: color-mix(in oklch, var(--color-stone), black 20%);

  --color-sky-light: color-mix(in oklch, var(--color-sky), white 55%);
  --color-sky-lighter: color-mix(in oklch, var(--color-sky), white 80%);
  --color-sky-dark: color-mix(in oklch, var(--color-sky), black 20%);

  /* Neutrals */
  --color-page-bg: color-mix(in oklch, var(--color-forest), white 97%);
  --color-surface: color-mix(in oklch, var(--color-forest), white 99%);
  --color-surface-raised: #ffffff;
  --color-border: color-mix(in oklch, var(--color-stone), white 75%);
  --color-border-light: color-mix(in oklch, var(--color-stone), white 88%);

  /* Text */
  --color-text-primary: color-mix(in oklch, var(--color-forest), black 55%);
  --color-text-secondary: color-mix(in oklch, var(--color-stone), black 15%);
  --color-text-muted: color-mix(in oklch, var(--color-stone), white 25%);

  /* Accent */
  --color-accent: var(--color-forest);
  --color-accent-hover: var(--color-forest-dark);
  --color-accent-secondary: var(--color-sky);

  /* Elevation shadow system */
  --shadow-level-1:
    0 1px 2px color-mix(in oklch, var(--color-forest), transparent 88%),
    0 2px 4px color-mix(in oklch, var(--color-forest), transparent 92%);

  --shadow-level-2:
    0 2px 4px color-mix(in oklch, var(--color-forest), transparent 88%),
    0 4px 12px color-mix(in oklch, var(--color-forest), transparent 90%),
    0 8px 24px color-mix(in oklch, var(--color-forest), transparent 94%);

  --shadow-level-3:
    0 4px 8px color-mix(in oklch, var(--color-forest), transparent 85%),
    0 8px 24px color-mix(in oklch, var(--color-forest), transparent 88%),
    0 16px 48px color-mix(in oklch, var(--color-forest), transparent 92%);

  --shadow-level-4:
    0 8px 16px color-mix(in oklch, var(--color-forest), transparent 82%),
    0 16px 40px color-mix(in oklch, var(--color-forest), transparent 86%),
    0 32px 64px color-mix(in oklch, var(--color-forest), transparent 90%);

  --shadow-hover:
    0 6px 12px color-mix(in oklch, var(--color-forest), transparent 80%),
    0 12px 32px color-mix(in oklch, var(--color-forest), transparent 84%),
    0 24px 56px color-mix(in oklch, var(--color-forest), transparent 90%);

  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Border radius scale */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Typography */
  --font-base: 'Commissioner', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-base);
  background-color: var(--color-page-bg);
  color: var(--color-text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-base);
}

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

ul {
  list-style: none;
}

address {
  font-style: normal;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-base);
  line-height: 1.2;
  color: var(--color-text-primary);
  font-weight: 700;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-forest);
  background: var(--color-forest-lighter);
  padding: 0.35em 0.9em;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
}

.section-heading {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  margin-bottom: var(--space-sm);
  color: var(--color-text-primary);
}

.section-subheading {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  max-width: 640px;
  line-height: 1.75;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-header .section-subheading {
  margin: 0 auto;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ---- Cookie Consent ---- */
.cookie-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--color-forest-xdark);
  color: #fff;
  padding: 0.85rem var(--space-lg);
  transform: translateY(-100%);
  transition: transform var(--transition-slow);
  box-shadow: var(--shadow-level-3);
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.cookie-banner-text {
  flex: 1;
  font-size: 0.875rem;
  min-width: 200px;
}

.cookie-banner-text a {
  color: var(--color-forest-light);
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
}

.cookie-btn {
  font-family: var(--font-base);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.5em 1.2em;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  min-height: 44px;
}

.cookie-btn-customize {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
}

.cookie-btn-customize:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}

.cookie-btn-reject {
  background: color-mix(in oklch, var(--color-stone), transparent 30%);
  color: #fff;
}

.cookie-btn-reject:hover {
  background: var(--color-stone);
}

.cookie-btn-accept {
  background: var(--color-forest-light);
  color: var(--color-forest-xdark);
}

.cookie-btn-accept:hover {
  background: #fff;
  color: var(--color-forest-xdark);
  transform: translateY(-1px);
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.cookie-modal-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.cookie-modal {
  background: var(--color-surface-raised);
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  box-shadow: var(--shadow-level-4);
  overflow: hidden;
}

.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--color-border-light);
}

.cookie-modal-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

.cookie-modal-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--color-text-muted);
  padding: 0.25rem;
  transition: color var(--transition-fast);
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-modal-close:hover {
  color: var(--color-text-primary);
}

.cookie-modal-body {
  padding: var(--space-md) var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.cookie-category {
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border-light);
}

.cookie-category:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cookie-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.cookie-category p {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

.cookie-tag-required {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-forest);
  background: var(--color-forest-lighter);
  padding: 0.2em 0.7em;
  border-radius: var(--radius-full);
}

.cookie-toggle-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  cursor: pointer;
}

.cookie-toggle-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle-slider {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  background: var(--color-border);
  border-radius: var(--radius-full);
  transition: background var(--transition-base);
  flex-shrink: 0;
}

.cookie-toggle-slider::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform var(--transition-base);
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.cookie-toggle-input:checked + .cookie-toggle-slider {
  background: var(--color-forest);
}

.cookie-toggle-input:checked + .cookie-toggle-slider::after {
  transform: translateX(20px);
}

.cookie-modal-footer {
  display: flex;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  border-top: 1px solid var(--color-border-light);
  justify-content: flex-end;
}

/* ---- Navigation ---- */
.main-navigation {
  background: var(--color-surface-raised);
  border-bottom: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-level-1);
  position: relative;
  z-index: 100;
}

.navigation-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navigation-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.navigation-logo {
  width: 36px;
  height: 36px;
}

.navigation-brand-text {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
}

.navigation-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.navigation-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  padding: 0.5em 0.85em;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.navigation-link:hover {
  color: var(--color-accent);
  background: var(--color-forest-lighter);
}

.navigation-link-cta {
  background: var(--color-accent);
  color: #fff !important;
  padding: 0.5em 1.2em;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.navigation-link-cta:hover {
  background: var(--color-accent-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-level-2);
}

.navigation-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.navigation-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

/* ---- Mobile Menu ---- */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-slow);
}

.mobile-menu-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(340px, 90vw);
  height: 100vh;
  background: var(--color-surface-raised);
  z-index: 300;
  transform: translateX(100%);
  transition: transform var(--transition-slow);
  box-shadow: var(--shadow-level-4);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-menu-panel.is-open {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--color-border-light);
}

.mobile-menu-brand {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-text-primary);
}

.mobile-menu-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--color-text-muted);
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.mobile-menu-close:hover {
  color: var(--color-text-primary);
  background: var(--color-forest-lighter);
}

.mobile-menu-links {
  flex: 1;
  padding: var(--space-md) var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-menu-link {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  padding: 0.85em 1em;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  min-height: 44px;
  display: flex;
  align-items: center;
}

.mobile-menu-link:hover {
  color: var(--color-accent);
  background: var(--color-forest-lighter);
}

.mobile-menu-link-cta {
  background: var(--color-accent);
  color: #fff !important;
  font-weight: 600;
  margin-top: var(--space-sm);
  justify-content: center;
}

.mobile-menu-link-cta:hover {
  background: var(--color-accent-hover);
}

.mobile-menu-footer {
  padding: var(--space-md) var(--space-lg);
  border-top: 1px solid var(--color-border-light);
}

.mobile-menu-contact {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mobile-menu-contact:hover {
  color: var(--color-accent);
}

/* ---- Hero Section ---- */
.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
}

.hero-background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    color-mix(in oklch, var(--color-forest-xdark), transparent 10%) 0%,
    color-mix(in oklch, var(--color-forest-xdark), transparent 40%) 50%,
    color-mix(in oklch, var(--color-forest-xdark), transparent 70%) 100%
  );
}

.hero-content-wrapper {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-lg) var(--space-2xl);
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex: 1;
}

.hero-content {
  max-width: 680px;
  margin-bottom: var(--space-2xl);
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-forest-light);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.4em 1em;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
  backdrop-filter: blur(8px);
}

.hero-heading {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.hero-subheading {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.hero-button-primary {
  display: inline-flex;
  align-items: center;
  background: var(--color-forest-light);
  color: var(--color-forest-xdark);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85em 2em;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-level-2);
  min-height: 48px;
}

.hero-button-primary:hover {
  background: #fff;
  color: var(--color-forest-xdark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-level-3);
}

.hero-button-secondary {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85em 2em;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.3);
  transition: all var(--transition-base);
  backdrop-filter: blur(8px);
  min-height: 48px;
}

.hero-button-secondary:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.5);
  color: #fff;
  transform: translateY(-2px);
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
}

.hero-stat-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transition: all var(--transition-base);
}

.hero-stat-card:hover {
  background: rgba(255,255,255,0.16);
  transform: translateY(-2px);
}

.hero-stat-card i {
  font-size: 1.4rem;
  color: var(--color-forest-light);
  margin-bottom: 0.25rem;
}

.hero-stat-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

.hero-stat-note {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
}

/* ---- Route Showcase Section ---- */
.route-showcase-section {
  padding: var(--space-3xl) 0;
  background: var(--color-page-bg);
}

.route-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.route-card {
  background: var(--color-surface-raised);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-level-2);
  transition: all var(--transition-slow);
  display: flex;
  flex-direction: column;
}

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

.route-card-featured {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.route-card-image-wrapper {
  position: relative;
  overflow: hidden;
}

.route-card-featured .route-card-image-wrapper {
  height: 100%;
  min-height: 320px;
}

.route-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.route-card-featured .route-card-image {
  height: 100%;
  min-height: 320px;
}

.route-card:hover .route-card-image {
  transform: scale(1.04);
}

.route-difficulty-badge {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3em 0.85em;
  border-radius: var(--radius-full);
}

.route-difficulty-easy {
  background: color-mix(in oklch, #22c55e, white 20%);
  color: color-mix(in oklch, #22c55e, black 50%);
}

.route-difficulty-medium {
  background: color-mix(in oklch, #f59e0b, white 25%);
  color: color-mix(in oklch, #f59e0b, black 50%);
}

.route-difficulty-hard {
  background: color-mix(in oklch, #ef4444, white 25%);
  color: color-mix(in oklch, #ef4444, black 30%);
}

.route-card-body {
  padding: var(--space-md) var(--space-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.route-card-meta {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.route-card-meta span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.route-card-meta i {
  color: var(--color-forest);
  font-size: 0.75rem;
}

.route-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-text-primary);
}

.route-card-featured .route-card-title {
  font-size: 1.4rem;
}

.route-card-excerpt {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  flex: 1;
}

.route-card-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: auto;
}

.route-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-sky-dark);
  background: var(--color-sky-lighter);
  padding: 0.25em 0.7em;
  border-radius: var(--radius-full);
}

/* ---- Features Section ---- */
.features-section {
  padding: var(--space-3xl) 0;
  background: var(--color-surface-raised);
}

.features-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-3xl);
  align-items: start;
}

.features-left {
  position: sticky;
  top: var(--space-lg);
}

.features-intro {
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.75;
  margin: var(--space-md) 0 var(--space-lg);
}

.features-cta-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-base);
}

.features-cta-link:hover {
  gap: 0.75rem;
  color: var(--color-accent-hover);
}

.feature-item-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.feature-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--color-border-light);
  transition: all var(--transition-base);
}

.feature-item:first-child {
  padding-top: 0;
}

.feature-item:last-child {
  border-bottom: none;
}

.feature-item:hover {
  padding-left: 0.5rem;
}

.feature-item-icon {
  width: 48px;
  height: 48px;
  background: var(--color-forest-lighter);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-level-1);
}

.feature-item:hover .feature-item-icon {
  background: var(--color-forest);
  box-shadow: var(--shadow-level-2);
}

.feature-item-icon i {
  font-size: 1.1rem;
  color: var(--color-forest);
  transition: color var(--transition-base);
}

.feature-item:hover .feature-item-icon i {
  color: #fff;
}

.feature-item-content h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--color-text-primary);
}

.feature-item-content p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ---- Maps Section ---- */
.maps-section {
  padding: var(--space-3xl) 0;
  background: color-mix(in oklch, var(--color-forest), white 96%);
}

.maps-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.map-download-card {
  background: var(--color-surface-raised);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-level-2);
  transition: all var(--transition-slow);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border: 1px solid var(--color-border-light);
}

.map-download-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
  border-color: var(--color-forest-light);
}

.map-card-icon {
  width: 52px;
  height: 52px;
  background: var(--color-forest-lighter);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-level-1);
}

.map-card-icon i {
  font-size: 1.3rem;
  color: var(--color-forest);
}

.map-download-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-primary);
}

.map-download-card p {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
  flex: 1;
}

.map-card-formats {
  display: flex;
  gap: 0.4rem;
}

.map-format-tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-sky-dark);
  background: var(--color-sky-lighter);
  padding: 0.2em 0.65em;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}

.map-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
  padding: 0.6em 1.2em;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-forest-light);
  transition: all var(--transition-base);
  margin-top: auto;
  min-height: 44px;
  justify-content: center;
}

.map-download-btn:hover {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
  transform: translateY(-1px);
  box-shadow: var(--shadow-level-2);
}

/* ---- Preparation Section ---- */
.preparation-section {
  padding: var(--space-3xl) 0;
  background: var(--color-surface-raised);
}

.preparation-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-3xl);
  align-items: start;
}

.preparation-image-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-level-3);
  position: relative;
}

.preparation-image {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.preparation-image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  padding: var(--space-lg) var(--space-md) var(--space-md);
  color: rgba(255,255,255,0.9);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.preparation-content-column p {
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-lg);
}

.preparation-tip-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.preparation-tip {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  padding: var(--space-md);
  background: var(--color-page-bg);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-forest-light);
  box-shadow: var(--shadow-level-1);
  transition: all var(--transition-base);
}

.preparation-tip:hover {
  border-left-color: var(--color-forest);
  box-shadow: var(--shadow-level-2);
  transform: translateX(3px);
}

.preparation-tip-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-forest-light);
  line-height: 1;
  flex-shrink: 0;
  min-width: 2.5rem;
  letter-spacing: -0.03em;
}

.preparation-tip h5 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--color-text-primary);
}

.preparation-tip p {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
  margin-bottom: 0;
}

/* ---- Sustainable Section ---- */
.sustainable-section {
  padding: var(--space-3xl) 0;
  background: var(--color-page-bg);
}

.sustainable-principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.sustainable-principle-card {
  background: var(--color-surface-raised);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-level-2);
  transition: all var(--transition-slow);
  border-top: 3px solid transparent;
}

.sustainable-principle-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
  border-top-color: var(--color-forest);
}

.sustainable-icon {
  width: 52px;
  height: 52px;
  background: var(--color-forest-lighter);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-level-1);
  transition: all var(--transition-base);
}

.sustainable-principle-card:hover .sustainable-icon {
  background: var(--color-forest);
  box-shadow: var(--shadow-level-2);
}

.sustainable-icon i {
  font-size: 1.2rem;
  color: var(--color-forest);
  transition: color var(--transition-base);
}

.sustainable-principle-card:hover .sustainable-icon i {
  color: #fff;
}

.sustainable-principle-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--color-text-primary);
}

.sustainable-principle-card p {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ---- CTA Banner ---- */
.cta-banner-section {
  padding: var(--space-2xl) var(--space-lg);
  background: linear-gradient(
    135deg,
    var(--color-forest-xdark) 0%,
    var(--color-forest-dark) 50%,
    color-mix(in oklch, var(--color-forest), var(--color-sky) 30%) 100%
  );
  position: relative;
  overflow: hidden;
}

.cta-banner-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.cta-banner-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-forest-light);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.35em 1em;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}

.cta-banner-heading {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
}

.cta-banner-subtext {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.cta-banner-button {
  display: inline-flex;
  align-items: center;
  background: var(--color-forest-light);
  color: var(--color-forest-xdark);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.9em 2.2em;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-level-2);
  min-height: 48px;
}

.cta-banner-button:hover {
  background: #fff;
  color: var(--color-forest-xdark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-level-3);
}

/* ---- Blog Section ---- */
.blog-section {
  padding: var(--space-3xl) 0;
  background: var(--color-surface-raised);
}

.blog-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.blog-article-card {
  background: var(--color-page-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-level-2);
  transition: all var(--transition-slow);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border-light);
}

.blog-article-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
  border-color: var(--color-forest-light);
}

.blog-card-image-wrapper {
  position: relative;
  overflow: hidden;
}

.blog-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-article-card:hover .blog-card-image {
  transform: scale(1.05);
}

.blog-card-category {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--color-forest);
  color: #fff;
  padding: 0.3em 0.85em;
  border-radius: var(--radius-full);
}

.blog-card-body {
  padding: var(--space-md) var(--space-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.blog-card-date {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.blog-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-text-primary);
}

.blog-card-excerpt {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  flex: 1;
}

.blog-card-read-more {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-base);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0;
  transition: all var(--transition-base);
  margin-top: auto;
  min-height: 44px;
}

.blog-card-read-more:hover {
  gap: 0.65rem;
  color: var(--color-accent-hover);
}

/* ---- Article Modal ---- */
.article-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.article-modal-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.article-modal {
  background: var(--color-surface-raised);
  border-radius: var(--radius-xl);
  max-width: 760px;
  width: 100%;
  max-height: 85vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-level-4);
  transform: translateY(20px) scale(0.98);
  transition: transform var(--transition-base);
}

.article-modal-overlay.is-open .article-modal {
  transform: translateY(0) scale(1);
}

.article-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-lg);
  border-bottom: 1px solid var(--color-border-light);
  flex-shrink: 0;
}

.article-modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}

.article-modal-close {
  background: var(--color-page-bg);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: var(--color-text-muted);
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.article-modal-close:hover {
  color: var(--color-text-primary);
  background: var(--color-border-light);
}

.article-modal-body {
  padding: var(--space-lg);
  overflow-y: auto;
  flex: 1;
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
}

.article-modal-body h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: var(--space-md) 0 0.5rem;
}

.article-modal-body h4:first-child {
  margin-top: 0;
}

.article-modal-body p {
  margin-bottom: var(--space-sm);
}

/* ---- Contact Section ---- */
.contact-section {
  padding: var(--space-3xl) 0;
  background: var(--color-page-bg);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.contact-map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-level-2);
}

.contact-info-block {
  margin-top: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.contact-info-item i {
  color: var(--color-forest);
  font-size: 0.95rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.contact-info-item a {
  color: var(--color-text-secondary);
}

.contact-info-item a:hover {
  color: var(--color-accent);
}

.contact-inquiry-form {
  background: var(--color-surface-raised);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-level-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-field-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-primary);
}

.form-required {
  color: var(--color-forest);
}

.form-field-input,
.form-field-textarea {
  width: 100%;
  font-family: var(--font-base);
  font-size: 0.9rem;
  color: var(--color-text-primary);
  background: var(--color-page-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.75em 1em;
  transition: all var(--transition-base);
  outline: none;
  min-height: 44px;
}

.form-field-input:focus,
.form-field-textarea:focus {
  border-color: var(--color-forest);
  background: var(--color-surface-raised);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-forest), transparent 80%);
}

.form-field-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.form-privacy-group {
  display: flex;
  align-items: flex-start;
}

.form-privacy-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
}

.form-privacy-checkbox {
  margin-top: 0.15rem;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--color-forest);
  cursor: pointer;
}

.form-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  background: var(--color-forest-lighter);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  line-height: 1.55;
}

.form-notice i {
  color: var(--color-forest);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.form-submit-button {
  font-family: var(--font-base);
  font-size: 0.95rem;
  font-weight: 700;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  padding: 0.9em 2em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-level-2);
  min-height: 52px;
}

.form-submit-button:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-level-3);
}

.form-submit-button:active {
  transform: translateY(0);
  box-shadow: var(--shadow-level-1);
}

/* ---- Footer ---- */
.page-footer {
  background: var(--color-forest-xdark);
  color: rgba(255,255,255,0.75);
  padding: var(--space-3xl) 0 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  margin-bottom: var(--space-md);
}

.footer-logo {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-brand span {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
}

.footer-brand-description {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}

.footer-disclaimer {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-sm);
}

.footer-column-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--space-md);
}

.footer-link-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link-list a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition-base);
  min-height: 32px;
  display: flex;
  align-items: center;
}

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

.footer-address p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.55;
}

.footer-address i {
  color: var(--color-forest-light);
  flex-shrink: 0;
  margin-top: 0.2rem;
  font-size: 0.85rem;
}

.footer-address a {
  color: rgba(255,255,255,0.65);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: var(--space-md) var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom a {
  color: rgba(255,255,255,0.55);
}

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

/* ---- Back to Top ---- */
.back-to-top-button {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  width: 48px;
  height: 48px;
  background: var(--color-forest);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-level-3);
  transition: all var(--transition-base);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  z-index: 500;
}

.back-to-top-button.is-visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.back-to-top-button:hover {
  background: var(--color-accent-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-level-4);
}

.back-to-top-button:active {
  transform: translateY(0);
}

/* ---- Progressive Reveal Stack ---- */
.route-showcase-section,
.features-section,
.maps-section,
.preparation-section,
.sustainable-section,
.blog-section,
.contact-section {
  position: relative;
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .route-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .route-card-featured {
    grid-column: span 2;
    grid-template-columns: 1fr 1fr;
  }

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

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
}

@media (max-width: 900px) {
  .features-layout {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .features-left {
    position: static;
  }

  .preparation-layout {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

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

  .contact-layout {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

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

@media (max-width: 768px) {
  .navigation-links {
    display: none;
  }

  .navigation-hamburger {
    display: flex;
  }

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

  .route-card-featured {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

  .route-card-featured .route-card-image {
    height: 220px;
    min-height: unset;
  }

  .route-card-featured .route-card-image-wrapper {
    min-height: unset;
  }

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

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

  .footer-container {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

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

  .section-container {
    padding: 0 var(--space-md);
  }

  .contact-inquiry-form {
    padding: var(--space-lg);
  }

  .preparation-image {
    height: 300px;
  }
}

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

  .hero-button-primary,
  .hero-button-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero-stats-row {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xs);
  }

  .hero-stat-card {
    padding: var(--space-sm);
  }

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

  .sustainable-principles-grid {
    grid-template-columns: 1fr;
  }

  .cookie-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

/* ---- Legal Pages ---- */
.legal-page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.legal-page-wrapper .page-footer {
  margin-top: auto;
}

.legal-content-section {
  padding: var(--space-3xl) 0;
  flex: 1;
}

.legal-content-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.legal-page-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--color-text-primary);
  margin-bottom: 0.5rem;
}

.legal-page-date {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border-light);
}

.legal-content-body {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.85;
}

.legal-content-body h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: var(--space-xl) 0 var(--space-sm);
}

.legal-content-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: var(--space-lg) 0 0.4rem;
}

.legal-content-body p {
  margin-bottom: var(--space-sm);
}

.legal-content-body ul {
  list-style: disc;
  padding-left: 1.5em;
  margin-bottom: var(--space-sm);
}

.legal-content-body ul li {
  margin-bottom: 0.4rem;
}

.legal-content-body a {
  color: var(--color-accent);
  text-decoration: underline;
}

/* ---- Thanks Page ---- */
.thanks-hero-section {
  background: linear-gradient(
    135deg,
    var(--color-forest-xdark) 0%,
    var(--color-forest-dark) 60%,
    color-mix(in oklch, var(--color-forest), var(--color-sky) 35%) 100%
  );
  padding: var(--space-3xl) var(--space-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.thanks-hero-section::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.thanks-hero-icon {
  width: 80px;
  height: 80px;
  background: rgba(255,255,255,0.12);
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-size: 2rem;
  color: var(--color-forest-light);
}

.thanks-hero-heading {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: var(--space-md);
}

.thanks-hero-text {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

.thanks-next-steps {
  padding: var(--space-3xl) var(--space-lg);
  text-align: center;
  background: var(--color-surface-raised);
}

.thanks-next-steps h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.thanks-next-steps p {
  color: var(--color-text-secondary);
  max-width: 480px;
  margin: 0 auto var(--space-lg);
  font-size: 0.95rem;
  line-height: 1.7;
}

.thanks-home-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.9em 2em;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-level-2);
  min-height: 48px;
}

.thanks-home-button:hover {
  background: var(--color-accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-level-3);
}