@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=DM+Serif+Display:ital@0;1&family=Inter:wght@300;400;500&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg: #0d1117;
  --bg2: #161b22;
  --bg3: #1c2330;
  --accent: #e63946;
  --accent2: #2ecc71;
  --accent3: #f4a261;
  --text: #e6edf3;
  --text2: #8b949e;
  --text3: #6e7681;
  --border: #30363d;
  --card: #161b22;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.6);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: #ff6b6b; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* PAGE LOADER */
#page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.loader-track {
  width: 80px;
  height: 6px;
  background: var(--bg3);
  border-radius: 3px;
  overflow: hidden;
}
.loader-bar {
  height: 100%;
  width: 0;
  background: var(--accent);
  border-radius: 3px;
  animation: loadBar 1.2s ease forwards;
}
@keyframes loadBar { to { width: 100%; } }
.loader-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text3);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 17, 23, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.3px;
}
.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.logo:hover { color: var(--text); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  color: var(--text2);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text);
  background: var(--bg2);
}

.burger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background var(--transition);
}
.burger-btn:hover { background: var(--bg2); }
.burger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}
.burger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger-btn.open span:nth-child(2) { opacity: 0; }
.burger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  z-index: 99;
  padding: 24px;
  flex-direction: column;
  gap: 8px;
  transform: translateX(-100%);
  transition: transform var(--transition);
}
.mobile-nav.open {
  display: flex;
  transform: translateX(0);
}
.mobile-nav a {
  color: var(--text);
  font-size: 20px;
  font-weight: 600;
  padding: 16px 20px;
  border-radius: var(--radius);
  border-left: 3px solid transparent;
  transition: all var(--transition);
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: var(--bg2);
  border-left-color: var(--accent);
  color: var(--text);
}
.mobile-nav-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 0 20px;
  margin-top: 16px;
}

/* HERO */
.hero {
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(230,57,70,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(46,204,113,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(230,57,70,0.1);
  border: 1px solid rgba(230,57,70,0.25);
  color: var(--accent);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}
.hero-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.12;
  letter-spacing: -1px;
  color: var(--text);
  margin-bottom: 20px;
}
.hero-title em {
  font-style: italic;
  color: var(--accent);
}
.hero-desc {
  font-size: 17px;
  color: var(--text2);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: #c62828;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(230,57,70,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  background: var(--bg2);
  color: var(--text);
  border-color: var(--text3);
}
.hero-image-wrap {
  position: relative;
}
.hero-image-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow);
}
.hero-badge-num {
  font-family: 'DM Serif Display', serif;
  font-size: 32px;
  color: var(--accent2);
  line-height: 1;
}
.hero-badge-label {
  font-size: 12px;
  color: var(--text3);
  margin-top: 4px;
}

/* STATS */
.stats-bar {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  padding: 0 32px;
  border-right: 1px solid var(--border);
}
.stat-item:first-child { padding-left: 0; }
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: 36px;
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-num span { color: var(--accent); }
.stat-label { font-size: 13px; color: var(--text3); }

/* SECTION HEADER */
.section-header { margin-bottom: 48px; }
.section-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: block;
}
.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 12px;
}
.section-desc {
  font-size: 16px;
  color: var(--text2);
  max-width: 560px;
  line-height: 1.8;
}

