/* ============================================
   ПЕРВЫЙ ЗАВОД — Design System
   Industrial Tech / Dark Steel + Amber Fire
   ============================================ */

/* --- Design Tokens --- */
:root {
  /* Colors — Industrial Dark */
  --c-bg: #0a0c10;
  --c-bg-2: #11151c;
  --c-bg-3: #181d26;
  --c-surface: #1c222d;
  --c-surface-2: #232a37;
  --c-border: #2a3242;
  --c-border-light: #3a4456;

  --c-text: #e8ecf2;
  --c-text-2: #a8b2c1;
  --c-text-3: #6b7585;

  --c-primary: #f59e0b;       /* Amber — fire/energy */
  --c-primary-2: #fbbf24;
  --c-primary-glow: rgba(245, 158, 11, 0.15);
  --c-accent: #3b82f6;         /* Blue — steel/tech */
  --c-accent-2: #60a5fa;
  --c-success: #22c55e;
  --c-danger: #ef4444;

  /* Gradients */
  --grad-hero: linear-gradient(135deg, #0a0c10 0%, #11151c 50%, #181d26 100%);
  --grad-amber: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
  --grad-steel: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
  --grad-card: linear-gradient(180deg, #1c222d 0%, #181d26 100%);
  --grad-glow: radial-gradient(ellipse at top, rgba(245, 158, 11, 0.08) 0%, transparent 60%);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Manrope', var(--font-sans);
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;

  /* Spacing */
  --s-xs: 0.5rem;
  --s-sm: 0.75rem;
  --s-md: 1rem;
  --s-lg: 1.5rem;
  --s-xl: 2rem;
  --s-2xl: 3rem;
  --s-3xl: 4rem;
  --s-4xl: 6rem;

  /* Radii */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 9999px;

  /* Shadows */
  --sh-sm: 0 2px 8px rgba(0,0,0,0.3);
  --sh-md: 0 4px 20px rgba(0,0,0,0.4);
  --sh-lg: 0 8px 40px rgba(0,0,0,0.5);
  --sh-glow: 0 0 40px rgba(245, 158, 11, 0.15);

  /* Transitions */
  --t-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --t-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --t-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --container: 1280px;
  --header-h: 72px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }
ul, ol { list-style: none; }

/* --- Container --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s-xl);
}

/* --- Typography --- */
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }
p { color: var(--c-text-2); }

/* --- Section --- */
section { position: relative; padding: var(--s-4xl) 0; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--s-sm);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--c-primary);
  margin-bottom: var(--s-md);
}
.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--c-primary);
  border-radius: 1px;
}
.section-title { margin-bottom: var(--s-xl); }
.section-title p { margin-top: var(--s-md); font-size: 1.1rem; max-width: 600px; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-sm);
  padding: 0.875rem 1.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--r-md);
  transition: all var(--t-base);
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--grad-amber);
  color: #0a0c10;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.45);
}
.btn-ghost {
  background: var(--c-surface);
  color: var(--c-text);
  border: 1px solid var(--c-border);
}
.btn-ghost:hover {
  background: var(--c-surface-2);
  border-color: var(--c-border-light);
  transform: translateY(-2px);
}
.btn-tg {
  background: linear-gradient(135deg, #2aabee 0%, #229ed9 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(34, 158, 217, 0.3);
}
.btn-tg:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(34, 158, 217, 0.45);
}
.btn-lg { padding: 1.1rem 2.2rem; font-size: 1.05rem; }

