/* ===== КОРПОРАТИВНЫЙ СТРОГИЙ СТИЛЬ ===== */
:root {
  --navy: #1B3A6B;
  --navy-dark: #0F2347;
  --navy-light: #2A4F8F;
  --orange: #E8690B;
  --orange-dark: #C55A08;
  --gray-light: #F5F6F8;
  --gray: #D1D5DC;
  --gray-dark: #6B7280;
  --text: #1A1A2E;
  --white: #FFFFFF;
  --border: #D0D7E3;
  --shadow: 0 2px 8px rgba(27,58,107,0.12);
}

* { margin:0; padding:0; box-sizing:border-box; }

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--orange); }
img { max-width: 100%; display: block; }

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  font-size: 12px;
  padding: 6px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.top-bar a { color: rgba(255,255,255,0.75); }
.top-bar a:hover { color: var(--white); }

/* ===== HEADER ===== */
header {
  background: var(--navy);
  padding: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}
.logo-emblem {
  width: 52px;
  height: 52px;
  background: var(--orange);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  color: var(--white);
  flex-shrink: 0;
  letter-spacing: -1px;
}
.logo-text { line-height: 1.2; }
.logo-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.logo-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.65);
}

/* ===== NAV ===== */
nav#main-nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
}
nav#main-nav ul li a {
  color: rgba(255,255,255,0.85);
  padding: 8px 12px;
  display: block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
nav#main-nav ul li a:hover,
nav#main-nav ul li a.active {
  color: var(--white);
  border-bottom-color: var(--orange);
}

/* ===== LANG SWITCHER ===== */
.lang-switcher {
  display: flex;
  gap: 4px;
  align-items: center;
}
.lang-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.75);
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.2s;
  text-transform: uppercase;
}
.lang-btn:hover, .lang-btn.active {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

/* ===== BURGER ===== */
#burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}
#burger span { display: block; width: 24px; height: 2px; background: var(--white); transition: 0.3s; }

/* ===== CONTAINER ===== */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ===== PAGE HERO ===== */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
  color: var(--white);
  padding: 64px 0 48px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  right: -60px; top: -40px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(232,105,11,0.08);
}
.page-hero h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.page-hero p { color: rgba(255,255,255,0.75); font-size: 15px; }

/* ===== HERO (HOME) ===== */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, #1e4a8a 100%);
  color: var(--white);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
  min-height: 460px;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 1; max-width: 680px; }
.hero-badge {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.hero p {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 28px;
  max-width: 540px;
}
.btn-primary {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  padding: 12px 28px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--orange-dark); color: var(--white); }
.btn-outline {
  display: inline-block;
  border: 2px solid var(--navy);
  color: var(--navy);
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.2s;
  background: transparent;
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--orange);
  padding: 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 24px 20px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.85;
}

/* ===== SECTION ===== */
section { padding: 60px 0; }
.section-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  position: relative;
  padding-bottom: 14px;
}
.section-title::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 48px; height: 3px;
  background: var(--orange);
}
.section-title.center { text-align: center; }
.section-title.center::after { left: 50%; transform: translateX(-50%); }
.section-sub {
  color: var(--gray-dark);
  font-size: 15px;
  margin-bottom: 32px;
}

/* ===== ABOUT SECTION (HOME) ===== */
.about-section { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: center;
}
.about-img {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%);
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 72px;
}
.about-text p { margin-bottom: 16px; color: #444; }
.about-link {
  display: inline-block;
  color: var(--orange);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--orange);
  padding-bottom: 2px;
}

