.case-quote {
    padding-top: 90px;
}
.case-quote__inner {
  display: flex;
  flex-direction: row;
  gap: 40px;
  align-items: center;
  justify-content: flex-start;
}

/* Аватар */
.case-quote__photo-wrap {
  flex-shrink: 0;
}

.case-quote__photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 5px solid #c7fe1e;
  background: linear-gradient(to left, rgba(16,16,16,0.3), rgba(16,16,16,0.3));
  object-fit: cover;
}

/* Правая часть: уголок + карточка */
.case-quote__quote-wrap {
  display: flex;
  flex-direction: row;
  gap: 0;
  align-items: center;
  justify-content: flex-start;
  flex: 1;
}



/* Жёлтая карточка */
.case-quote__card {
  background: #c7fe1e;
  border-radius: 30px;
  padding: 32px;
  display: flex;
  flex-direction: row;
  gap: 40px;
  align-items: center;
  justify-content: flex-start;
  flex: 1;
  overflow: hidden;
}

/* Текст */
.case-quote__text {
  color: #2d2d2d;
  font-size: 32px;
  line-height: 1;
  font-style: italic;
}
.case-quote__quote-wrap::before{
   
    content: "";
   
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 32px 32px;
    border-color: transparent transparent var(--lime) transparent;
   

}

/* Адаптив */
@media (max-width: 980px) {
    .case-quote__quote-wrap:after {
    content: "";
    
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 32px 0 0 32px; /* Верхняя и левая границы */
    border-color: var(--lime)transparent transparent transparent;

}
.case-quote__quote-wrap::before{
    display: none;
}

  .case-quote__inner {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .case-quote__quote-wrap {
    flex-direction: column;
    gap: 0;
    
    width: 100%;
    align-items: center;
  }

 

  .case-quote__corner {
    order: 2;
    align-self: center;
    margin-top: 0;
  }

  .case-quote__text {
    font-size: 24px;
    line-height: 1;
  }

  .case-quote__photo-wrap {
    order: 3;
  }
}
