@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --canvas: #181818;
  --canvas-elevated: #303030;
  --canvas-light: #ffffff;
  --surface-soft-light: #f7f7f7;
  --surface-strong-light: #ebebeb;
  --primary: #da291c;
  --primary-active: #b01e0a;
  --ink: #ffffff;
  --body-color: #969696;
  --body-on-light: #181818;
  --muted: #666666;
  --hairline: #303030;
  --hairline-on-light: #d2d2d2;
  --spacing-xxxs: 4px;
  --spacing-xxs: 8px;
  --spacing-xs: 16px;
  --spacing-sm: 24px;
  --spacing-md: 32px;
  --spacing-lg: 48px;
  --spacing-xl: 64px;
  --spacing-xxl: 96px;
  --spacing-super: 128px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  background-color: var(--canvas);
  color: var(--body-color);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

/* NAV */
.site-nav {
  background: var(--canvas);
  height: 64px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--hairline);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08px;
  text-transform: uppercase;
}

.nav-logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  list-style: none;
}

.nav-links a {
  color: var(--body-color);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.65px;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--ink); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
}

/* HERO */
.hero {
  position: relative;
  width: 100%;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--canvas);
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24,24,24,0.2) 0%, rgba(24,24,24,0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: var(--spacing-xxl) 0;
  width: 100%;
}

.hero-content .container { max-width: 1280px; margin: 0 auto; padding: 0 var(--spacing-sm); }

.hero-badge {
  display: inline-block;
  background: var(--canvas-elevated);
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: var(--spacing-xs);
}

.hero h1 {
  font-size: 80px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -1.6px;
  color: var(--ink);
  max-width: 800px;
  margin-bottom: var(--spacing-sm);
}

.hero-sub {
  font-size: 16px;
  font-weight: 400;
  color: var(--body-color);
  max-width: 560px;
  margin-bottom: var(--spacing-md);
  line-height: 1.6;
}

.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 14px 32px;
  height: 48px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-primary:active { background: var(--primary-active); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 14px 32px;
  height: 48px;
  line-height: 1;
  border: 1px solid var(--ink);
  border-radius: 0;
  cursor: pointer;
  margin-left: var(--spacing-xs);
}

/* SECTIONS */
.section { padding: var(--spacing-xxl) 0; }
.section-light { background: var(--surface-soft-light); padding: var(--spacing-xxl) 0; }

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--spacing-xs);
}

.section-title {
  font-size: 36px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.36px;
  color: var(--ink);
  margin-bottom: var(--spacing-sm);
}

.section-title-light {
  font-size: 36px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.36px;
  color: var(--body-on-light);
  margin-bottom: var(--spacing-sm);
}

.section-body {
  font-size: 14px;
  color: var(--body-color);
  max-width: 640px;
  line-height: 1.7;
}

.section-body-light {
  font-size: 14px;
  color: var(--body-on-light);
  max-width: 640px;
  line-height: 1.7;
}

/* CARDS GRID */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.card {
  background: var(--canvas-elevated);
  border: 1px solid var(--hairline);
  border-radius: 0;
  overflow: hidden;
  transition: transform 0.2s;
}

.card:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.3); }

.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body { padding: var(--spacing-sm); }

.card-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--spacing-xxs);
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: var(--spacing-xxs);
}

.card-text {
  font-size: 13px;
  color: var(--body-color);
  line-height: 1.6;
  margin-bottom: var(--spacing-sm);
}

.card-link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.65px;
  text-transform: uppercase;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card-link::after { content: '→'; }

/* LIGHT CARDS */
.card-light {
  background: var(--canvas-light);
  border: 1px solid var(--hairline-on-light);
  border-radius: 0;
  overflow: hidden;
}

