.recommendation-section {
  background-image: url('../images/recommendation/background-2.png'), url('../images/recommendation/background.png') ;
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
  background-position: center, center;
  padding: 47px 50px 0 50px;
}

@media screen and (max-width: 992px) {
  .recommendation-section {
    padding: 47px 10px 0;
  }
}

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

.company-section {
  padding: 38px 20px;
  background: #fff;
  border-radius: 4px;
  margin-bottom: 50px;
}

@media screen and (max-width: 992px) {
  .company-section {
    padding: 38px 8px;
  }
}

.company-title {
  font-size: 30px;
  margin-bottom: 33px;
  font-weight: bold;
  text-align: center;
  position: relative;
}

.company-title::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  width: 100%;
  border-top: 3px solid var(--primary-color);
  width: 3%;
  left: 50%;
  transform: translateX(-50%);
}

/* ----- Class "company-container" ----- */
.company-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
  gap: 16px;
}

.company-image {
  flex: 1 1 100%;
}

.company-image img {
  max-width: 100%;
  height: auto;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.company-link {
  font-size: 12px;
  color: #898989;
  text-align: center;
  display: block;
  text-decoration: none;
}

.company-link:hover {
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.company-image:hover {
  transform: scale(1.02);
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.company-content {
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  place-self: flex-start;
}

@media (min-width: 992px) {
  .company-image {
    flex: 1 1 48%;
  }

  .company-content {
    flex: 1 1 50%;
    justify-content: center;
  }
}

.company-desc {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
}

.company-points {
  background: #EDF2E2;
  position: relative;
  padding: 33px 20px 16px 20px;
  margin-top: 16px;
}

.company-point-title {
  display: inline-block;
  background: #8bc34a;
  color: white;
  font-weight: bold;
  padding: 3px 12px;
  border-radius: 19px;
  margin-bottom: 12px;
  font-size: 18px;
  position: absolute;
  top: -16px;
}

@media screen and (max-width: 992px) {
  .company-point-title {
    letter-spacing: 0px;
    left: 8px;
  }
}

.company-point-list li {
  margin-bottom: 4px;
}

/* ----- Class "company-features" ----- */
.company-features {
  text-align: center;
  margin:  18px 0 36px 0;;
}

.company-features h4, .company-portfolio h4 {
  font-size: 28px;
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr); 
  gap: 20px;
  max-width: 1000px;
  margin: 2rem auto;
}

@media screen and (max-width: 992px) {
  .company-grid {
    grid-template-columns: repeat(3, 1fr); 
    gap: 8px;
  }
}

.company-box {
  border: 2px solid #8bc34a; 
  color: #8bc34a;
  padding: 0.75rem 0;
  font-weight: bold;
  font-size: 0.9rem;
}

.company-box.blocked {
  border: 2px solid #C3C3C3; 
  color: #C3C3C3;
}

/* ----- Class "company-portfolio" ----- */
.company-portfolio {
  text-align: center;
}

.company-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 1.5rem;
  max-width: 1000px;
  margin: 25px auto;
}

@media screen and (max-width: 992px) {
  .company-portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .company-portfolio-item {
    width: 42vw;
  }
}

.company-portfolio-item {
  text-decoration: none;
  color: #333;
}

.company-portfolio-item:hover {
  transform: scale(1.1);
}

.company-portfolio-item img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

.company-wrapper {
  margin-top: 2rem;
}

.cta--black {
  display: inline-flex;
  align-items: center;
  gap: 12px; 
  justify-content: center;
}

.cta--black .arrow {
  font-size: 20px;
  line-height: 1;
}

