.textimg {
  padding: 60px 0 0 0;
  background: var(--color-background);
}

.textimg_wrapper {
  display: flex;
  gap: 60px;
  align-items: center;
}

.textimg_wrapper.reverse {
  flex-direction: row-reverse;
}
.textimg_content {
  flex: 1;
  max-width: 600px;
}

.textimg_title {
  font-size: var(--h1-size-main, clamp(28px, 4vw, 42px));
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 20px;
  line-height: 1.2;
}

.textimg_text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  opacity: 0.6;
}

.textimg_text p {
  margin-bottom: 16px;
}

.textimg_text p:last-child {
  margin-bottom: 0;
}

.textimg_button {
  margin-top: 28px;
}

.textimg_image {
  flex: 1;
  max-width: 600px;
}

.textimg_image img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: var(--box-shadow);
  border-radius: 8px;
}

.textimg_image-placeholder {
  width: 100%;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  gap: 12px;
  padding: 40px;
  text-align: center;
}

.placeholder-icon {
  font-size: 64px;
  opacity: 0.8;
}

.placeholder-text {
  font-size: 16px;
  opacity: 0.9;
  font-weight: 500;
}

@media (max-width: 1024px) {
  .textimg_wrapper,
  .textimg_wrapper.reverse {
    flex-direction: column;
    gap: 40px;
  }

  .textimg_content,
  .textimg_image {
    max-width: 100%;
    width: 100%;
  }

  .textimg_image-placeholder {
    min-height: 300px;
  }
}

@media (max-width: 768px) {
  .textimg {
    padding: 40px 0;
  }

  .textimg_title {
    font-size: clamp(24px, 6vw, 32px);
  }

  .textimg_text {
    font-size: 15px;
  }

  .btn-primary {
    padding: 12px 28px;
    font-size: 15px;
  }

  .textimg_image-placeholder {
    min-height: 200px;
    padding: 24px;
  }

  .placeholder-icon {
    font-size: 40px;
  }
}

@media (max-width: 480px) {
  .textimg_image-placeholder {
    min-height: 160px;
  }

  .placeholder-icon {
    font-size: 32px;
  }

  .placeholder-text {
    font-size: 14px;
  }
}