/* ===== ШАПКА ===== */
.header {
  background: #ffffff;
  padding: 15px 0 10px 0;
  border-bottom: 2px solid #e6e8ec;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

main {
  color: #1f2933;
  margin-top: 20px;
  min-height: calc(100vh - 150px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

main a {
  color: #ff9f1a;
  text-decoration: underline;
  font-weight: 600;
  transition: all 0.3s ease;
}

main a:hover {
  color: #ffc857;
  text-decoration: none;
  background: rgba(255, 159, 26, 0.08);
  padding: 2px 4px;
  border-radius: 3px;
}

main p {
  color: #6b7280;
  font-size: 1.1rem;
  line-height: 1.5;
  max-width: 600px;
  margin: 0 0 15px 0;
}

.logo-container {
  display: flex;
  justify-content: center;
  margin-bottom: 5px;
}

.nav-container {
  text-align: center;
}

.logo-img {
  height: 100px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.logo-link:hover .logo-img,
.logo-link:hover .logo-text {
  transform: scale(1.05);
}

.logo-text {
  font-family: "Outfit", Arial, sans-serif;
  font-weight: 800;
  color: #1f2933;
  font-size: 2.2rem;
  white-space: nowrap;
  line-height: 1;
  transition: transform 0.3s ease;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.nav-link {
  font-family: "Outfit", Arial, sans-serif;
  font-weight: 500;
  color: #6b7280;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 15px;
}

.nav-link:hover {
  color: #ff9f1a;
  background: rgba(255, 159, 26, 0.05);
}

.nav-link.active {
  background: #ff9f1a;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(255, 159, 26, 0.25);
}

body {
  font-family: "Outfit", Arial, sans-serif;
  font-weight: 400;
  margin: 0;
  padding: 100px 0 0 0;
  background: #ffffff;
  color: #1f2933;
}

h1 {
  font-family: "Outfit", Arial, sans-serif;
  font-weight: 700;
  color: #1f2933;
  letter-spacing: -0.02em;
  font-size: 1.8rem;
  margin: 0 0 15px 0;
}

h2 {
  font-family: "Outfit", Arial, sans-serif;
  font-weight: 600;
  color: #1f2933;
  letter-spacing: -0.01em;
  font-size: 1.35rem;
  margin: 0 0 10px 0;
}

h3,
h4,
h5,
h6 {
  font-family: "Outfit", Arial, sans-serif;
  font-weight: 500;
  color: #1f2933;
}

/* ===== КАРТОЧКИ И ПОВЕРХНОСТИ ===== */
.card {
  background: #f4f6f8;
  border: 1px solid #e6e8ec;
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s ease;
}

.card:hover {
  background: #e6e8ec;
  border-color: #ff9f1a;
}

/* ===== КНОПКИ ===== */
.btn-primary {
  background: #ff9f1a;
  color: #ffffff;
  border: none;
  padding: 10px 25px;
  border-radius: 8px;
  font-family: "Outfit", Arial, sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 159, 26, 0.2);
}

.btn-primary:hover {
  background: #ffc857;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 159, 26, 0.3);
}

.btn-secondary {
  background: transparent;
  color: #3b82f6;
  border: 2px solid #3b82f6;
  padding: 8px 20px;
  border-radius: 8px;
  font-family: "Outfit", Arial, sans-serif;
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: #3b82f6;
  color: #ffffff;
}

/* ===== СИСТЕМНЫЕ СООБЩЕНИЯ ===== */
.success {
  color: #22c55e;
  font-weight: 500;
}

.error {
  color: #ef4444;
  font-weight: 500;
}

.info {
  color: #3b82f6;
  font-weight: 500;
}

/* ===== РАЗДЕЛИТЕЛИ ===== */
.divider {
  border: 0;
  height: 2px;
  background: #e6e8ec;
  margin: 15px 0;
}

/* ===== ОСНОВНЫЕ СТИЛИ ДЛЯ КОНТЕНТА ===== */
.content-wrapper {
  max-width: 650px;
  margin: 0 auto;
  text-align: left;
  width: 100%;
}

.intro-text {
  margin-top: 25px;
  font-size: 1.1rem;
  line-height: 1.5;
  color: #6b7280;
}

.section {
  margin: 20px 0;
  text-align: left;
  width: 100%;
}

.section h2 {
  font-family: "Outfit", Arial, sans-serif;
  font-weight: 600;
  font-size: 1.35rem;
  color: #1f2933;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  text-align: left;
}

.process-text {
  font-size: 1.1rem;
  line-height: 1.5;
  color: #6b7280;
  text-align: left;
  margin: 0 0 15px 0;
}

.quote {
  display: inline;
  margin-top: 0;
  font-weight: 400;
  color: #6b7280;
  font-size: 1.1rem;
}

.accent {
  color: #ff9f1a;
  font-weight: 600;
}

.vacancies-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: 0;
  margin: 0;
}

.vacancy-item {
  font-size: 1.1rem;
  line-height: 1.5;
  color: #6b7280;
  margin-bottom: 10px;
  padding-left: 8px;
  border-left: 2px solid transparent;
  transition: all 0.3s ease;
  text-align: left;
  width: 100%;
  box-sizing: border-box;
}

.vacancy-item:hover {
  border-left-color: #ff9f1a;
  padding-left: 12px;
  color: #1f2933;
}

.vacancy-item strong {
  color: #1f2933;
  font-weight: 600;
}

.contacts {
  margin: 25px 0 15px;
  text-align: left;
}

.contacts p {
  font-size: 1.1rem;
  color: #1f2933;
  margin: 8px 0;
  text-align: left;
}

.contacts a {
  color: #ff9f1a;
  text-decoration: none;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.contacts a:hover {
  background: rgba(255, 159, 26, 0.1);
  color: #ffc857;
}

.divider.light {
  opacity: 0.75;
  margin: 15px 0;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 768px) {
  .header {
    padding: 12px 0 8px 0;
  }
  .logo-img {
    height: 80px;
  }
  .logo-text {
    font-size: 1.6rem;
    white-space: normal;
    text-align: center;
  }
  .logo-link {
    flex-direction: column;
    gap: 5px;
  }
  .nav {
    gap: 10px;
    flex-direction: column;
    align-items: center;
  }
  .nav-link {
    padding: 6px 15px;
    font-size: 14px;
  }
  body {
    padding-top: 100px;
  }
  main {
    margin-top: 10px;
  }

  /* Адаптив для контента на 768px */
  .content-wrapper {
    padding: 15px 10px 0 10px;
  }

  .section h2 {
    font-size: 1.35rem;
  }

  .intro-text,
  .process-text,
  .vacancy-item,
  .contacts p,
  .quote {
    font-size: 1.1rem;
  }

  .vacancy-item {
    padding-left: 6px;
  }
}

@media (max-width: 480px) {
  .logo-img {
    height: 60px;
  }
  .logo-text {
    font-size: 1.3rem;
  }
  .nav-link {
    padding: 5px 12px;
    font-size: 13px;
  }
  body {
    padding-top: 100px;
  }
  .btn-primary,
  .btn-secondary {
    padding: 8px 18px;
    font-size: 13px;
  }

  /* Адаптив для контента на 480px */
  .section h2 {
    font-size: 1.35rem;
    gap: 4px;
  }

  .intro-text,
  .process-text,
  .vacancy-item,
  .contacts p,
  .quote {
    font-size: 1.1rem;
  }

  .vacancy-item {
    padding-left: 5px;
  }
}