/* LINES GRID */
.lines-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.line-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.line-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}
.line-card.ns::before { background: #d42e12; }
.line-card.ew::before { background: #009645; }
.line-card.ne::before { background: #9900aa; }
.line-card.cc::before { background: #fa9e0d; }
.line-card.dt::before { background: #005ec4; }
.line-card.te::before { background: #9d5b25; }
.line-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--text3);
}
.line-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}
.line-card.ns .line-code { background: rgba(212,46,18,0.15); color: #ff6b55; }
.line-card.ew .line-code { background: rgba(0,150,69,0.15); color: #34d399; }
.line-card.ne .line-code { background: rgba(153,0,170,0.15); color: #c084fc; }
.line-card.cc .line-code { background: rgba(250,158,13,0.15); color: #fbbf24; }
.line-card.dt .line-code { background: rgba(0,94,196,0.15); color: #60a5fa; }
.line-card.te .line-code { background: rgba(157,91,37,0.15); color: #d97706; }
.line-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.line-stations {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text3);
  margin-bottom: 12px;
}
.line-desc {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.7;
}

/* ARTICLES GRID */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.article-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--text3);
}
.article-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.article-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.article-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}
.article-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 10px;
}
.article-excerpt {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
}
.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text3);
}
.article-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 4px;
}
.article-link:hover { gap: 8px; }

/* SPLIT SECTION */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }
.split-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.split-content { }
.feature-list { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}
.feature-icon.green { background: rgba(46,204,113,0.12); }
.feature-icon.red { background: rgba(230,57,70,0.12); }
.feature-icon.orange { background: rgba(244,162,97,0.12); }
.feature-icon.blue { background: rgba(96,165,250,0.12); }
.feature-text h4 { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.feature-text p { font-size: 13px; color: var(--text2); line-height: 1.6; }

/* TIPS BOX */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.tip-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: border-color var(--transition);
}
.tip-card:hover { border-color: var(--accent); }
.tip-num {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
  width: 36px;
}
.tip-content h4 { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.tip-content p { font-size: 13px; color: var(--text2); line-height: 1.7; }

/* ABOUT STRIP */
.about-strip {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.about-strip h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  color: var(--text);
  margin-bottom: 12px;
}
.about-strip p { font-size: 15px; color: var(--text2); line-height: 1.8; max-width: 600px; }
.about-strip-cta { flex-shrink: 0; }

/* ARTICLE PAGE */
.article-page { padding: 60px 0; }
.article-header { margin-bottom: 48px; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text3);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--text3); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb-sep { color: var(--border); }
.article-page-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 16px;
}
.article-meta-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: var(--text3);
  flex-wrap: wrap;
}
.article-meta-bar span { display: flex; align-items: center; gap: 6px; }
.article-hero-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin: 32px 0;
  box-shadow: var(--shadow-lg);
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}
.article-content h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  color: var(--text);
  margin: 40px 0 16px;
}
.article-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin: 28px 0 12px;
}
.article-content p { font-size: 16px; color: var(--text2); line-height: 1.9; margin-bottom: 20px; }
.article-content ul, .article-content ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
.article-content li { font-size: 15px; color: var(--text2); line-height: 1.8; margin-bottom: 8px; list-style: disc; }
.article-content ol li { list-style: decimal; }
.article-content a { color: var(--accent); border-bottom: 1px solid rgba(230,57,70,0.3); }
.article-content a:hover { border-bottom-color: var(--accent); }
.article-content strong { color: var(--text); font-weight: 600; }

.info-box {
  background: var(--bg2);
  border-left: 4px solid var(--accent2);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 28px 0;
}
.info-box p { font-size: 14px; color: var(--text2); margin: 0; }
.info-box strong { color: var(--accent2); }

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 14px;
}
.data-table th {
  background: var(--bg3);
  color: var(--text);
  font-weight: 600;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 2px solid var(--border);
}
.data-table td {
  padding: 12px 16px;
  color: var(--text2);
  border-bottom: 1px solid var(--border);
}
.data-table tr:hover td { background: var(--bg2); }
.data-table td:first-child { font-weight: 500; color: var(--text); }

