/* Vacancy Page Styles - Inspired by Red Collar Design */

/* Base styles */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  overflow-x: hidden;
  max-width: 100%;
}

/* Prevent horizontal scroll */
html {
  overflow-x: hidden;
}

/* Ensure all elements respect container width */
img, video, iframe {
  max-width: 100%;
  height: auto;
}

/* Container */
.vacancy-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0px;
  width: 100%;
  box-sizing: border-box;
}

/* Hero Section - новый дизайн */
.vacancy-hero {
  background: transparent;
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 40px 20px;
  margin-top: 4rem;
}

.vacancy-hero::before {
  display: none;
}

.vacancy-hero-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  position: relative;
  height: 50vh;
  min-height: 380px;
  padding: 0 60px 0 80px;
}

.vacancy-content {
  flex: 1;
  align-self: flex-end;
  margin-left: 0;
  z-index: 2;
  position: relative;
  padding-bottom: 0;
}

.vacancy-title {
  font-size: 8rem;
  font-weight: 900;
  color: #1a1a1a;
  margin: 0;
  line-height: 0.85;
  letter-spacing: -0.03em;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.vacancy-subtitle {
  font-size: 1.4rem;
  color: #1a1a1a;
  margin: 32px 0 0 0;
  font-weight: 400;
  line-height: 1.2;
  max-width: 500px;
  white-space: nowrap;
}

.vacancy-cta {
  align-self: flex-end;
  justify-self: end;
  z-index: 2;
  position: relative;
}

.apply-btn {
  background: #1a1a1a;
  border: none;
  border-radius: 50px;
  padding: 18px 36px;
  font-size: 1.2rem;
  font-weight: 500;
  color: white;
  text-transform: lowercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.apply-btn:hover {
  background: #333;
  transform: translateY(-2px);
}

.vacancy-hero-lightning {
  position: absolute;
  top: -20px;
  right: 150px;
  z-index: 1;
  opacity: 1;
  pointer-events: none; /* Полностью отключаем взаимодействие */
}

/* Анимация только для десктопной версии */
@media (min-width: 1200px) {
  .vacancy-hero-lightning {
    animation: pulse 4s ease-in-out infinite;
  }
}

.vacancy-hero-lightning img {
  width: 320px;
  height: auto;
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
  pointer-events: none !important; /* Отключаем все события */
  user-select: none; /* Запрещаем выделение */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* Адаптивность молнии для больших экранов */
@media (min-width: 1500px) {
  .vacancy-hero-lightning {
    right: 270px;
  }
  
  .vacancy-hero-lightning img {
    width: 360px;
  }
}

@media (max-width: 1400px) {
  .vacancy-hero-lightning {
    right: 120px;
  }
  
  .vacancy-hero-lightning img {
    width: 300px;
  }
}

@media (max-width: 1200px) {
  .vacancy-hero-lightning {
    top: -15px;
    right: 100px;
    opacity: 0.25;
  }
  
  .vacancy-hero-lightning img {
    width: 280px;
  }
}

@media (max-width: 1000px) {
  .vacancy-hero-lightning {
    top: -10px;
    right: 80px;
    opacity: 0.22;
  }
  
  .vacancy-hero-lightning img {
    width: 240px;
  }
}

@media (max-width: 900px) and (min-width: 601px) {
  .vacancy-hero-lightning {
    top: -5px;
    right: 60px;
    opacity: 0.2;
  }
  
  .vacancy-hero-lightning img {
    width: 200px;
  }
}

@media (max-width: 600px) {
  .vacancy-hero-lightning {
    top: 0px;
    right: 40px;
    opacity: 0.18;
  }
  
  .vacancy-hero-lightning img {
    width: 160px;
  }
}

@media (max-width: 480px) {
  .vacancy-hero-lightning {
    top: 5px;
    right: 20px;
    opacity: 0.15;
  }
  
  .vacancy-hero-lightning img {
    width: 130px;
  }
}

@media (max-width: 320px) {
  .vacancy-hero-lightning {
    top: 10px;
    right: 10px;
    opacity: 0.12;
  }
  
  .vacancy-hero-lightning img {
    width: 100px;
  }
}

/* Переопределяем любые focus стили для молнии */
.vacancy-hero-lightning,
.vacancy-hero-lightning *,
.vacancy-hero-lightning img,
.vacancy-hero-lightning img:focus,
.vacancy-hero-lightning img:hover,
.vacancy-hero-lightning img:active,
.vacancy-hero-lightning img:visited {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.85;
    filter: brightness(1);
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
    filter: brightness(1.1);
  }
}

/* Стили для больших экранов */
@media (min-width: 1500px) {
  .vacancy-hero-container {
    padding: 0 120px 0 140px;
  }

  .vacancy-title {
    font-size: 9rem;
  }

  .apply-btn {
    padding: 22px 44px;
    font-size: 1.4rem;
  }
}

/* Responsive для hero */
@media (max-width: 1200px) {
  .vacancy-title {
    font-size: 6rem;
  }

  .apply-btn {
    padding: 14px 28px;
    font-size: 1.1rem;
  }

  .vacancy-hero-container {
    padding: 0 40px 0 60px;
  }
}

@media (max-width: 900px) {
  .vacancy-hero-container {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 20px;
    height: auto;
    min-height: 200px;
    padding: 0 32px 0 52px;
  }

  .vacancy-content {
    width: 100%;
    align-self: flex-start;
    padding-bottom: 30px;
  }

  .vacancy-cta {
    align-self: flex-start;
    width: auto;
  }

  .vacancy-title {
    font-size: 4rem;
    text-align: left;
  }

  .vacancy-subtitle {
    max-width: none;
    margin: 24px 0 0 0;
    font-size: 1.1rem;
    text-align: left;
  }

  .apply-btn {
    padding: 14px 28px;
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .vacancy-title {
    font-size: 3rem;
    text-align: left;
    color: #1a1a1a;
  }

  .vacancy-subtitle {
    font-size: 1rem;
    text-align: left;
    color: #1a1a1a;
  }

  .vacancy-hero {
    min-height: 35vh;
    padding: 15px 16px;
    margin-top: 6rem;
  }

  .vacancy-hero-container {
    padding: 0 16px 0 36px;
    min-height: 180px;
    text-align: left;
    gap: 15px;
  }

  .vacancy-content {
    width: 100%;
  }

  .vacancy-cta {
    justify-self: start;
    align-self: end;
  }

  .apply-btn {
    padding: 12px 24px;
    font-size: 0.9rem;
    background: #1a1a1a;
    color: white;
    border: none;
  }
}

/* About Section */
.vacancy-about {
  padding: 60px 0;
  background: white;
  margin: 0 120px 120px 120px;
}

.vacancy-about .vacancy-container {
  margin-left: 260px; /* 220px ширина label + 40px gap */
}

.section-title {
  font-size: 2.5rem;
  font-weight: 300;
  color: #1a1a1a;
  margin: 0 0 60px 0;
  letter-spacing: -0.01em;
}

.about-content {
  max-width: 800px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
}

.about-content p {
  margin: 0 0 24px 0;
}

.about-content strong {
  color: #1a1a1a;
  font-weight: 600;
}

/* Requirements Section */
.vacancy-requirements {
  padding: 60px 0;
  background: transparent;
  margin: 0 120px 120px 120px;
}

.vacancy-requirements .vacancy-container {
  margin-left: 260px; /* 220px ширина label + 40px gap */
}

.requirements-list {
  max-width: 900px;
}

.requirement-item {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
  margin: 0 0 32px 0;
  padding-left: 0;
  position: relative;
}

.requirement-item::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 12px;
  width: 4px;
  height: 4px;
  background: #FF7A00;
  border-radius: 50%;
}

/* Application Section */
.vacancy-application {
  padding: 60px 0;
  margin: 0 120px 120px 120px;
}

.vacancy-application .vacancy-container {
  margin-left: 260px; /* 220px ширина label + 40px gap */
}

.application-title {
  font-size: 4rem;
  font-weight: 900;
  color: #1a1a1a;
  margin: 0 0 5 0;
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-align: left;
}

.application-form {
  max-width: 800px;
  width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  margin-bottom: 32px;
}

.form-group label {
  font-size: 1rem;
  color: #666;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  border: none;
  border-bottom: 2px solid #e0e0e0;
  background: transparent;
  padding: 12px 0;
  font-size: 1.1rem;
  color: #1a1a1a;
  transition: border-color 0.3s ease;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-bottom-color: #FF7A00;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-actions {
  margin: 32px 0;
}

.attach-resume-btn {
  background: transparent;
  border: 2px solid #e0e0e0;
  border-radius: 50px;
  padding: 12px 32px;
  font-size: 1rem;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
}

.attach-resume-btn:hover {
  border-color: #FF7A00;
  color: #FF7A00;
}

.submit-btn {
  background: transparent;
  color: #1a1a1a;
  border: 2px solid #1a1a1a;
  border-radius: 50px;
  padding: 16px 48px;
  font-size: 1.2rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 32px;
  box-sizing: border-box;
}

.submit-btn:hover {
  background: #1a1a1a;
  color: white;
  transform: none;
}

/* Application Visual */
.application-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.hand-illustration {
  opacity: 0.3;
  animation: float 6s ease-in-out infinite;
  max-width: 100%;
  overflow: hidden;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .vacancy-application .vacancy-container {
    gap: 60px;
  }

  .application-form {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .vacancy-title {
    font-size: 3.5rem;
  }

  .application-title {
    font-size: 3rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .vacancy-about,
  .vacancy-requirements,
  .vacancy-application {
    padding: 60px 0;
  }

  .vacancy-container {
    width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 480px) {
  .vacancy-title {
    font-size: 2.5rem;
  }

  .vacancy-subtitle {
    white-space: normal;
    line-height: 1.4;
  }

  .application-title {
    font-size: 2.2rem;
  }

  .vacancy-container {
    width: 100%;
    box-sizing: border-box;
  }

  .vacancy-hero {
    min-height: 30vh;
    margin-top: 6rem;
  }

  .about-content,
  .requirement-item {
    font-size: 1rem;
  }
}

/* Additional styling for better visual hierarchy */
.requirement-item:last-child {
  margin-bottom: 0;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aaa;
  font-style: italic;
}

/* Extended Form Styles */
.form-section {
  margin-bottom: 8px; /* Уменьшаем с 16px */
  padding: 0;
  background: transparent;
  border-radius: 0;
  border: none;
  overflow: hidden;
}

.form-section-header {
  padding: 16px 0; /* Уменьшаем с 24px */
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border-bottom: none;
  transition: all 0.2s ease;
}

.form-section-header:hover {
  background: transparent;
}

.form-section.active .form-section-header {
  background: transparent;
  border-bottom: none;
}

.form-section-title {
  font-size: 1.3rem;
  font-weight: 400;
  color: #1a1a1a;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-hint {
  font-size: 0.8rem;
  opacity: 0.8;
  font-weight: 400;
  margin-left: 8px;
  color: #666;
}

.toggle-icon {
  font-size: 1.5rem;
  font-weight: 300;
  transition: all 0.2s ease;
  color: #1a1a1a;
}

/* Убираю поворот, просто меняем текст в JavaScript */
.form-section.active .toggle-icon {
  color: #FF7A00;
}

.form-section-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.form-section.active .form-section-content {
  max-height: 1000px;
  padding: 0 0 16px 0; /* Уменьшаем с 24px */
}

/* Form Elements for accordion */
.form-row.compact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 36px;
}

.form-section .form-group {
  margin-bottom: 36px;
}

.form-section .form-group:last-child {
  margin-bottom: 0;
}

.form-section .form-group input,
.form-section .form-group textarea,
.form-section .form-group select {
  border: none;
  border-bottom: 1px solid #1a1a1a;
  border-radius: 0;
  padding: 20px 0;
  font-size: 1.1rem;
  color: #1a1a1a;
  transition: all 0.2s ease;
  font-family: inherit;
  background: transparent;
  width: 100%;
  box-sizing: border-box;
  font-weight: 300;
}

.form-section .form-group select {
  padding-right: 20px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23000" d="M2 0L0 2h4zm0 5L0 3h4z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 0 center;
  background-size: 12px;
}

.form-section .form-group input:focus,
.form-section .form-group textarea:focus,
.form-section .form-group select:focus {
  outline: none;
  border-bottom-color: #1a1a1a;
  box-shadow: none;
}

.form-section .form-group input::placeholder,
.form-section .form-group textarea::placeholder,
.form-section .form-group select::placeholder {
  color: #1a1a1a;
  font-style: normal;
  font-weight: 300;
}

/* Compact Items */
.compact-item {
  background: transparent;
  border-radius: 0;
  padding: 20px 0;
  margin-bottom: 16px;
  border: none;
  border-bottom: 1px solid #e0e0e0;
}

.compact-item:last-child {
  margin-bottom: 0;
}

/* Checkboxes */
.checkbox-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 0.95rem;
  color: #495057;
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkbox-custom {
  width: 20px;
  height: 20px;
  border: 2px solid #e0e0e0;
  border-radius: 4px;
  margin-right: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  background: white;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
  background: #FF9B4A;
  border-color: #FF9B4A;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
  content: '✓';
  color: white;
  font-size: 12px;
  font-weight: bold;
}

/* Buttons */
.add-btn {
  background: transparent;
  border: 2px dashed #666;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 0.9rem;
  color: #1a1a1a;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.add-btn:hover {
  background: rgba(26, 26, 26, 0.15);
  border-color: #1a1a1a;
  color: #000;
}

.add-btn span {
  font-size: 1.2rem;
}

.remove-btn {
  background: #f44336;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.8rem;
  cursor: pointer;
  position: absolute;
  top: 12px;
  right: 12px;
  transition: all 0.2s ease;
}

.remove-btn:hover {
  background: #d32f2f;
}

/* File Upload */
.file-upload-area {
  margin-top: 16px;
}

.file-upload-btn {
  background: transparent;
  border: 2px dashed #e8e8e8;
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 0.9rem;
  color: #666;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.file-upload-btn:hover {
  border-color: #1a1a1a;
  color: #1a1a1a;
  background: rgba(26, 26, 26, 0.08);
}

.upload-icon {
  font-size: 1.1rem;
}

.file-info {
  margin-top: 8px;
  font-size: 0.85rem;
  color: #28a745;
}

/* Three column layout for some form rows */
.form-row.three-cols {
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}

/* Loading states */
.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Enhanced responsive design */
@media (max-width: 768px) {
  .form-section {
    padding: 0px;
    margin-bottom: 32px;
  }

  .form-section-title {
    font-size: 1.5rem;
    margin-bottom: 24px;
  }

  .form-row.three-cols {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .experience-item,
  .education-item {
    padding: 16px;
    margin-bottom: 24px;
  }

  .remove-btn {
    position: static;
    margin-top: 16px;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .form-section {
    border-radius: 12px;
  }

  .form-section-title {
    font-size: 1.3rem;
  }

  .add-experience-btn,
  .add-education-btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
}

/* Who Section */
.vacancy-who {
  position: relative;
  padding: 60px 0;
  background: #f5f5f5;
  background-image: url('data:image/svg+xml;utf8,<svg width="240" height="48" xmlns="http://www.w3.org/2000/svg"><g fill="none" stroke="white" stroke-width="2"><path d="M22 23l10-4 10 4-10 4-10-4z"/><path d="M32 27v7"/><path d="M27 30s2 2 5 2 5-2 5-2"/><rect x="50" y="20" width="16" height="20" rx="2"/><path d="M58 24h4"/><path d="M58 28h4"/><path d="M80 24v8"/><path d="M76 28h8"/><path d="M80 20v2"/><path d="M80 34v2"/><rect x="100" y="20" width="16" height="20" rx="2"/><path d="M108 24h4"/><path d="M108 28h4"/><rect x="130" y="24" width="20" height="12" rx="2"/><path d="M130 28h20"/><rect x="160" y="32" width="4" height="8"/><rect x="168" y="28" width="4" height="12"/><rect x="176" y="24" width="4" height="16"/><circle cx="200" cy="28" r="8"/><path d="M200 28v-8"/><path d="M200 28l6 6"/></g></svg>');
  background-size: 240px 48px;
  background-repeat: repeat;
  overflow: hidden;
  margin: 0 120px 120px 120px;
}

.vacancy-who .vacancy-container {
  position: relative;
  z-index: 1;
  margin-left: 260px; /* 220px ширина label + 40px gap */
  padding: 0;
}

.vacancy-who .section-title {
  margin-bottom: 32px;
}

.who-description {
  font-size: 1.15rem;
  color: #333;
  margin-bottom: 0;
  max-width: 700px;
}

.text-with-highlight {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.text-part {
  flex: 1;
  min-width: 0;
}

.who-highlight {
  background: #111;
  color: #fff;
  padding: 4px 12px;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  display: inline-block;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .text-with-highlight {
    flex-direction: column;
    gap: 4px;
  }

  .text-part {
    flex: none;
  }

  .who-highlight {
    align-self: flex-start;
    margin-top: 8px;
  }
}
@media (max-width: 700px) {
  .vacancy-who .vacancy-container {
    padding: 32px 8px;
  }
}

/* Offer Section */
.vacancy-offer {
  background: #fff;
  padding: 60px 0;
  margin: 0 120px 120px 120px;
}

.vacancy-offer .vacancy-container {
  margin-left: 260px; /* 220px ширина label + 40px gap */
  padding: 0;
}

.vacancy-offer .section-title {
  margin-bottom: 32px;
}

.offer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 700px;
}

.offer-list li {
  font-size: 1.15rem;
  color: #232323;
  background: transparent;
  border-radius: 0;
  margin-bottom: 18px;
  padding: 18px 0;
  box-shadow: none;
  position: relative;
  border-bottom: 1px solid #e0e0e0;
}

.offer-list li:last-child {
  margin-bottom: 0;
}

.offer-list li::before {
  content: '✔';
  color: #FF7A00;
  font-size: 1.1em;
  margin-right: 16px;
  position: relative;
  top: 1px;
}
@media (max-width: 700px) {
  .offer-list li {
    font-size: 1rem;
    padding: 14px 14px;
  }
}

.vacancy-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0 0;
  max-width: 700px;
}

.vacancy-list li {
  font-size: 1.1rem;
  color: #232323;
  background: transparent;
  border-radius: 0;
  margin-bottom: 16px;
  padding: 16px 0;
  box-shadow: none;
  position: relative;
  border-bottom: 1px solid #e0e0e0;
}

.vacancy-list li:last-child {
  margin-bottom: 0;
}

.vacancy-list li::before {
  content: '•';
  color: #FF7A00;
  font-size: 1.2em;
  margin-right: 14px;
  position: relative;
  top: 1px;
}
@media (max-width: 700px) {
  .vacancy-list li {
    font-size: 1rem;
    padding: 12px 10px;
  }
}

.vacancy-section {
  /* max-width: 1100px; */
  max-width: 100%;
  margin: 0 120px 120px 120px;
  position: relative;
  padding-top: 60px;
}

.vacancy-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 60px;
  position: relative;
}

.vacancy-section-label {
  min-width: 180px;
  text-align: left;
  position: static;
  font-size: 1.1rem;
  font-weight: 600;
  color: #111;
  letter-spacing: 0.01em;
  text-transform: lowercase;
  margin-right: 32px;
  flex-shrink: 0;
}

.vacancy-section-title {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  text-align: left;
  margin: 0;
}

.vacancy-section-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.vacancy-section-list li {
  display: flex;
  align-items: center;
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 40px;
  color: #111;
  word-break: break-word;
  hyphens: auto;
  line-height: 1.4;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.vacancy-section-list li::before {
  content: '';
  display: inline-block;
  width: 60px;
  height: 2px;
  background: #111;
  margin-right: 32px;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .vacancy-section-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 32px;
  }
  .vacancy-section-label {
    margin-right: 0;
    min-width: 0;
  }
  .vacancy-section-title {
    font-size: 2.2rem;
  }
  .vacancy-section-list li {
    font-size: 1.1rem;
    margin-bottom: 24px;
  }
  .vacancy-section-list li::before {
    width: 32px;
    margin-right: 16px;
  }
  .vacancy-section {
    padding-top: 40px;
    margin-bottom: 60px;
  }
}

.vacancy-section-table {
  width: 100%;
  max-width: 100%;
  margin: 0 auto 30px auto;
  border-collapse: separate;
  border-spacing: 0;
  background: transparent;
}

.vacancy-section-label-td {
  width: 220px;
  vertical-align: center;
  text-align: left;
}

.vacancy-section-title-td {
  text-align: left;
  padding-bottom: 0;
}

.vacancy-section-list-td {
  vertical-align: top;
  text-align: left;
  padding-top: 40px;
}

.vacancy-section-label {
  font-size: 1.3rem;
  font-weight: 600;
  color: #111;
  letter-spacing: 0.01em;
  text-transform: lowercase;
}

.vacancy-section-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  text-align: left;
  margin: 0;
  padding: 0;
}

.vacancy-section-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 900px;
}

.vacancy-section-list li {
  display: flex;
  align-items: center;
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 40px;
  color: #111;
}

.vacancy-section-list li::before {
  content: '';
  display: inline-block;
  width: 60px;
  height: 2px;
  background: #111;
  margin-right: 32px;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .vacancy-section-table {
    max-width: 100%;
    margin-bottom: 60px;
  }
  .vacancy-section-label-td {
    width: 100%;
    padding-right: 0;
    padding-top: 0;
    text-align: left;
    vertical-align: center;
  }
  .vacancy-section-title-td {
    padding-bottom: 0;
  }
  .vacancy-section-list-td {
    padding-top: 32px;
  }
  .vacancy-section-title {
    font-size: 2.2rem;
  }
  .vacancy-section-list li {
    font-size: 1.1rem;
    margin-bottom: 24px;
  }
  .vacancy-section-list li::before {
    width: 32px;
    margin-right: 16px;
  }
}

/* Fittin Section */
.fittin-section {
  padding: 60px 0px;
  margin: 0 120px 120px 120px;
  margin-left: 380px; /* 120px + 260px выравнивание */
  margin-right: 120px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 340px;
  max-width: none;
}

.fittin-logo {
  height: 3.5rem;
  width: auto;
  display: block;
  object-fit: contain;
}

.fittin-section .vacancy-section-list {
  font-size: 1.5rem;
  color: #232323;
  text-align: center;
  max-width: 800px;
  margin: 0 0;
  line-height: 1.6;
  text-align: left;
}

@media (max-width: 900px) {
  .fittin-section {
    padding: 32px 8px;
    min-height: 200px;
  }
}

/* Method Selector Styles - Tab Design */
.application-method-selector {
  display: flex;
  gap: 0;
  margin-bottom: 40px;
  border-bottom: 1px solid #e0e0e0;
}

.method-option {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  background: transparent;
  position: relative;
  flex: 1;
  border-bottom: 1px solid transparent;
}

.method-option:hover {
  background: transparent;
}

.method-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.method-option:has(input[type="radio"]:checked) {
  border-bottom-color: #FF9B4A !important;
  background: transparent;
}

.method-option input[type="radio"]:checked ~ .method-text {
  color: #FF9B4A !important;
  opacity: 1;
}

.method-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.method-text strong {
  font-size: 1.3rem;
  color: inherit;
  font-weight: 500;
  transition: color 0.2s ease;
}

.method-text small {
  display: none; /* Скрываем описание */
}

/* HH Method Section */
.hh-method {
  display: none;
}

.hh-method.active {
  display: block;
}

/* Form Group Small Text */
.form-group small {
  font-size: 0.85rem;
  color: #999;
  margin-top: 4px;
  display: block;
  font-style: italic;
}

/* Responsive Method Selector */
@media (max-width: 768px) {
  .application-method-selector {
    margin-bottom: 32px;
  }

  .method-option {
    padding: 12px 16px;
  }

  .method-text strong {
    font-size: 1.2rem;
  }
}

/* .vacancy-application .method-text strong {
  color: #000 !important;
}  */

@media (max-width: 1000px) {
  .vacancy-about .vacancy-container,
  .vacancy-requirements .vacancy-container,
  .vacancy-application .vacancy-container,
  .vacancy-who .vacancy-container,
  .vacancy-offer .vacancy-container {
    margin-left: 0; /* Убираем левый отступ на мобильных */
  }

  .vacancy-about,
  .vacancy-requirements,
  .vacancy-application,
  .vacancy-who,
  .vacancy-offer,
  .fittin-section {
    padding-top: 40px;
    margin: 0 32px 60px 32px;
  }

  .vacancy-section-table {
    max-width: 100%;
    margin-bottom: 60px;
  }
  .vacancy-section-label-td {
    width: 25%; /* Уменьшаем с 100% до 25% */
    padding-right: 16px; /* Добавляем небольшой отступ */
    padding-top: 8px; /* Добавляем отступ сверху для выравнивания */
    text-align: left;
    vertical-align: top;
  }

  .vacancy-section-label {
    font-size: 1.1rem; /* Увеличиваем с 0.9rem до 1.1rem */
    line-height: 1.3;
  }
  .vacancy-section-title-td {
    padding-bottom: 0;
    width: 75%; /* Увеличиваем до 75% */
  }
  .vacancy-section-list-td {
    padding-top: 32px;
    width: 75%; /* Увеличиваем до 75% */
  }
  .vacancy-section-title {
    font-size: 2.2rem;
  }
  .vacancy-section-list li {
    font-size: 1.1rem;
    margin-bottom: 24px;
    word-break: break-word;
    hyphens: auto;
    line-height: 1.5;
    overflow-wrap: break-word;
  }
  .vacancy-section-list li::before {
    width: 32px;
    margin-right: 16px;
  }
  .vacancy-section {
    padding-top: 40px;
    margin: 0 32px 60px 32px;
  }
}

@media (max-width: 768px) {
  .form-section {
    margin-bottom: 4px; /* Еще меньше на мобильных */
  }

  .form-section-header {
    padding: 12px 0; /* Уменьшаем еще больше на мобильных */
  }

  .form-section.active .form-section-content {
    padding: 0 0 12px 0; /* Уменьшаем на мобильных */
  }

  .form-section .form-group {
    margin-bottom: 24px; /* Уменьшаем с 36px */
  }

  .form-row.compact {
    gap: 20px; /* Уменьшаем с 32px */
    margin-bottom: 24px; /* Уменьшаем с 36px */
  }

  .form-section-title {
    font-size: 1.2rem; /* Немного уменьшаем размер заголовков */
  }

  /* Мобильная версия таблицы vacancy-section-table */
  .vacancy-section-table {
    display: block;
    width: 100%;
    margin-bottom: 40px;
  }

  .vacancy-section-table tr {
    display: block;
    width: 100%;
  }

  .vacancy-section-table td {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .vacancy-section-label-td {
    width: 100% !important;
    padding: 0 0 16px 0 !important;
    text-align: left;
    vertical-align: top;
  }

  .vacancy-section-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #111;
    text-transform: lowercase;
    margin: 0;
    padding: 0;
  }

  .vacancy-section-title-td {
    width: 100% !important;
    padding: 0 0 24px 0 !important;
  }

  .vacancy-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    padding: 0;
  }

  .vacancy-section-list-td {
    width: 100% !important;
    padding: 0 !important;
  }

  .vacancy-section-list {
    margin: 0;
    padding: 0;
    max-width: 700px;
  }

  .vacancy-section-list li {
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
  }

  .vacancy-section-list li::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 2px;
    background: #111;
    margin-right: 12px;
    margin-top: 8px;
    flex-shrink: 0;
  }
}

@media (max-width: 550px) {
  .fittin-section .vacancy-section-list {
    font-size: 0.9rem;
    margin-bottom: 14px;
  }
}

@media (max-width: 480px) {
  .vacancy-section-label {
    font-size: 1rem;
  }

  .vacancy-section-title {
    font-size: 1.6rem;
  }

  .vacancy-section-list li {
    font-size: 0.95rem;
    margin-bottom: 16px;
    max-width: 460px;
  }

  .vacancy-section-list li::before {
    width: 16px;
    margin-right: 10px;
    margin-top: 6px;
  }

  .fittin-section .vacancy-section-list {
    font-size: 0.85rem;
    margin-bottom: 13px;
  }
}

@media (max-width: 360px) {
  .vacancy-section-label {
    font-size: 0.95rem;
  }

  .vacancy-section-title {
    font-size: 1.4rem;
  }

  .vacancy-section-list li {
    font-size: 0.9rem;
    margin-bottom: 14px;
  }

  .vacancy-section-list li::before {
    width: 14px;
    margin-right: 8px;
    margin-top: 5px;
  }

  .fittin-section .vacancy-section-list {
    font-size: 0.8rem;
    margin-bottom: 12px;
  }
}
