/* Секція hero */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(to bottom, #ffeb3b, #f5f5f5);
  padding: 2rem 1rem;
  text-align: center;
  min-height: 100vh;
  font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
}

.hero-content {
  max-width: 600px;
}

.hero-bg {
  position: relative;
}

.hero-bg:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: url('../assets/images/picture_hero.png') no-repeat center center;
  background-size: auto 670px;
  z-index: 1;
}

@media (max-width: 768px) {
  .hero-bg:before {
    background: url('../assets/images/picture_hero_mobile.png') no-repeat center -190px;
    background-size: auto 550px;
  }
}

.hero-logos div {
  background: #FFFFFF;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  overflow: hidden;
}

.hero-logos div img {
  display: block;
  width: 100%;
  min-width: 168px;
  min-height: 80px;
  object-fit: contain;
}

@media (max-width: 768px) {

  .hero-logos {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-logos div img {
    width: 100%;
    min-width: 1px;

  }
}

.vacancy-slider {
  background: #f5f5f5;
  color: #000;
  padding: 1rem;
  width: 100%;
  text-align: center;
}

.company-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1rem;
  background: #fff;
}

.company-logos img {
  height: 32px;
  object-fit: contain;
}

/* Mobile optimization */
@media (max-width: 768px) {
  .hero-content {
    align-items: center;
    text-align: center;
    padding: 0 1rem;
  }

  .company-logos {
    justify-content: center;
  }
}


  
.how-it-works {
  background: #f5f5f5;
  padding: 9rem 1.5rem 7rem 1.5rem;
  text-align: center;
  font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
}

.steps {
  max-width: 1068px;
}

.step-card {
  min-height: 360px;
}

.step-card-highlight {
  background: #ffeb3b;
  padding: 3px 9px;
  border-radius: 12px;
}

.how-intro h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #000;
}
.how-intro p {
  font-size: 1rem;
  color: #333;
  max-width: 640px;
  margin: 0 auto 1rem;
}

.how-cta {
  margin-top: 3rem;
}
.how-cta p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}
.cta-button {
  background: #000;
  color: #ffeb3b;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
}
.fade-in {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}
.fade-in.delay-1 { animation-delay: 0.3s; }
.fade-in.delay-2 { animation-delay: 0.6s; }
.fade-in.delay-3 { animation-delay: 0.9s; }
.fade-in.delay-4 { animation-delay: 1.2s; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@media screen and (min-width: 768px) {

  .how-intro h2 {
    font-size: 2.4rem;
  }
}


.testimonials-highlight {
  background: #ffeb3b;
  padding: 3px 9px;
  border-radius: 6px;
  font-weight: 600;
}

.testimonials {
  background: #fff;
  padding: 6rem 1rem;
  font-family: 'Inter', 'Segoe UI', sans-serif;
}

.testimonials-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 3rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  max-width: 1068px;
  margin: 0 auto;
}

.testimonial-card {
  background: #f5f5f5;
  border-radius: 12px;
  padding: 1rem 1rem 1.2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 16px;
}

.testimonial-author {
  color: #666;
  font-size: 0.85rem;
  margin-top: 1rem;
}

.testimonials-cta {
  text-align: center;
  margin-top: 3rem;
}

.testimonials-button {
  background: #000;
  color: #ffeb3b;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
}

.faq-section {
  background: #fff;
  padding: 3rem 1rem 6rem 1rem;
  font-family: 'Inter', 'Segoe UI', sans-serif;
}
.faq-section h2 {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #000;
}
.accordion {
  max-width: 800px;
  margin: 0 auto;
}
.accordion-item {
  border-bottom: 1px solid #ddd;
}
.question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.09rem 0;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
}
.question::after {
  content: '+';
  position: absolute;
  right: 0;
  font-size: 1.2rem;
}
.question.active::after {
  content: '–';
}
.answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 0.95rem;
  color: #444;
  padding: 0 0;
}
.answer.open {
  max-height: 500px;
  padding: 1rem 0;
}
.cta-button {
  background: #000;
  color: #ffeb3b;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease;
}
.cta-button:hover {
  transform: scale(1.05);
}

.how-auto-apply-works {
  max-width: 1154px;
}

.how-auto-apply-works-steps {
  position: relative;
}

.how-auto-apply-works-steps:before {
  content: '';
  position: absolute;
  top: 32px;
  left: 0;
  right: 0;
  width: 80%;
  height: 5px;
  display: block;
  background: url('data:image/svg+xml,<svg width="233" height="2" viewBox="0 0 233 2" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0 0.999861L233 0.999639" stroke="%23FCD34D" stroke-width="2" stroke-dasharray="30 30"/></svg>') repeat-x;
}



.how-auto-apply-works-step {
  position: relative;
  z-index: 2;
  
}



.how-auto-apply-works-step--number {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #FCD34D;
  color: #000;
  font-size: 24px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.how-auto-apply-works-step--number::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 5px solid #fff;
}


@media screen and (max-width: 768px) {


  .how-auto-apply-works-step {
    padding-left: 90px;
  }

  .how-auto-apply-works-step--number {
    position: absolute;
    left: 0;
  }


  .how-auto-apply-works-steps:before {
    top: 0;
    height: 100%;
    width: 3px;
    left: 34px;
    background: #FCD34D;
  }


  .how-auto-apply-works-step:last-child .how-auto-apply-works-step--number::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 50px;
    background: #fff;
  }


 
}

.social-proof {
  background: #fff;
  padding: 1.5rem 1.5rem;
  text-align: center;
  font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
}
.proof-intro h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #000;
  max-width: 640px;
  margin: 0 auto 2rem;
  margin-bottom: 50px;
}
.proof-stats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2rem;
}
.stat-card {
  background: #f5f5f5;
  padding: 2rem 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.stat-number {
  font-size: 2rem;
  font-weight: 900;
  color: #000;
  background-color: #ffeb3b;
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}
.stat-card p {
  font-size: 1rem;
  color: #333;
  margin: 0;
}
.proof-quote p {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 0.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.cta-button {
  background: #000;
  color: #ffeb3b;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease;
  display: inline-block;
}
.cta-button:hover {
  transform: scale(1.05);
}
.fade-in {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}
.fade-in.delay-1 { animation-delay: 0.3s; }
.fade-in.delay-2 { animation-delay: 0.6s; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@media screen and (min-width: 768px) {
  .proof-stats {
    flex-direction: row;
    justify-content: center;
  }
  .stat-card {
    width: 260px;
  }
  .proof-intro h2 {
    font-size: 2.4rem;
    line-height: 1.2;
  }
}