/* ===== CSS Variables / Themes ===== */
:root,
[data-theme="industrial"] {
  --bg-primary: #0f1419;
  --bg-secondary: #1a2332;
  --bg-card: #1e2a3a;
  --bg-header: #0a0e14;
  --text-primary: #e8edf2;
  --text-secondary: #9aa8b8;
  --text-muted: #6b7d90;
  --accent: #3d7ab5;
  --accent-hover: #5a9ad4;
  --accent-subtle: rgba(61, 122, 181, 0.12);
  --border: #2a3a4d;
  --border-light: #354a60;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  --hero-gradient: linear-gradient(135deg, #0f1419 0%, #1a2d42 50%, #0f1419 100%);
  --table-stripe: rgba(61, 122, 181, 0.06);
}

[data-theme="light"] {
  --bg-primary: #f4f6f8;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-header: #ffffff;
  --text-primary: #1a2332;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  --accent: #2b6cb0;
  --accent-hover: #2c5282;
  --accent-subtle: rgba(43, 108, 176, 0.08);
  --border: #e2e8f0;
  --border-light: #edf2f7;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --hero-gradient: linear-gradient(135deg, #f4f6f8 0%, #e8eef4 50%, #f4f6f8 100%);
  --table-stripe: rgba(43, 108, 176, 0.04);
}

[data-theme="fire"] {
  --bg-primary: #141010;
  --bg-secondary: #1f1818;
  --bg-card: #261c1c;
  --bg-header: #0d0909;
  --text-primary: #f0e8e6;
  --text-secondary: #b8a8a4;
  --text-muted: #8a7874;
  --accent: #c0392b;
  --accent-hover: #e74c3c;
  --accent-subtle: rgba(192, 57, 43, 0.14);
  --border: #3d2a2a;
  --border-light: #4a3333;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --hero-gradient: linear-gradient(135deg, #141010 0%, #2a1515 50%, #141010 100%);
  --table-stripe: rgba(192, 57, 43, 0.06);
}

[data-theme="steel"] {
  --bg-primary: #12181c;
  --bg-secondary: #1a2228;
  --bg-card: #1e272e;
  --bg-header: #0c1014;
  --text-primary: #dce4ea;
  --text-secondary: #94a3ae;
  --text-muted: #647480;
  --accent: #5a8a7a;
  --accent-hover: #6fa892;
  --accent-subtle: rgba(90, 138, 122, 0.12);
  --border: #2d383f;
  --border-light: #3a474f;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  --hero-gradient: linear-gradient(135deg, #12181c 0%, #1a2e28 50%, #12181c 100%);
  --table-stripe: rgba(90, 138, 122, 0.06);
}

[data-theme="midnight"] {
  --bg-primary: #0a0e1a;
  --bg-secondary: #111827;
  --bg-card: #151d2e;
  --bg-header: #060912;
  --text-primary: #e2e8f4;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent: #6366f1;
  --accent-hover: #818cf8;
  --accent-subtle: rgba(99, 102, 241, 0.14);
  --border: #1e293b;
  --border-light: #334155;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --hero-gradient: linear-gradient(135deg, #0a0e1a 0%, #1e1b4b 50%, #0a0e1a 100%);
  --table-stripe: rgba(99, 102, 241, 0.06);
}

