/* Верхний контактный блок */
.top-header {
    background-color: #2d2d2d;
    color: white;
    padding: 15px 0;
    font-size: 16px;
  }

  .top-header .container {
    max-width: 1100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .top-header .email {
    font-size: 18px;
    font-weight: bold;
  }

  .top-header .phone-social {
    display: flex;
    align-items: center;
  }

  .top-header .phone {
    font-size: 18px;
    font-weight: bold;
    margin-right: 20px;
  }

  .top-header .social-icons a {
    color: white;
    font-size: 22px;
    margin-left: 15px;
    transition: color 0.3s;
  }

  .top-header .social-icons a:hover {
    color: #f4a261;
  }

  /* Навигация */
  .navbar-dark {
    background-color: #3a3a3a;
    padding: 15px 0;
  }

  .navbar .container {
    max-width: 1100px;
  }

  .navbar-brand img {
    max-width: 140px;
  }

  /* Основной контейнер */
  .hero-container, .content-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 15px 0;
  }
  
  .container{max-width: 1100px;}

  /* Блок услуг */
  .services-section {
    background: linear-gradient(135deg, #fdfcfb, #f3eee9);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 30px;
  }

  .services-section h2 {
    color: #444;
    font-weight: 600;
    margin-bottom: 20px;
  }

  /* Сетка услуг */
  .features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }

  /* Ссылки для карточек услуг */
  .feature-link {
    display: block;
    text-decoration: none;
    color: inherit;
  }

  /* Карточки услуг */
  .feature-item {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  }

  /* Эффект при наведении на ссылку */
  .feature-link:hover .feature-item {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  }

  /* Активная (текущая) карточка услуги */
  .feature-link.active .feature-item {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    transform: translateY(-3px);
  }

  /* Иконка активной карточки */
  .feature-link.active .feature-item i {
    color: white;
  }

  /* При наведении на активную карточку */
  .feature-link.active:hover .feature-item {
    background: linear-gradient(135deg, #218838, #1ba87a);
    transform: translateY(-5px);
  }

  .feature-item i {
    font-size: 32px;
    color: #28a745;
    margin-bottom: 10px;
  }

  .feature-item h5 {
    margin-bottom: 5px;
    font-size: 18px;
  }

  .feature-item p {
    font-size: 14px;
    color: #666;
  }

  /* Блок с формой и фото сотрудников */
  .contact-section {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 20px;
    padding: 15px 0;
  }

  /* Фото слева */
  .contact-image {
    background: url('../images/employees_600x400.webp') center/cover no-repeat;
    border-radius: 10px;
    flex: 1;
    min-height: 400px;
  }

  /* Форма справа */
  .contact-form {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .contact-form h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
  }

  .contact-form label {
    font-weight: 500;
  }

  .contact-form .btn-orange {
    background-color: #ff6600;
    border: none;
    font-size: 18px;
    padding: 12px;
  }

  .contact-form .btn-orange:hover {
    background-color: #e65c00;
  }

  .contact-form .small-text {
    font-size: 12px;
    color: #777;
    text-align: center;
    margin-top: 10px;
  }

  /* Адаптивность */
  @media (max-width: 992px) {
    .features {
      grid-template-columns: repeat(2, 1fr);
    }
    .contact-section {
      flex-direction: column-reverse;
    }
    .contact-image {
      width: 100%;
      min-height: 300px;
    }
    .contact-form {
      width: 100%;
    }
  }

  @media (max-width: 576px) {
    .navbar-brand img {
      max-width: 120px;
    }
    .top-header {
      font-size: 14px;
      padding: 12px 0;
    }
    .top-header .container {
      flex-direction: column;
      text-align: center;
    }
    .top-header .social-icons a {
      font-size: 20px;
    }
  }


  /* Выпадающее меню при наведении */
  .navbar .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

/* Фон мобильного меню в черном цвете */
@media (max-width: 991px) {
    .navbar-collapse {
        background: #222; /* Черный фон */
        padding: 15px;
    }

    .navbar .dropdown:hover .dropdown-menu {
        display: none;
    }
    .navbar .dropdown:focus-within .dropdown-menu,
    .navbar .dropdown.show .dropdown-menu {
        display: block;
    }

    .dropdown-menu {
        background: #222 !important; /* Черный фон выпадающего меню */
    }

    .dropdown-menu .dropdown-item {
        color: white !important; /* Белый текст */
    }

    .dropdown-menu .dropdown-item:hover {
        background: #f57c00 !important; /* Оранжевый фон при наведении */
        color: white !important;
    }
}



.btn-green {
    background-color: #28a745;
    border: none;
    color: white;
    font-size: 18px;
    padding: 12px;
    border-radius: 8px;
    transition: 0.3s;
}

.btn-green:hover {
    background-color: #218838;
}

.small-text {
    font-size: 14px;
    color: #777;
    text-align: center;
    margin-top: 10px;
}

.small-text a {
    color: #28a745;
    text-decoration: none;
}

.small-text a:hover {
    text-decoration: underline;
}



/* Новый современный блок преимуществ */
.advantages-section-new {
    background: #ffffff;
    padding: 80px 0;
}

.section-title-modern {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

/* Карточки преимуществ */
.advantage-card-modern {
    display: flex;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.advantage-card-modern:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
    border-color: #e76f51;
}

/* Иконка в карточке */
.advantage-icon-modern {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e76f51, #f4a261);
    border-radius: 15px;
    margin-right: 20px;
    transition: transform 0.3s ease;
}

.advantage-card-modern:hover .advantage-icon-modern {
    transform: scale(1.1);
}

.advantage-icon-modern i {
    font-size: 2rem;
    color: #ffffff;
}

/* Текстовый контент в карточке */
.advantage-text {
    flex: 1;
}

.advantage-text h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.3;
}

.advantage-text p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Адаптивность для планшетов */
@media (max-width: 991px) {
    .section-title-modern {
        font-size: 2rem;
    }

    .advantage-card-modern {
        padding: 25px;
    }

    .advantage-icon-modern {
        width: 60px;
        height: 60px;
    }

    .advantage-icon-modern i {
        font-size: 1.75rem;
    }

    .advantage-text h4 {
        font-size: 1.2rem;
    }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .advantages-section-new {
        padding: 60px 0;
    }

    .section-title-modern {
        font-size: 1.75rem;
        margin-bottom: 15px;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
        padding: 0 15px;
    }

    .advantage-card-modern {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
        margin-bottom: 20px;
    }

    .advantage-icon-modern {
        width: 70px;
        height: 70px;
        margin: 0 auto 20px;
    }

    .advantage-icon-modern i {
        font-size: 2rem;
    }

    .advantage-text h4 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .advantage-text p {
        font-size: 0.95rem;
    }
}

.advantage-item:hover .icon-wrapper {
    background: white;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

.advantage-item:hover .icon-wrapper i {
    color: #f58220;
    transform: scale(1.1);
}

.advantage-item p {
    font-size: 18px;
    text-align: center;
    max-width: 250px;
}

/* Адаптивность */
@media (max-width: 992px) {
    .advantages-title {
        font-size: 34px;
    }
}

@media (max-width: 768px) {
    .advantages-title {
        font-size: 30px;
    }
    .utp-text {
        font-size: 16px;
    }
    .advantage-item {
        margin-bottom: 30px;
    }
    .icon-wrapper {
        width: 70px;
        height: 70px;
    }
    .icon-wrapper i {
        font-size: 32px;
    }
}

@media (max-width: 576px) {
    .advantages-title {
        font-size: 28px;
    }
    .icon-wrapper {
        width: 60px;
        height: 60px;
    }
    .icon-wrapper i {
        font-size: 28px;
    }
}

.partner-logo {
    width: 130px;
    height: auto;
    object-fit: contain;
    margin: 0 10px;
}

/* Оранжевые стрелки */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #f57c00;
    border-radius: 50%;
    padding: 10px;
}


.request-section {
    background: url('../images/bg_1200x500.webp') no-repeat center center;
    background-size: cover;
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 35px; /* Отступ сверху от слайдера */
}

.request-form {
    max-width: 500px;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin: auto; /* Центрирование по горизонтали */
}

.request-form h2 {
    font-size: 26px;
    font-weight: bold;
    color: #222;
}

.request-form p {
    font-size: 18px;
    color: #555;
    margin-bottom: 20px;
}

.form-label {
    font-weight: 600;
    color: #444;
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
    color: white;
    font-size: 18px;
    padding: 10px 20px;
    border-radius: 8px;
    width: 100%;
    transition: 0.3s;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #218838;
}


.form-note {
    display: block;
    margin-top: 15px;
    font-size: 14px;
    color: #777;
}

.form-note a {
    color: #28a745;
    text-decoration: none;
}

.form-note a:hover {
    text-decoration: underline;
}


.footer {
    background: #222;
    color: white;
    padding: 50px 0;
    margin-top: 10px;
}

.footer a {
    color: #f57c00;
    font-weight: bold;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer-logo img {
    max-width: 150px;
}

.footer-menu, .footer-outsourcing, .footer-contact {
    text-align: center;
}

.footer h5 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #f57c00;
}

.menu-list, .outsourcing-list, .contact-list {
    list-style: none;
    padding: 0;
}

.menu-list li, .outsourcing-list li, .contact-list li {
    margin-bottom: 8px;
}

.footer-social {
    text-align: center;
    margin-top: 10px;
}

.footer-social a {
    font-size: 24px;
    color: white;
    margin: 0 10px;
    transition: 0.3s;
    display: inline-block;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid white;
}

.footer-social a:hover {
    color: #f57c00;
    border-color: #f57c00;
}

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

.contact-list i {
    color: #f57c00;
    margin-right: 8px;
}

.footer-address p {
    margin-bottom: 5px;
}

.footer-legal {
    margin-top: 10px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .footer-menu, .footer-outsourcing, .footer-contact {
        text-align: center;
        margin-bottom: 20px;
    }

    .menu-list, .outsourcing-list, .contact-list {
        text-align: center;
    }
}

.btn-green:hover {color: white;}

/* Стили для блока контактных телефонов */
.contact-phones-container {
  max-width: 1100px;
  margin: 0 auto 30px;
  padding: 0 15px;
}

.contact-section {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 120px;
}

.contact-section:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.contact-section h3 {
  color: #444;
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 1.3rem;
  border-bottom: 2px solid #f4a261;
  padding-bottom: 8px;
}

.phone-numbers {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
}

.phone-numbers p {
  margin: 8px 0;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
}

.phone-numbers a {
  color: #2d2d2d;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.phone-numbers a:hover {
  color: #f4a261;
  text-decoration: underline;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .contact-phones-container {
    padding: 0 10px;
  }
  
  .contact-section {
    padding: 20px;
    min-height: 100px;
  }
  
  .contact-section h3 {
    font-size: 1.2rem;
  }
  
  .phone-numbers p {
    font-size: 1rem;
  }
}

/* Секция "Когда целесообразно использовать аутсорсинг" - Корпоративный стиль */
.when-to-use-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #e76f51 0%, #f4a261 100%);
  position: relative;
}