.card-light .card-body { padding: var(--spacing-md); }
.card-light .card-title { color: var(--body-on-light); }
.card-light .card-text { color: #555; }

/* ACCENT BAND */
.accent-band {
  background: var(--primary);
  padding: var(--spacing-xxl) 0;
}

.accent-band .section-title {
  color: #ffffff;
  max-width: 700px;
}

.accent-band .section-body { color: rgba(255,255,255,0.8); }
.accent-band .btn-outline { border-color: #ffffff; color: #ffffff; }

/* STATS */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
  border-top: 1px solid var(--hairline);
  padding-top: var(--spacing-md);
}

.stat-item { padding: var(--spacing-sm) 0; }

.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -1.6px;
  line-height: 1;
  margin-bottom: var(--spacing-xxs);
}

.stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--muted);
}

/* ROUTE CARDS */
.route-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.route-card {
  background: var(--canvas-elevated);
  border: 1px solid var(--hairline);
  padding: var(--spacing-md);
  position: relative;
}

.route-card-number {
  font-size: 80px;
  font-weight: 700;
  color: var(--hairline);
  line-height: 1;
  position: absolute;
  right: var(--spacing-sm);
  top: var(--spacing-sm);
  letter-spacing: -1.6px;
}

.route-name {
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--spacing-xxs);
  letter-spacing: -0.2px;
}

.route-meta {
  display: flex;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
}

.route-tag {
  background: var(--canvas-elevated);
  border: 1px solid var(--hairline);
  color: var(--body-color);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 9999px;
}

.route-desc {
  font-size: 13px;
  color: var(--body-color);
  line-height: 1.6;
}

/* CONTACT FORM */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-sm);
}

.form-group { display: flex; flex-direction: column; gap: var(--spacing-xxs); }
.form-group.full { grid-column: 1 / -1; }

.form-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--body-color);
}

.form-input {
  background: var(--canvas);
  color: var(--ink);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  padding: 14px 16px;
  height: 48px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.form-input:focus { border-color: var(--primary); }

.form-input::placeholder { color: var(--muted); }

/* FOOTER */
.site-footer {
  background: var(--canvas);
  border-top: 1px solid var(--hairline);
  padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
}

.footer-brand-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
  margin-bottom: var(--spacing-xs);
}

.footer-brand-name span { color: var(--primary); }

.footer-desc {
  font-size: 13px;
  color: var(--body-color);
  line-height: 1.6;
  margin-bottom: var(--spacing-sm);
}

.footer-col-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: var(--spacing-xs);
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: var(--spacing-xxs); }

.footer-links a {
  font-size: 13px;
  color: var(--body-color);
  line-height: 1.6;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--ink); }

.footer-bottom {
  border-top: 1px solid var(--hairline);
  padding-top: var(--spacing-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-xs);
}

.footer-copy {
  font-size: 12px;
  color: var(--muted);
}

/* ARTICLE PAGE */
.article-header {
  padding: var(--spacing-xxl) 0 var(--spacing-md);
}

.article-header .hero-badge { margin-bottom: var(--spacing-xs); }

.article-title {
  font-size: 56px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -1.12px;
  color: var(--ink);
  margin-bottom: var(--spacing-sm);
  max-width: 900px;
}

.article-meta {
  display: flex;
  gap: var(--spacing-sm);
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: var(--spacing-md);
  flex-wrap: wrap;
}

.article-hero-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  margin-bottom: var(--spacing-xxl);
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--spacing-xl);
  align-items: start;
}

.article-body h2 {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.195px;
  color: var(--ink);
  margin: var(--spacing-md) 0 var(--spacing-sm);
}

.article-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: var(--spacing-sm) 0 var(--spacing-xs);
}

.article-body p {
  font-size: 15px;
  color: var(--body-color);
  line-height: 1.75;
  margin-bottom: var(--spacing-sm);
}

.article-body ul, .article-body ol {
  margin: var(--spacing-xs) 0 var(--spacing-sm) var(--spacing-sm);
}

