/* ===== Стили для блока О компании (с префиксом ved) ===== */

/* Fullwidth блок */
.ved-fullwidth {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: #f8f9fa;
  padding: 60px 0;
  margin-bottom: 40px;
}

.ved-main-title {
  font-size: 36px;
  margin-bottom: 25px;
  font-weight: 700;
  color: #009688;
  line-height: 40px !important;
}

.ved-main-text {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #333;
}

.ved-main-button {
  margin-top: 30px;
}

.ved-main-button .btn_box {
  padding: 12px 30px;
  font-size: 15px;
  display: inline-block;
}

.ved-image {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 30px rgba(0,150,136,0.15);
}

/* Сетки для блоков */
.ved-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 0;
}

.ved-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin: 0;
}

/* Сервис карточки */
.ved-services {
  margin-bottom: 70px;
}

.ved-services .title {
  margin-bottom: 40px;
}

.ved-services-title {
  font-size: 42px;
  padding-top: 50px !important;
}

.ved-service-card {
  background: #fff;
  padding: 40px 25px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,150,136,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.ved-service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,150,136,0.2);
}

.ved-service-icon {
  font-size: 60px !important;
  color: #009688 !important;
  margin-bottom: 20px;
  display: block;
  width: auto !important;
  height: auto !important;
}

.ved-service-title {
  font-size: 24px;
  margin-bottom: 15px;
  color: #009688;
}

.ved-service-text {
  font-size: 16px;
  line-height: 1.5;
  color: #666;
  margin-bottom: 0;
}

/* Преимущества */
.ved-advantages {
  margin-bottom: 80px;
}

.ved-advantages .title {
  margin-bottom: 40px;
}

.ved-advantages .title h2 {
  font-size: 42px;
  padding-top: 30px;
}

.ved-advantage-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 25px;
  border-radius: 15px;
  border-left: 5px solid #009688;
  box-shadow: 0 5px 20px rgba(0,150,136,0.08);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  position: relative;
  top: 0;
}

.ved-advantage-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,150,136,0.15);
}

.ved-advantage-header {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.ved-advantage-icon {
  font-size: 32px !important;
  color: #009688 !important;
  margin-right: 15px;
  width: auto !important;
  height: auto !important;
  flex-shrink: 0;
}

.ved-advantage-title {
  font-size: 20px;
  font-weight: 600;
  color: #009688;
  line-height: 1.3;
}

.ved-advantage-text {
  font-size: 15px;
  color: #666;
  margin-left: 47px;
  margin-bottom: 0;
  line-height: 1.5;
}

/* CTA блок (светлый фон с SVG) */
.ved-cta {
  background-color: #f9f9f9;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23009688' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 80px 0;
  text-align: center;
}

.ved-cta-title {
  font-size: 52px;
  margin-bottom: 25px;
  color: #333;
  font-weight: 800;
}

.ved-cta-text {
  margin-bottom: 40px;
  font-size: 24px;
  color: #555;
}

.ved-cta-button-wrapper {
  text-align: center;
}

/* Блок сертификаций */
.ved-certifications {
  background: #ffffff;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 80px 0;
}

.ved-certifications .title {
  margin-bottom: 50px;
}

.ved-certifications .title h2 {
  font-size: 42px;
  color: #333;
}

.ved-cert-card {
  display: flex;
  align-items: flex-start;
  background: #f9f9f9;
  padding: 35px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid #eee;
  box-sizing: border-box;
  position: relative;
  top: 0;
  left: 0;
}

.ved-cert-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,150,136,0.2);
  border-color: #009688;
}

.ved-cert-icon {
  margin-right: 25px;
  flex-shrink: 0;
}

.ved-cert-icon i {
  font-size: 54px !important;
  color: #009688 !important;
  width: auto !important;
  height: auto !important;
}

.ved-cert-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ved-cert-title {
  font-size: 26px;
  margin-bottom: 12px;
  color: #009688;
  font-weight: 600;
}

.ved-cert-text {
  font-size: 16px;
  line-height: 1.5;
  color: #666;
  margin-bottom: 0;
}

