.cw-portfolio-index-reviews {
  background: #cfc4f6;
  color: #141210;
  padding: clamp(64px, 8vw, 110px) clamp(20px, 4vw, 40px);
  font-family: 'Inter', system-ui, sans-serif;
}

.cw-portfolio-index-reviews__inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.cw-portfolio-index-reviews__eyebrow {
  margin: 0 0 18px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
}

.cw-portfolio-index-reviews__title {
  margin: 0 0 18px;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 5vw, 76px);
  line-height: 0.9;
  letter-spacing: -0.045em;
}

.cw-portfolio-index-reviews__title-em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
}

.cw-portfolio-index-reviews__rating-row {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.cw-portfolio-index-reviews__rating {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(56px, 6vw, 84px);
  letter-spacing: -0.05em;
  line-height: 0.85;
}

.cw-portfolio-index-reviews__rating-label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.cw-portfolio-index-reviews__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cw-portfolio-index-reviews__item {
  background: #f3efe7;
  border-radius: 20px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cw-portfolio-index-reviews__item-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.cw-portfolio-index-reviews__item-stars {
  color: #c23a14;
  letter-spacing: 2px;
}

.cw-portfolio-index-reviews__item-meta {
  font-size: 12.5px;
  color: #5a534a;
}

.cw-portfolio-index-reviews__empty {
  margin: 0;
  border: 1px dashed #141210;
  border-radius: 20px;
  padding: 18px;
  font-size: 14.5px;
}

.cw-portfolio-index-reviews__empty.is-hidden {
  display: none;
}

.cw-portfolio-index-reviews__form-panel {
  background: #141210;
  color: #f3efe7;
  border-radius: 30px;
  padding: clamp(22px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cw-portfolio-index-reviews__label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: #a39c90;
}

.cw-portfolio-index-reviews__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.cw-portfolio-index-reviews__select,
.cw-portfolio-index-reviews__input,
.cw-portfolio-index-reviews__textarea {
  background: #141210;
  border: 1px solid rgba(243, 239, 231, 0.2);
  border-radius: 14px;
  padding: 13px 14px;
  font-size: 15px;
  color: #f3efe7;
  outline: none;
  font-family: inherit;
}

.cw-portfolio-index-reviews__textarea {
  resize: vertical;
  min-height: 100px;
}

.cw-portfolio-index-reviews__stars {
  display: flex;
  gap: 6px;
  align-items: center;
}

.cw-portfolio-index-reviews__star {
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 38px;
  line-height: 1;
  cursor: pointer;
  color: #4a443d;
  transition: transform 0.15s, color 0.15s;
}

.cw-portfolio-index-reviews__star-text {
  margin-left: 10px;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #d4f53c;
}

.cw-portfolio-index-reviews__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.cw-portfolio-index-reviews__tag {
  border: 1px solid rgba(243, 239, 231, 0.22);
  background: transparent;
  color: #f3efe7;
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
}

.cw-portfolio-index-reviews__tag.is-active {
  background: #d4f53c;
  border-color: #d4f53c;
  color: #141210;
}

.cw-portfolio-index-reviews__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.cw-portfolio-index-reviews__post {
  border: 0;
  background: #d4f53c;
  color: #141210;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
}

.cw-portfolio-index-reviews__post:hover {
  background: #fff;
}

.cw-portfolio-index-reviews__share {
  border: 1px solid rgba(243, 239, 231, 0.3);
  background: transparent;
  color: #f3efe7;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
}

.cw-portfolio-index-reviews__err {
  font-size: 13px;
  color: #ff8a6b;
}
