/* Reset and Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --orange: #ea580c;
  --orange-hover: #c2410c;
  --text-dark: #1f2937;
  --text-gray: #6b7280;
  --border-gray: #e5e7eb;
  --bg-light: #f9fafb;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background: #fff;
}

a {
  color: var(--orange);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--orange-hover);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  border-bottom: 1px solid var(--border-gray);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--orange);
}

nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
}

nav a {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 15px;
}

nav a:hover {
  color: var(--orange);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-dark);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero p {
  font-size: 20px;
  margin-bottom: 40px;
  opacity: 0.95;
}

.search-box {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 16px 24px;
  font-size: 16px;
  border: none;
  border-radius: 50px;
  outline: none;
}

.search-box input:focus {
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.3);
}

/* Stats */
.stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  padding: 50px 0;
  background: var(--bg-light);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--orange);
}

.stat-label {
  color: var(--text-gray);
  font-size: 14px;
  margin-top: 5px;
}

/* Sections */
section {
  padding: 60px 0;
}

section h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 30px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.card {
  background: white;
  border: 1px solid var(--border-gray);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s;
}

.card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.card-meta {
  display: flex;
  gap: 16px;
  margin: 12px 0;
  font-size: 14px;
  color: var(--text-gray);
}

.rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #fbbf24;
}

.services {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.service-tag {
  background: var(--bg-light);
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 13px;
  color: var(--text-gray);
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background: var(--orange);
  color: white;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn:hover {
  background: var(--orange-hover);
  color: white;
}

.btn-secondary {
  background: white;
  color: var(--orange);
  border: 2px solid var(--orange);
}

.btn-secondary:hover {
  background: var(--orange);
  color: white;
}

/* Company Profile */
.company-header {
  background: var(--bg-light);
  padding: 40px 0;
  border-radius: 12px;
  margin-bottom: 40px;
}

.company-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 20px;
}

.info-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-gray);
}

.info-label {
  font-weight: 600;
  min-width: 140px;
  color: var(--text-gray);
}

/* Vacancies */
.vacancy-card {
  border-left: 4px solid var(--orange);
}

.vacancy-salary {
  font-size: 20px;
  font-weight: 700;
  color: var(--orange);
  margin: 8px 0;
}

/* News */
.news-card {
  display: flex;
  gap: 20px;
}

.news-image {
  width: 200px;
  height: 150px;
  background: var(--bg-light);
  border-radius: 8px;
  flex-shrink: 0;
}

.news-content {
  flex: 1;
}

.news-category {
  display: inline-block;
  background: var(--orange);
  color: white;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
}

.news-date {
  color: var(--text-gray);
  font-size: 14px;
  margin-top: 8px;
}

/* Filters */
.filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.filter-btn {
  padding: 8px 16px;
  background: white;
  border: 1px solid var(--border-gray);
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--orange);
  color: white;
  border-color: var(--orange);
}

/* Price Table */
.price-table {
  background: white;
  border: 1px solid var(--border-gray);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 30px;
}

.price-category {
  background: var(--bg-light);
  padding: 16px 24px;
  font-weight: 700;
  font-size: 18px;
}

.price-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  padding: 16px 24px;
  border-top: 1px solid var(--border-gray);
  align-items: center;
}

.price-row:hover {
  background: var(--bg-light);
}

.price-value {
  font-weight: 600;
  color: var(--orange);
}

/* Footer */
footer {
  background: var(--text-dark);
  color: white;
  padding: 60px 0 20px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 18px;
  margin-bottom: 20px;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 12px;
}

.footer-section a {
  color: rgba(255,255,255,0.8);
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  
  nav {
    display: none;
  }
  
  nav.active {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid var(--border-gray);
    padding: 20px;
  }
  
  nav.active ul {
    flex-direction: column;
    gap: 16px;
  }
  
  .hero h1 {
    font-size: 32px;
  }
  
  .stats {
    flex-direction: column;
    gap: 30px;
  }
  
  .cards-grid {
    grid-template-columns: 1fr;
  }
  
  .company-info {
    grid-template-columns: 1fr;
  }
  
  .news-card {
    flex-direction: column;
  }
  
  .news-image {
    width: 100%;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .price-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* Article Styles */
article {
  max-width: 800px;
  margin: 0 auto;
}

article h1 {
  font-size: 36px;
  margin-bottom: 20px;
}

article h2 {
  font-size: 28px;
  margin: 40px 0 20px;
}

article p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 20px;
}

article ul, article ol {
  margin: 20px 0;
  padding-left: 30px;
}

article li {
  margin-bottom: 12px;
  font-size: 18px;
}

.article-meta {
  display: flex;
  gap: 20px;
  color: var(--text-gray);
  font-size: 14px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-gray);
}

/* Contact */
.contact-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.contact-card {
  background: var(--bg-light);
  padding: 30px;
  border-radius: 12px;
}

.contact-card h3 {
  margin-bottom: 16px;
  font-size: 20px;
}

.contact-card p {
  color: var(--text-gray);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .contact-info {
    grid-template-columns: 1fr;
  }
}