/* Адаптивность */
@media (max-width: 992px) {
  .ved-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .ved-fullwidth {
    padding: 40px 0;
  }
  
  .ved-main-title {
    font-size: 28px;
    line-height: 32px !important;
  }
  
  .ved-main-text {
    font-size: 16px;
  }
  
  .ved-grid-3 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .ved-grid-2 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .ved-service-card {
    padding: 30px 20px;
  }
  
  .ved-service-icon {
    font-size: 50px !important;
  }
  
  .ved-service-title {
    font-size: 22px;
  }
  
  .ved-service-text {
    font-size: 15px;
  }
  
  .ved-advantage-card {
    padding: 20px;
  }
  
  .ved-advantage-header {
    flex-direction: row;
    align-items: center;
    margin-bottom: 10px;
  }
  
  .ved-advantage-icon {
    font-size: 28px !important;
    margin-right: 12px;
    margin-bottom: 0;
  }
  
  .ved-advantage-title {
    font-size: 18px;
  }
  
  .ved-advantage-text {
    font-size: 14px;
    margin-left: 40px;
  }
  
  .ved-cta {
    padding: 60px 0;
  }
  
  .ved-cta-title {
    font-size: 36px;
  }
  
  .ved-cta-text {
    font-size: 18px;
  }
  
  .ved-cert-card {
    flex-direction: row;
    text-align: left;
    padding: 25px;
  }
  
  .ved-cert-icon {
    margin-right: 20px;
    margin-bottom: 0;
  }
  
  .ved-cert-icon i {
    font-size: 42px !important;
  }
  
  .ved-cert-title {
    font-size: 22px;
  }
  
  .ved-cert-text {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .ved-advantage-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .ved-advantage-icon {
    margin-bottom: 8px;
  }
  
  .ved-advantage-text {
    margin-left: 0;
  }
  
  .ved-cert-card {
    flex-direction: column;
    text-align: center;
  }
  
  .ved-cert-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }
}







/* Дополнительные стили для мобильных устройств */
@media (max-width: 480px) {
  /* Заголовок в первом блоке - в 2 строки */
  .ved-main-title {
    font-size: 24px;
    line-height: 28px !important;
    word-break: break-word;
    max-width: 100%;
    white-space: normal;
  }
  
  .ved-desktop-br {
    display: none; /* Убираем перенос строки на мобильных */
  }
  
  /* Заголовок CTA блока */
  .ved-cta-title {
    font-size: 28px !important;
    line-height: 32px !important;
    word-break: break-word;
    hyphens: auto;
    padding: 0 15px;
    margin-bottom: 15px;
  }
  
  /* Текст CTA блока */
  .ved-cta-text {
    font-size: 16px !important;
    line-height: 22px;
    padding: 0 15px;
    margin-bottom: 25px;
  }
  
  /* Заголовок блока сертификаций */
  .ved-certifications .title h2 {
    font-size: 28px !important;
    line-height: 32px !important;
    word-break: break-word;
    hyphens: auto;
    padding: 0 15px;
  }
  
  /* Подзаголовок сертификаций */
  .ved-certifications .title p {
    font-size: 16px !important;
    line-height: 22px;
    padding: 0 15px;
  }
  
  /* Кнопка в CTA блоке */
  .ved-cta .btn_box {
    padding: 15px 30px !important;
    font-size: 16px !important;
    white-space: normal;
    max-width: 90%;
  }
  
  /* Отступы для блоков */
  .ved-cta {
    padding: 50px 0 !important;
  }
  
  .ved-certifications {
    padding: 50px 0 !important;
  }
  
  /* Увеличиваем внутренние отступы для карточек */
  .ved-cert-card {
    padding: 20px !important;
  }
  
  .ved-cert-title {
    font-size: 20px !important;
  }
  
  .ved-cert-text {
    font-size: 14px !important;
  }
}

/* Для очень маленьких экранов (iPhone SE и т.д.) */
@media (max-width: 375px) {
  .ved-main-title {
    font-size: 22px;
    line-height: 26px !important;
  }
  
  .ved-cta-title {
    font-size: 24px !important;
    line-height: 28px !important;
  }
  
  .ved-certifications .title h2 {
    font-size: 24px !important;
    line-height: 28px !important;
  }
}