.quote-form__fields {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 1.4fr auto;
  gap: 12px;
  align-items: start;
}

.quote-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.quote-form__consent input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

.quote-form__consent a {
  color: var(--purple);
  text-decoration: underline;
}

.form-message {
  display: none;
  margin: 12px 0 0;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #0f5132;
  background: #d1e7dd;
}

.form-message.is-visible {
  display: block;
}

.form-message--error {
  color: #842029;
  background: #f8d7da;
}

.phone-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 12px;
  border: 1px solid #d8d0dc;
  border-radius: 8px;
  background: #fff;
}

.phone-input-wrap span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.phone-input-wrap input {
  flex: 1;
  height: 100%;
  border: 0;
  padding: 0;
  outline: none;
  background: transparent;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.testimonial-card {
  padding: 22px;
  background: #fff;
  border-left: 5px solid var(--lavender);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(5, 3, 5, 0.08);
}

.testimonial-card__stars {
  color: #c07a00;
  font-size: 14px;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.testimonial-card p {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.6;
}

.testimonial-card strong {
  display: block;
  color: var(--violet);
  font-size: 13px;
  text-transform: uppercase;
}

.chat-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 300;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: #fff;
  background: var(--purple);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(30, 90, 138, 0.35);
  font-size: 22px;
  transition: transform 0.2s ease;
}

.chat-widget:hover {
  transform: scale(1.06);
}

@media (max-width: 900px) {
  .quote-form__fields {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .quote-form__fields .btn {
    grid-column: 1;
    width: 100%;
    min-height: 48px;
  }

  .phone-input-wrap {
    width: 100%;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .quote-form__fields {
    grid-template-columns: 1fr;
  }
}