/* --- Header --- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(10, 12, 16, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--c-border);
  z-index: 1000;
  transition: all var(--t-base);
}
.header.scrolled {
  background: rgba(10, 12, 16, 0.95);
  box-shadow: var(--sh-md);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  height: 100%;
  padding: 0 var(--s-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-xl);
}
.logo {
  display: flex;
  align-items: center;
  gap: var(--s-sm);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}
.logo-icon {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  background: var(--grad-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #0a0c10;
  font-weight: 900;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text small { font-size: 0.65rem; color: var(--c-text-3); font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: var(--s-xs); }
.nav a {
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--c-text-2);
  border-radius: var(--r-sm);
  transition: all var(--t-fast);
}
.nav a:hover, .nav a.active {
  color: var(--c-text);
  background: var(--c-surface);
}
.header-cta { display: flex; align-items: center; gap: var(--s-md); }
.header-phone {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--c-text);
  white-space: nowrap;
}

/* Mobile menu toggle */
.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.menu-toggle span { width: 24px; height: 2px; background: var(--c-text); border-radius: 1px; transition: all var(--t-base); }
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-h);
  background: var(--grad-hero);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-glow);
  pointer-events: none;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.25;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,12,16,0.6) 0%, rgba(10,12,16,0.9) 70%, var(--c-bg) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s-xl);
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-sm);
  padding: 0.5rem 1rem;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-text-2);
  margin-bottom: var(--s-xl);
}
.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--c-success);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}
.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
  margin-bottom: var(--s-lg);
}
.hero h1 .accent {
  background: var(--grad-amber);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--c-text-2);
  max-width: 580px;
  margin-bottom: var(--s-2xl);
}
.hero-actions { display: flex; gap: var(--s-md); flex-wrap: wrap; margin-bottom: var(--s-3xl); }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-lg);
  max-width: 800px;
}
.hero-stat {
  border-left: 2px solid var(--c-border);
  padding-left: var(--s-md);
}
.hero-stat .num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--c-text);
  line-height: 1;
}
.hero-stat .num .unit { font-size: 0.5em; color: var(--c-primary); }
.hero-stat .label {
  font-size: 0.8rem;
  color: var(--c-text-3);
  margin-top: var(--s-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- Marquee --- */
.marquee {
  background: var(--c-bg-2);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding: var(--s-md) 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  gap: var(--s-2xl);
  animation: marquee 30s linear infinite;
}
.marquee-item {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--c-text-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: inline-flex;
  align-items: center;
  gap: var(--s-2xl);
}
.marquee-item::after {
  content: '◆';
  color: var(--c-primary);
  font-size: 0.6rem;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --- Cards Grid --- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--s-lg);
}
.card {
  background: var(--grad-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--s-xl);
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-primary), transparent);
  opacity: 0;
  transition: opacity var(--t-base);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--c-border-light);
  box-shadow: var(--sh-lg);
}
.card:hover::before { opacity: 1; }
.card-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: var(--c-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--s-md);
}
.card h4 { margin-bottom: var(--s-sm); }
.card p { font-size: 0.95rem; }

/* --- Products --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--s-lg);
}
.product-card {
  background: var(--grad-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all var(--t-base);
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--c-primary);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 30px var(--c-primary-glow);
}
.product-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}
.product-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.product-card:hover .product-img img { transform: scale(1.08); }
.product-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,12,16,0.8) 100%);
}
.product-body { padding: var(--s-lg); }
.product-body h4 { margin-bottom: var(--s-sm); }
.product-body p { font-size: 0.9rem; margin-bottom: var(--s-md); }
.product-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--c-surface-2);
  border-radius: var(--r-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--c-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- About / Split --- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3xl);
  align-items: center;
}
.split-img {
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
  box-shadow: var(--sh-lg);
}
.split-img img { width: 100%; }
.split-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(245, 158, 11, 0.1) 100%);
  pointer-events: none;
}
.split-content h2 { margin-bottom: var(--s-lg); }
.split-content p { margin-bottom: var(--s-md); }
.feature-list { margin-top: var(--s-xl); }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-md);
  padding: var(--s-md) 0;
  border-bottom: 1px solid var(--c-border);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list .check {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--c-primary-glow);
  color: var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.feature-list strong { display: block; margin-bottom: 2px; }
.feature-list span { font-size: 0.9rem; color: var(--c-text-3); }

/* --- Stats Bar --- */
.stats-bar {
  background: var(--c-bg-2);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding: var(--s-3xl) 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-xl);
}
.stat-item { text-align: center; }
.stat-item .num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  background: var(--grad-amber);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-item .num .unit { font-size: 0.4em; }
.stat-item .label {
  margin-top: var(--s-sm);
  font-size: 0.9rem;
  color: var(--c-text-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- Timeline --- */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--c-border);
}
.timeline-item {
  position: relative;
  padding-left: 60px;
  padding-bottom: var(--s-2xl);
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: 13px;
  top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--c-bg);
  border: 3px solid var(--c-primary);
}
.timeline-item .year {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: var(--s-xs);
}
.timeline-item h4 { margin-bottom: var(--s-sm); }
.timeline-item p { font-size: 0.95rem; }

/* --- Certificates Gallery --- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--s-lg);
}
.cert-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: all var(--t-base);
  cursor: pointer;
}
.cert-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--c-primary);
  box-shadow: var(--sh-lg);
}
.cert-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.cert-card .cert-body {
  padding: var(--s-md);
  text-align: center;
}
.cert-card .cert-body span {
  font-size: 0.8rem;
  color: var(--c-text-3);
}

/* --- CTA Section --- */
.cta-section {
  background: var(--c-bg-2);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, var(--c-primary-glow) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.cta-inner h2 { margin-bottom: var(--s-md); }
.cta-inner p { font-size: 1.1rem; margin-bottom: var(--s-xl); }
.cta-actions {
  display: flex;
  gap: var(--s-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Contact Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--s-2xl);
}
.contact-info-card {
  background: var(--grad-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--s-2xl);
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--s-md);
  padding: var(--s-md) 0;
  border-bottom: 1px solid var(--c-border);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-item .icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: var(--c-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-info-item .label { font-size: 0.8rem; color: var(--c-text-3); text-transform: uppercase; letter-spacing: 0.05em; }
.contact-info-item .value { font-weight: 600; margin-top: 2px; }

.form-card {
  background: var(--grad-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--s-2xl);
}
.form-group { margin-bottom: var(--s-md); }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-text-2);
  margin-bottom: var(--s-xs);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  color: var(--c-text);
  transition: all var(--t-fast);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px var(--c-primary-glow);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-md); }