.when-to-use-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 50px;
  text-align: center;
}

.when-item {
  margin-bottom: 30px;
}

/* Карточки */
.when-card {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  transition: all 0.3s ease;
  height: 100%;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.when-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

/* Иконка */
.when-icon {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 50%;
  margin-right: 20px;
  transition: transform 0.3s ease;
}

.when-card:hover .when-icon {
  transform: scale(1.1);
}

.when-icon i {
  font-size: 2rem;
  color: #e76f51;
}

/* Контент карточки */
.when-content {
  flex: 1;
}

.when-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: #ffffff;
  margin: 0;
}

.when-content strong {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

/* Адаптивность для планшетов */
@media (max-width: 991px) {
  .when-to-use-section h2 {
    font-size: 1.75rem;
    margin-bottom: 40px;
  }
  
  .when-card {
    padding: 20px;
  }
  
  .when-icon {
    width: 60px;
    height: 60px;
  }
  
  .when-icon i {
    font-size: 1.75rem;
  }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .when-to-use-section {
    padding: 40px 0;
  }

  .when-to-use-section h2 {
    font-size: 1.5rem;
    margin-bottom: 30px;
  }

  .when-card {
    flex-direction: column;
    text-align: center;
    padding: 25px 15px;
  }
  
  .when-icon {
    width: 70px;
    height: 70px;
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  .when-icon i {
    font-size: 2rem;
  }

  .when-content p {
    font-size: 0.95rem;
  }
}

/* ============================================
   БЛОК ПРЕИМУЩЕСТВ В СТИЛЕ КОНКУРЕНТОВ
   ============================================ */

/* Секция преимуществ */
.advantages-section-competitor {
  padding: 70px 0;
  background: #ffffff;
}

/* Заголовок секции */
.advantages-title-competitor {
  font-size: 2.2rem;
  font-weight: 700;
  color: #333;
  text-align: center;
  margin-bottom: 15px;
}

/* Подзаголовок секции */
.advantages-subtitle-competitor {
  font-size: 1.05rem;
  color: #666;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  line-height: 1.7;
}

/* Карточка преимущества */
.advantage-card-competitor {
  background: #f5f8fa;
  padding: 35px 30px;
  border-radius: 12px;
  height: 100%;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

/* Эффект при наведении на карточку */
.advantage-card-competitor:hover {
  background: #eef3f7;
  border-color: #3498db;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(52, 152, 219, 0.15);
}

/* Крупная нумерация */
.advantage-number {
  font-size: 4rem;
  font-weight: 700;
  color: #3498db;
  line-height: 1;
  opacity: 0.9;
  flex-shrink: 0;
  min-width: 80px;
}

/* Маленькая иконка справа от номера */
.advantage-icon-small {
  flex-shrink: 0;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(52, 152, 219, 0.1);
  border-radius: 8px;
  margin-top: 8px;
}

.advantage-icon-small i {
  font-size: 1.4rem;
  color: #3498db;
}

/* Текст описания */
.advantage-description {
  flex: 1;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #555;
  margin: 8px 0 0 0;
}

/* Адаптивность для планшетов */
@media (max-width: 991px) {
  .advantages-title-competitor {
    font-size: 1.9rem;
  }
  
  .advantage-card-competitor {
    padding: 30px 25px;
  }
  
  .advantage-number {
    font-size: 3.5rem;
    min-width: 70px;
  }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .advantages-section-competitor {
    padding: 50px 0;
  }
  
  .advantages-title-competitor {
    font-size: 1.6rem;
  }
  
  .advantages-subtitle-competitor {
    font-size: 1rem;
    margin-bottom: 35px;
    padding: 0 15px;
  }
  
  .advantage-card-competitor {
    padding: 25px 20px;
    gap: 15px;
  }
  
  .advantage-number {
    font-size: 3rem;
    min-width: 60px;
  }
  
  .advantage-icon-small {
    width: 40px;
    height: 40px;
  }
  
  .advantage-icon-small i {
    font-size: 1.2rem;
  }
  
  .advantage-description {
    font-size: 0.98rem;
  }
}

/* ============================================
   БЛОК ГАЛЕРЕИ ПЕРСОНАЛА С ФОТО (ПРОСТОЙ ДИЗАЙН)
   ============================================ */

.staff-gallery-section {
  padding: 70px 0;
  background: #f5f5f5;
}

/* Сетка карточек персонала */
.staff-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
}

/* Простая карточка персонала */
.staff-card-simple {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
}

.staff-card-simple:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Фото сотрудника */
.staff-photo {
  width: 100%;
  height: 280px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
}

.staff-card-simple:hover .staff-photo {
  transform: scale(1.05);
}

/* Информационный блок */
.staff-info {
  padding: 20px 20px 25px;
  background: #ffffff;
  text-align: left;
}

/* Должность */
.staff-position {
  font-size: 1.2rem;
  font-weight: 700;
  color: #333;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

/* Цена */
.staff-price {
  font-size: 1rem;
  color: #666;
  margin: 0;
  font-weight: 500;
}

/* Адаптивность для больших планшетов */
@media (max-width: 1200px) {
  .staff-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }
  
  .staff-photo {
    height: 250px;
  }
}

/* Адаптивность для планшетов */
@media (max-width: 992px) {
  .staff-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .staff-photo {
    height: 240px;
  }
  
  .staff-position {
    font-size: 1.1rem;
  }
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
  .staff-gallery-section {
    padding: 50px 0;
  }
  
  .staff-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .staff-photo {
    height: 200px;
  }
  
  .staff-info {
    padding: 15px;
  }
  
  .staff-position {
    font-size: 1rem;
  }
  
  .staff-price {
    font-size: 0.95rem;
  }
}

/* Адаптивность для очень маленьких экранов */
@media (max-width: 480px) {
  .staff-gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .staff-photo {
    height: 240px;
  }
}

/* ============================================
   БЛОК "КАК МЫ РАБОТАЕМ" - СХЕМА СОТРУДНИЧЕСТВА
   ============================================ */

/* Секция "Как мы работаем" */
.how-we-work-section {
  padding: 70px 0;
  background: #f9fafb;
}

/* Общие стили заголовков для новых блоков */
.section-title-centered {
  font-size: 2.2rem;
  font-weight: 700;
  color: #333;
  text-align: center;
  margin-bottom: 15px;
}

.section-subtitle-centered {
  font-size: 1.05rem;
  color: #666;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  line-height: 1.7;
}

/* Контейнер для шагов */
.work-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 25px;
}

/* Отдельный шаг */
.work-step {
  background: #ffffff;
  padding: 30px 20px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid #e8ecef;
  position: relative;
}

.work-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(52, 152, 219, 0.15);
  border-color: #3498db;
}