/* ===== NEWS ===== */
.news-section { background: var(--gray-light); }
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 24px;
  transition: box-shadow 0.2s;
}
.news-card:hover { box-shadow: var(--shadow); }
.news-date {
  font-size: 12px;
  color: var(--gray-dark);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.news-cat {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-size: 10px;
  padding: 2px 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.news-card h3 {
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.4;
}
.news-card p { font-size: 14px; color: #555; line-height: 1.6; }

/* ===== ECO SECTION ===== */
.eco-section {
  background: var(--navy);
  color: var(--white);
}
.eco-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.eco-section .section-title { color: var(--white); }
.eco-section .section-title::after { background: var(--orange); }
.eco-section p { color: rgba(255,255,255,0.8); margin-bottom: 20px; }
.eco-img {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.2);
  font-size: 72px;
}
.btn-white {
  display: inline-block;
  background: var(--white);
  color: var(--navy);
  padding: 11px 26px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s;
}
.btn-white:hover { background: var(--orange); color: var(--white); }

/* ===== FOOTER ===== */
footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding: 40px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
}
.footer-logo { color: var(--white); font-size: 15px; font-weight: 700; margin-bottom: 12px; }
footer p, footer address { font-size: 13px; font-style: normal; line-height: 1.7; }
footer h4 {
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}
.footer-nav li { list-style: none; margin-bottom: 6px; }
.footer-nav li a { color: rgba(255,255,255,0.65); font-size: 13px; }
.footer-nav li a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 14px 0;
  font-size: 12px;
  text-align: center;
}