.form-feedback {
  padding: var(--s-md);
  border-radius: var(--r-md);
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: var(--s-md);
  display: none;
}
.form-feedback.success {
  display: block;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--c-success);
}
.form-feedback.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: var(--c-danger);
}

/* --- Telegram Float Button --- */
.tg-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2aabee 0%, #229ed9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(34, 158, 217, 0.4);
  z-index: 999;
  transition: all var(--t-spring);
  cursor: pointer;
}
.tg-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(34, 158, 217, 0.6);
}
.tg-float svg { width: 28px; height: 28px; fill: #fff; }
.tg-float::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(34, 158, 217, 0.3);
  animation: tg-pulse 2s ease-in-out infinite;
}
@keyframes tg-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0; }
}

/* --- Footer --- */
.footer {
  background: var(--c-bg-2);
  border-top: 1px solid var(--c-border);
  padding: var(--s-3xl) 0 var(--s-xl);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s-2xl);
  margin-bottom: var(--s-2xl);
}
.footer-col h5 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-text-3);
  margin-bottom: var(--s-md);
}
.footer-col a {
  display: block;
  padding: 0.35rem 0;
  font-size: 0.9rem;
  color: var(--c-text-2);
  transition: color var(--t-fast);
}
.footer-col a:hover { color: var(--c-primary); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--s-lg);
  border-top: 1px solid var(--c-border);
  font-size: 0.85rem;
  color: var(--c-text-3);
}

/* --- Page Hero (inner pages) --- */
.page-hero {
  padding: calc(var(--header-h) + var(--s-3xl)) 0 var(--s-3xl);
  background: var(--grad-hero);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-glow);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb {
  display: flex;
  gap: var(--s-sm);
  font-size: 0.85rem;
  color: var(--c-text-3);
  margin-bottom: var(--s-md);
}
.breadcrumb a:hover { color: var(--c-primary); }
.breadcrumb span::before { content: '/'; margin-right: var(--s-sm); }

/* --- Ecology Docs --- */
.docs-list { display: flex; flex-direction: column; gap: var(--s-sm); }
.doc-item {
  display: flex;
  align-items: center;
  gap: var(--s-md);
  padding: var(--s-md) var(--s-lg);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  transition: all var(--t-fast);
}
.doc-item:hover {
  border-color: var(--c-primary);
  background: var(--c-surface-2);
  transform: translateX(4px);
}
.doc-item .doc-icon {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  background: var(--c-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.doc-item .doc-info { flex: 1; }
.doc-item .doc-info strong { display: block; font-size: 0.95rem; }
.doc-item .doc-info span { font-size: 0.8rem; color: var(--c-text-3); }
.doc-item .doc-download {
  color: var(--c-primary);
  font-size: 1.2rem;
  transition: transform var(--t-fast);
}
.doc-item:hover .doc-download { transform: translateX(4px); }

/* --- Vacancies --- */
.vacancy-card {
  background: var(--grad-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--s-xl);
  transition: all var(--t-base);
}
.vacancy-card:hover {
  border-color: var(--c-border-light);
  transform: translateY(-2px);
}
.vacancy-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-lg);
  margin-top: var(--s-xl);
}
.vacancy-step {
  text-align: center;
  padding: var(--s-lg);
}
.vacancy-step .step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--c-primary-glow);
  color: var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  margin: 0 auto var(--s-md);
}

/* --- Map --- */
.map-container {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--c-border);
  box-shadow: var(--sh-lg);
}
.map-container iframe { width: 100%; height: 450px; border: 0; display: block; }

/* --- Animations on scroll --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  :root { --s-4xl: 4rem; --s-3xl: 3rem; }
  .nav, .header-phone { display: none; }
  .menu-toggle { display: flex; }
  .nav.mobile-open {
    display: flex;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    background: var(--c-bg-2);
    border-bottom: 1px solid var(--c-border);
    padding: var(--s-md);
    gap: 0;
  }
  .nav.mobile-open a { padding: var(--s-md); border-bottom: 1px solid var(--c-border); }
  .split { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .vacancy-steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: var(--s-sm); text-align: center; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .container { padding: 0 var(--s-md); }
  .header-inner { padding: 0 var(--s-md); }
  .logo-img { height: 36px; }
}
@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
}