/* Номер шага */
.step-number {
  font-size: 1.2rem;
  font-weight: 700;
  color: #3498db;
  margin-bottom: 15px;
  opacity: 0.8;
}

/* Иконка шага */
.step-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #3498db, #2980b9);
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.work-step:hover .step-icon {
  transform: scale(1.1) rotate(5deg);
}

.step-icon i {
  font-size: 2rem;
  color: #ffffff;
}

/* Заголовок шага */
.step-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
}

/* Описание шага */
.step-description {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* Адаптивность для планшетов */
@media (max-width: 1200px) {
  .work-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .how-we-work-section {
    padding: 50px 0;
  }
  
  .work-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .section-title-centered {
    font-size: 1.7rem;
  }
  
  .section-subtitle-centered {
    font-size: 1rem;
    padding: 0 15px;
  }
}

/* ============================================
   БЛОК СРАВНЕНИЯ ЗАТРАТ "ШТАТ VS АУТСОРСИНГ"
   ============================================ */

.comparison-section {
  padding: 70px 0;
  background: #ffffff;
}

/* Контейнер таблицы сравнения */
.comparison-table {
  display: flex;
  align-items: stretch;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

/* Колонка сравнения */
.comparison-column {
  flex: 1;
  background: #f5f8fa;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

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

/* Заголовок колонки */
.column-header {
  padding: 30px 25px;
  text-align: center;
  background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.outsource-column .column-header {
  background: linear-gradient(135deg, #27ae60, #229954);
}

.column-header i {
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 15px;
  display: block;
}

.column-header h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

/* Список сравнения */
.comparison-list {
  list-style: none;
  padding: 30px 25px;
  margin: 0;
  flex-grow: 1;
}

.comparison-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 18px;
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

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

.comparison-list li i {
  font-size: 1.1rem;
  margin-right: 12px;
  flex-shrink: 0;
  margin-top: 3px;
}

.staff-column .comparison-list li i {
  color: #e74c3c;
}

.outsource-column .comparison-list li i {
  color: #27ae60;
}

/* Футер колонки */
.column-footer {
  padding: 25px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
}

.staff-footer {
  background: rgba(231, 76, 60, 0.1);
  color: #c0392b;
}

.outsource-footer {
  background: rgba(39, 174, 96, 0.1);
  color: #229954;
}

.outsource-footer strong {
  font-size: 1.3rem;
  display: block;
}

/* Разделитель VS */
.comparison-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vs-badge {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #3498db, #2980b9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* Адаптивность для планшетов и мобильных */
@media (max-width: 768px) {
  .comparison-section {
    padding: 50px 0;
  }
  
  .comparison-table {
    flex-direction: column;
    gap: 30px;
  }
  
  .comparison-divider {
    display: none;
  }
  
  .comparison-list li {
    font-size: 0.95rem;
  }
}

/* ============================================
   БЛОК FAQ - АККОРДЕОН
   ============================================ */

.faq-section {
  padding: 70px 0;
  background: #f9fafb;
}

/* Контейнер аккордеона */
.faq-accordion {
  max-width: 900px;
  margin: 0 auto;
}

/* Элемент FAQ */
.faq-item {
  background: #ffffff;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid #e8ecef;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* Кнопка вопроса */
.faq-question {
  width: 100%;
  padding: 25px 30px;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  text-align: left;
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: #3498db;
}

.faq-question span {
  flex: 1;
  padding-right: 20px;
}

.faq-question i {
  font-size: 1rem;
  color: #3498db;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

/* Активное состояние */
.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-item.active .faq-question {
  color: #3498db;
}

/* Ответ на вопрос */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 30px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 30px 25px 30px;
}

.faq-answer p {
  font-size: 1rem;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
  .faq-section {
    padding: 50px 0;
  }
  
  .faq-question {
    padding: 20px 20px;
    font-size: 1rem;
  }
  
  .faq-answer {
    padding: 0 20px;
  }
  
  .faq-item.active .faq-answer {
    padding: 0 20px 20px 20px;
  }
  
  .faq-answer p {
    font-size: 0.95rem;
  }
}