[data-theme="graphite"] {
  --bg-primary: #111111;
  --bg-secondary: #1a1a1a;
  --bg-card: #222222;
  --bg-header: #0a0a0a;
  --text-primary: #e5e5e5;
  --text-secondary: #a3a3a3;
  --text-muted: #737373;
  --accent: #a3a3a3;
  --accent-hover: #d4d4d4;
  --accent-subtle: rgba(163, 163, 163, 0.12);
  --border: #333333;
  --border-light: #404040;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
  --hero-gradient: linear-gradient(135deg, #111111 0%, #262626 50%, #111111 100%);
  --table-stripe: rgba(163, 163, 163, 0.05);
}

[data-theme="ember"] {
  --bg-primary: #14100c;
  --bg-secondary: #1f1812;
  --bg-card: #261e16;
  --bg-header: #0c0906;
  --text-primary: #f0ebe4;
  --text-secondary: #b8a894;
  --text-muted: #8a7a68;
  --accent: #d97706;
  --accent-hover: #f59e0b;
  --accent-subtle: rgba(217, 119, 6, 0.14);
  --border: #3d3020;
  --border-light: #4a3d2a;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --hero-gradient: linear-gradient(135deg, #14100c 0%, #292017 50%, #14100c 100%);
  --table-stripe: rgba(217, 119, 6, 0.06);
}

[data-theme="pearl"] {
  --bg-primary: #f8f9fb;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-header: #ffffff;
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --accent: #475569;
  --accent-hover: #334155;
  --accent-subtle: rgba(71, 85, 105, 0.08);
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --hero-gradient: linear-gradient(135deg, #f8f9fb 0%, #eef1f5 50%, #f8f9fb 100%);
  --table-stripe: rgba(71, 85, 105, 0.04);
}

[data-theme="sand"] {
  --bg-primary: #f5f0e8;
  --bg-secondary: #faf7f2;
  --bg-card: #faf7f2;
  --bg-header: #faf7f2;
  --text-primary: #292524;
  --text-secondary: #57534e;
  --text-muted: #78716c;
  --accent: #92400e;
  --accent-hover: #b45309;
  --accent-subtle: rgba(146, 64, 14, 0.08);
  --border: #e7e0d4;
  --border-light: #f0ebe3;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  --hero-gradient: linear-gradient(135deg, #f5f0e8 0%, #ebe4d8 50%, #f5f0e8 100%);
  --table-stripe: rgba(146, 64, 14, 0.04);
}

[data-theme="arctic"] {
  --bg-primary: #f0f7fa;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-header: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --accent: #0891b2;
  --accent-hover: #0e7490;
  --accent-subtle: rgba(8, 145, 178, 0.08);
  --border: #d9e8ee;
  --border-light: #e8f2f6;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --hero-gradient: linear-gradient(135deg, #f0f7fa 0%, #dceef4 50%, #f0f7fa 100%);
  --table-stripe: rgba(8, 145, 178, 0.04);
}

[data-theme="mint"] {
  --bg-primary: #f2f7f4;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-header: #ffffff;
  --text-primary: #1a2e23;
  --text-secondary: #3d5a4a;
  --text-muted: #6b8f7a;
  --accent: #2d6a4f;
  --accent-hover: #40916c;
  --accent-subtle: rgba(45, 106, 79, 0.08);
  --border: #d8e8de;
  --border-light: #e8f2ec;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --hero-gradient: linear-gradient(135deg, #f2f7f4 0%, #e0ede6 50%, #f2f7f4 100%);
  --table-stripe: rgba(45, 106, 79, 0.04);
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background 0.3s, color 0.3s;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-header);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 0;
  color: var(--text-primary);
  text-decoration: none;
  flex-shrink: 0;
}

.logo:hover {
  color: var(--text-primary);
}

.logo-title {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.2;
}

.logo-subtitle {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1.3;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  font-size: 1.2rem;
  border-radius: 4px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.main-nav a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: background 0.2s, color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--accent);
  background: var(--accent-subtle);
}

.theme-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 0.5rem;
  padding-left: 0.75rem;
  border-left: 1px solid var(--border);
}

.theme-switcher label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.theme-switcher select {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border);
  padding: 0.35rem 0.5rem;
  font-size: 0.8rem;
  border-radius: 4px;
  cursor: pointer;
  outline: none;
}

.theme-switcher select optgroup {
  font-weight: 700;
  font-style: normal;
  color: var(--text-muted);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg-secondary);
  color: var(--text-primary);
  cursor: pointer;
  outline: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.theme-toggle:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-subtle);
}

.theme-toggle:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-subtle);
}

.theme-toggle-icon {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
}

/* ===== Main Content ===== */
main {
  flex: 1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.page-header {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}

.page-header h1 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.page-header p {
  color: var(--text-secondary);
  max-width: 700px;
}

.section {
  padding-bottom: 3rem;
}

.section-title {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

/* ===== Hero ===== */
.hero {
  background: var(--hero-gradient);
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr minmax(200px, 42%);
  gap: 2.5rem;
  align-items: center;
}

.hero-content {
  min-width: 0;
}

.hero-main-logo {
  display: block;
  width: 100%;
  max-width: 204px;
  height: auto;
  margin: 0 0 1rem;
  opacity: 0.82;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.2));
}