/* SIDEBAR */
.sidebar-widget {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}
.sidebar-widget h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.sidebar-links { display: flex; flex-direction: column; gap: 10px; }
.sidebar-link {
  font-size: 14px;
  color: var(--text2);
  padding: 8px 12px;
  border-radius: 8px;
  border-left: 2px solid transparent;
  transition: all var(--transition);
}
.sidebar-link:hover {
  color: var(--accent);
  background: rgba(230,57,70,0.06);
  border-left-color: var(--accent);
}
.sidebar-link.active {
  color: var(--accent);
  background: rgba(230,57,70,0.08);
  border-left-color: var(--accent);
}
.toc-list { display: flex; flex-direction: column; gap: 8px; }
.toc-list a {
  font-size: 13px;
  color: var(--text3);
  padding: 4px 8px;
  border-radius: 6px;
  transition: all var(--transition);
}
.toc-list a:hover { color: var(--text); background: var(--bg3); }

/* CONTACT PAGE */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-info { }
.contact-info h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 32px;
  color: var(--text);
  margin-bottom: 16px;
}
.contact-info p { font-size: 15px; color: var(--text2); line-height: 1.8; margin-bottom: 32px; }
.contact-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(230,57,70,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.contact-text h4 { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.contact-text a, .contact-text p { font-size: 14px; color: var(--text2); }
.contact-ext-links h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: var(--text);
  margin-bottom: 20px;
}
.ext-links-grid { display: flex; flex-direction: column; gap: 12px; }
.ext-link-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.ext-link-item:hover { border-color: var(--accent); color: var(--text); }
.ext-link-item:hover .ext-link-label { color: var(--accent); }
.ext-link-icon { font-size: 20px; width: 36px; flex-shrink: 0; }
.ext-link-label { font-size: 14px; color: var(--text2); font-weight: 500; }
.ext-link-url { font-size: 12px; color: var(--text3); margin-top: 2px; }

/* POLICY PAGE */
.policy-content {
  max-width: 800px;
  margin: 0 auto;
}
.policy-content h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 26px;
  color: var(--text);
  margin: 36px 0 14px;
}
.policy-content h3 { font-size: 18px; font-weight: 600; color: var(--text); margin: 24px 0 10px; }
.policy-content p { font-size: 15px; color: var(--text2); line-height: 1.9; margin-bottom: 16px; }
.policy-content ul { padding-left: 24px; margin-bottom: 16px; }
.policy-content li { font-size: 15px; color: var(--text2); line-height: 1.8; margin-bottom: 6px; list-style: disc; }

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 560px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  z-index: 9000;
  box-shadow: var(--shadow-lg);
  transform: translateY(140%);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner h4 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.cookie-banner p { font-size: 13px; color: var(--text2); line-height: 1.7; margin-bottom: 20px; }
.cookie-banner p a { color: var(--accent); }
.cookie-actions { display: flex; gap: 10px; }
.btn-cookie-accept { background: var(--accent); color: #fff; border: none; padding: 10px 20px; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; transition: all var(--transition); }
.btn-cookie-accept:hover { background: #c62828; }
.btn-cookie-reject { background: transparent; color: var(--text2); border: 1px solid var(--border); padding: 10px 20px; border-radius: 8px; font-size: 13px; font-weight: 500; cursor: pointer; transition: all var(--transition); }
.btn-cookie-reject:hover { background: var(--bg3); color: var(--text); }

/* FOOTER */
.site-footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 14px;
  color: var(--text3);
  line-height: 1.8;
  margin-top: 16px;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 14px;
  color: var(--text3);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text3);
}
.updated-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  background: var(--bg3);
  padding: 4px 10px;
  border-radius: 20px;
  color: var(--text3);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-image-wrap { order: -1; }
  .hero-badge { bottom: -12px; left: 12px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-item { border-right: none; padding: 0; }
  .lines-grid { grid-template-columns: repeat(2, 1fr); }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .split-section { grid-template-columns: 1fr; gap: 36px; }
  .split-section.reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .burger-btn { display: flex; }
  .lines-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .tips-grid { grid-template-columns: 1fr; }
  .about-strip { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; }
  .hero { padding: 60px 0 40px; }
  .hero-image-wrap img { height: 260px; }
  .hero-badge { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 48px 0; }
}