.article-body li {
  font-size: 15px;
  color: var(--body-color);
  line-height: 1.75;
  margin-bottom: var(--spacing-xxs);
}

.article-body a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-sidebar { position: sticky; top: 80px; }

.sidebar-card {
  background: var(--canvas-elevated);
  border: 1px solid var(--hairline);
  padding: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
}

.sidebar-card-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.65px;
  margin-bottom: var(--spacing-xs);
  padding-bottom: var(--spacing-xxs);
  border-bottom: 1px solid var(--hairline);
}

.sidebar-links { list-style: none; display: flex; flex-direction: column; gap: var(--spacing-xxs); }

.sidebar-links a {
  font-size: 13px;
  color: var(--body-color);
  transition: color 0.2s;
}

.sidebar-links a:hover { color: var(--ink); }

/* COOKIE BANNER */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--canvas-elevated);
  border-top: 1px solid var(--hairline);
  padding: var(--spacing-sm) var(--spacing-sm);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

.cookie-text {
  font-size: 13px;
  color: var(--body-color);
  max-width: 720px;
  line-height: 1.6;
}

.cookie-text a { color: var(--primary); text-decoration: underline; }

.cookie-buttons { display: flex; gap: var(--spacing-xs); flex-shrink: 0; }

.btn-cookie-accept {
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 10px 24px;
  border: none;
  border-radius: 0;
  cursor: pointer;
}

.btn-cookie-reject {
  background: transparent;
  color: var(--body-color);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 10px 24px;
  border: 1px solid var(--hairline);
  border-radius: 0;
  cursor: pointer;
}

/* ABOUT / PAGES */
.page-header {
  background: var(--canvas);
  padding: var(--spacing-xl) 0 var(--spacing-md);
  border-bottom: 1px solid var(--hairline);
}

.page-title {
  font-size: 56px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -1.12px;
  color: var(--ink);
  margin-bottom: var(--spacing-xs);
}

.page-sub {
  font-size: 16px;
  color: var(--body-color);
  max-width: 640px;
}

.page-content {
  padding: var(--spacing-xxl) 0;
}

.page-content h2 {
  font-size: 26px;
  font-weight: 500;
  color: var(--ink);
  margin: var(--spacing-md) 0 var(--spacing-xs);
  letter-spacing: 0.195px;
}

.page-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: var(--spacing-sm) 0 var(--spacing-xxs);
}

.page-content p {
  font-size: 15px;
  color: var(--body-color);
  line-height: 1.75;
  margin-bottom: var(--spacing-sm);
  max-width: 800px;
}

.page-content ul, .page-content ol {
  max-width: 800px;
  margin: var(--spacing-xs) 0 var(--spacing-sm) var(--spacing-sm);
}

.page-content li {
  font-size: 15px;
  color: var(--body-color);
  line-height: 1.75;
  margin-bottom: var(--spacing-xxs);
}

.page-content a { color: var(--primary); text-decoration: underline; }

/* DISCLAIMER */
.disclaimer-box {
  background: var(--canvas-elevated);
  border-left: 3px solid var(--primary);
  padding: var(--spacing-sm) var(--spacing-md);
  margin: var(--spacing-md) 0;
  max-width: 800px;
}

.disclaimer-box p {
  font-size: 13px;
  color: var(--body-color);
  line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero h1 { font-size: 56px; letter-spacing: -1.12px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 36px; letter-spacing: -0.36px; }
  .hero { min-height: 420px; }
  .section-title, .section-title-light { font-size: 26px; }
  .cards-grid { grid-template-columns: 1fr; }
  .route-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: 1; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--canvas);
    padding: var(--spacing-sm);
    border-bottom: 1px solid var(--hairline);
    z-index: 99;
  }
  .article-title { font-size: 36px; }
  .page-title { font-size: 36px; }
  .article-hero-img { height: 260px; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  #cookie-banner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .hero h1 { font-size: 32px; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; margin: 4px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