[data-theme="industrial"] .hero-main-logo,
[data-theme="fire"] .hero-main-logo,
[data-theme="steel"] .hero-main-logo,
[data-theme="midnight"] .hero-main-logo,
[data-theme="graphite"] .hero-main-logo,
[data-theme="ember"] .hero-main-logo {
  opacity: 0.76;
  mix-blend-mode: screen;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.45));
}

.hero-logo {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-logo-img {
  max-height: 300px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.hero-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.3rem 0.75rem;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(1.2rem, 3vw, 1.75rem);
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
  max-width: 800px;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin-bottom: 2rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 1.25rem;
  border-radius: 4px;
}

.stat-card strong {
  display: block;
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.stat-card span {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ===== Cards & Grid ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.card .card-code {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.card-price {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.card-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ===== Product Detail ===== */
.product-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  margin-bottom: 2rem;
  overflow: hidden;
}

.product-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--accent-subtle);
}

.product-header h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.product-header .product-code {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}

.product-body {
  padding: 1.5rem;
}

.product-body h3 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin: 1.5rem 0 0.75rem;
}

.product-body h3:first-child {
  margin-top: 0;
}

.product-body p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.product-price {
  display: inline-block;
  background: var(--accent-subtle);
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  border-radius: 4px;
}

.product-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 0.5rem;
  margin: 0.75rem 0 1.5rem;
}

.product-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  background: var(--bg-secondary);
  transition: border-color 0.2s;
}

.product-thumb:hover {
  border-color: var(--accent);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== Tables ===== */
.table-wrap {
  overflow-x: auto;
  margin: 1rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

th,
td {
  padding: 0.65rem 0.85rem;
  text-align: left;
  border: 1px solid var(--border);
}

th {
  background: var(--accent-subtle);
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

tr:nth-child(even) td {
  background: var(--table-stripe);
}

td {
  color: var(--text-secondary);
}

/* ===== Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  background: var(--bg-secondary);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover::after {
  opacity: 1;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border: 2px solid var(--border-light);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  cursor: pointer;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  cursor: pointer;
  border-radius: 4px;
}

.lightbox-prev {
  left: 1.5rem;
}

.lightbox-next {
  right: 1.5rem;
}

.lightbox-counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

/* ===== Documents List ===== */
.doc-list {
  list-style: none;
}

.doc-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  margin-bottom: 0.75rem;
  transition: border-color 0.2s;
}

.doc-item:hover {
  border-color: var(--accent);
}

.doc-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--accent-subtle);
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.doc-content h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.doc-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.5rem;
}

.contact-card h3 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.contact-card p,
.contact-card a {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.contact-card a {
  font-weight: 600;
}

.info-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 4px 4px 0;
}

.info-block p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.info-block ul {
  margin: 0.75rem 0 0 1.25rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.info-block li {
  margin-bottom: 0.35rem;
}

/* ===== Text Content ===== */
.prose {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 800px;
}

.prose p {
  margin-bottom: 1rem;
}

.prose strong {
  color: var(--text-primary);
}

.signature {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-style: italic;
  color: var(--text-muted);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-header);
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  margin-top: auto;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-inner a {
  color: var(--text-secondary);
}

.footer-privacy {
  max-width: 1200px;
  margin: 0.75rem auto 0;
  padding: 0 1.5rem;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--text-muted);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-header);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    text-align: center;
    padding: 0.75rem;
  }

  .theme-switcher {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--border);
    padding-top: 0.75rem;
    width: 100%;
    justify-content: center;
  }

  .header-inner {
    position: relative;
    flex-wrap: wrap;
  }

  .hero {
    padding: 2.5rem 0;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-logo {
    justify-content: center;
    order: -1;
  }

  .hero-logo-img {
    max-height: 220px;
  }

  .hero-main-logo {
    max-width: 168px;
  }

  .page-header {
    padding: 2rem 0 1.5rem;
  }
}