/* ===== ABOUT PAGE ===== */
.timeline { border-left: 3px solid var(--navy); padding-left: 28px; margin: 32px 0; }
.timeline-item { margin-bottom: 24px; position: relative; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -36px; top: 5px;
  width: 12px; height: 12px;
  background: var(--orange);
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--navy);
}
.timeline-item strong { color: var(--navy); font-size: 15px; display: block; }
.timeline-item span { color: #555; font-size: 14px; }

.mgmt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 32px 0;
}
.mgmt-card {
  border: 1px solid var(--border);
  padding: 28px 20px;
  text-align: center;
}
.mgmt-avatar {
  width: 80px; height: 80px;
  background: var(--navy);
  border-radius: 50%;
  margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 28px; font-weight: 700;
}
.mgmt-role { color: var(--orange); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.mgmt-name { color: var(--navy); font-size: 15px; font-weight: 700; }

.awards-list { list-style: none; margin: 24px 0; }
.awards-list li {
  padding: 14px 14px 14px 48px;
  border-left: 3px solid var(--orange);
  background: var(--gray-light);
  margin-bottom: 10px;
  position: relative;
  font-size: 14px;
}
.awards-list li::before { content: '★'; position: absolute; left: 14px; color: var(--orange); font-size: 18px; }

/* ===== PRODUCTION PAGE ===== */
.prod-method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 32px 0;
}
.info-box {
  background: var(--gray-light);
  border-left: 4px solid var(--navy);
  padding: 24px;
}
.info-box h3 { color: var(--navy); font-size: 17px; margin-bottom: 12px; }
.info-box p, .info-box li { color: #444; font-size: 14px; line-height: 1.7; }
.info-box ul { padding-left: 18px; }

.coal-grades {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0;
}
.coal-card {
  background: var(--white);
  border: 2px solid var(--navy);
  padding: 24px;
}
.coal-card .grade-badge {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  width: 48px; height: 48px;
  line-height: 48px;
  text-align: center;
  margin-bottom: 12px;
}
.coal-card h3 { color: var(--navy); margin-bottom: 8px; }
.coal-card p { color: #555; font-size: 14px; }

.vol-table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.vol-table th {
  background: var(--navy);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.vol-table td { padding: 11px 16px; border-bottom: 1px solid var(--border); font-size: 14px; }
.vol-table tr:hover td { background: var(--gray-light); }
.vol-table td:last-child { font-weight: 700; color: var(--navy); }

.equip-list { list-style: none; margin: 24px 0; }
.equip-list li {
  padding: 13px 16px 13px 44px;
  border-bottom: 1px solid var(--border);
  position: relative;
  font-size: 14px;
}
.equip-list li::before {
  content: '▶';
  position: absolute; left: 16px;
  color: var(--orange);
  font-size: 10px;
  top: 16px;
}

/* ===== ECOLOGY PAGE ===== */
.eco-program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 32px 0;
}
.eco-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 24px;
}
.eco-card-icon {
  width: 48px; height: 48px;
  background: var(--orange);
  color: var(--white);
  font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.eco-card h3 { color: var(--navy); font-size: 16px; margin-bottom: 10px; }
.eco-card p { font-size: 14px; color: #555; }

.invest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.invest-item {
  background: var(--navy);
  color: var(--white);
  padding: 20px 16px;
  text-align: center;
}
.invest-num { font-size: 26px; font-weight: 700; color: var(--orange); margin-bottom: 6px; }
.invest-label { font-size: 12px; opacity: 0.8; }

.safety-list { list-style: none; margin: 20px 0; }
.safety-list li {
  padding: 14px 14px 14px 48px;
  background: var(--gray-light);
  border-left: 3px solid var(--navy);
  margin-bottom: 10px;
  position: relative;
  font-size: 14px;
}
.safety-list li::before {
  content: '✓';
  position: absolute; left: 14px;
  color: var(--orange);
  font-weight: 700;
  font-size: 16px;
}

/* ===== NEWS PAGE ===== */
.news-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.filter-btn {
  background: var(--white);
  border: 2px solid var(--navy);
  color: var(--navy);
  padding: 7px 18px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover, .filter-btn.active { background: var(--navy); color: var(--white); }
.news-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card-full {
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.news-card-full:hover { box-shadow: var(--shadow); }
.news-img {
  height: 170px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.25); font-size: 48px;
}
.news-body { padding: 20px; }

/* ===== CONTACTS PAGE ===== */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-info-block { margin-bottom: 24px; }
.contact-info-block h4 {
  font-size: 13px;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.contact-info-block p { font-size: 15px; color: var(--text); }
.map-placeholder {
  background: var(--gray-light);
  border: 1px solid var(--border);
  height: 300px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-dark); font-size: 14px; margin-bottom: 24px;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid var(--border);
  padding: 11px 14px;
  font-size: 14px;
  font-family: inherit;
  margin-bottom: 14px;
  background: var(--gray-light);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--navy); background: var(--white); }
.contact-form textarea { resize: vertical; min-height: 120px; }

/* ===== CAREER PAGE ===== */
.vacancies-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0;
}
.vacancy-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 24px;
  transition: box-shadow 0.2s;
}
.vacancy-card:hover { box-shadow: var(--shadow); }
.vac-dept {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--orange);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.vac-title { font-size: 17px; color: var(--navy); font-weight: 700; margin-bottom: 8px; }
.vac-salary { font-size: 14px; color: var(--gray-dark); margin-bottom: 12px; }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.benefit-item {
  background: var(--gray-light);
  border-left: 3px solid var(--orange);
  padding: 16px;
  font-size: 14px;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  background: var(--gray-light);
  padding: 10px 0;
  font-size: 13px;
  color: var(--gray-dark);
}
.breadcrumb a { color: var(--gray-dark); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { margin: 0 6px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .prod-method-grid { grid-template-columns: 1fr; }
  .contacts-grid { grid-template-columns: 1fr; }
  .news-full-grid { grid-template-columns: 1fr 1fr; }
  .invest-grid { grid-template-columns: 1fr 1fr; }
  .mgmt-grid { grid-template-columns: 1fr 1fr; }
  .eco-program-grid { grid-template-columns: 1fr 1fr; }
  .vacancies-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .header-inner { flex-wrap: wrap; }
  nav#main-nav { display: none; width: 100%; }
  nav#main-nav.open { display: block; }
  nav#main-nav ul { flex-direction: column; padding: 8px 0; }
  #burger { display: flex; }
  .hero h1 { font-size: 26px; }
  .news-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .eco-grid { grid-template-columns: 1fr; }
  .coal-grades { grid-template-columns: 1fr; }
  .mgmt-grid { grid-template-columns: 1fr; }
  .eco-program-grid { grid-template-columns: 1fr; }
  .news-full-grid { grid-template-columns: 1fr; }
  .invest-grid { grid-template-columns: 1fr 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 24px; }
}
