﻿body.service-polished main .service-detail-hero {
  background: #f4f8fc !important;
}
body.service-polished main .service-detail-hero .hero-title {
  max-width: 17ch;
  letter-spacing: -.04em;
  line-height: 1.08;
  text-wrap: balance;
}
body.service-polished main .service-detail-hero .hero-description { max-width: 53ch; }
#client-feedback {
  display: grid;
  gap: 8px;
  width: calc(min(100%, var(--service-container)) - 2 * var(--service-gutter));
  margin-inline: auto;
  margin-block-start: 8px;
}
#client-feedback > .service-feedback-link-row { grid-area: 1 / 1; }
#client-feedback > .service-feedback { grid-area: 2 / 1; }
.service-feedback {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: clamp(14px, 2vw, 24px);
  border: 1px solid #dce7f1;
  border-radius: var(--service-radius);
  background: #f7fafc;
  color: #17334b;
}
.service-feedback-header { margin-bottom: 12px; }
.service-feedback-header h2 { margin: 0 0 6px; font-size: clamp(25px, 3vw, 36px); letter-spacing: -.035em; }
.service-feedback[hidden] { display: none !important; }
.service-feedback-link-row {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 18px;
  width: min(100%, 760px);
  margin: 0;
  padding: 12px 16px;
  border: 1px solid #cddfed;
  border-radius: 16px;
  background: #f7fafc;
}
.service-feedback-invite-copy { flex: 1 1 290px; min-width: 0; }
.service-feedback-invite-copy h3 { margin: 0 0 4px; font-size: 17px; font-weight: 700; }
.service-feedback-invite-copy p { max-width: 55ch; margin: 0; font-size: 13px; line-height: 1.45; }
.service-feedback-link-row a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 13px;
  border: 1px solid #c8daea;
  border-radius: 9px;
  background: #f3f8fc;
  color: #155993;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}
.service-feedback-link-row a:hover { background: #e7f1fa; color: #124879; }
.service-feedback-link-row a:focus-visible { outline: 2px solid #5898d7; outline-offset: 3px; }
body.service-polished main #client-feedback + .service-guide {
  padding-block-start: 20px !important;
}
.service-feedback-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.service-feedback-card { margin: 0; padding: 20px; border: 1px solid #e0e9f2; border-radius: 14px; background: white; overflow-wrap: anywhere; }
.service-feedback-rating { color: #8d500f; font-size: 18px; line-height: 1.2; letter-spacing: .13em; }
.service-feedback-card blockquote { margin: 12px 0; color: #26445c; white-space: pre-wrap; }
.service-feedback-card figcaption {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
  color: #17334b;
  font-weight: 700;
}
.service-feedback-avatar {
  position: relative;
  display: inline-block;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e6f0f8;
  color: #235d89;
}
.service-feedback-avatar::before,
.service-feedback-avatar::after {
  position: absolute;
  left: 50%;
  background: currentColor;
  content: '';
  transform: translateX(-50%);
}
.service-feedback-avatar::before {
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.service-feedback-avatar::after {
  top: 17px;
  width: 15px;
  height: 8px;
  border-radius: 9px 9px 3px 3px;
}
.service-feedback-page {
  margin: 0;
  padding: clamp(18px, 6vw, 64px) 16px;
  color: #17334b;
  background: #f4f8fc;
  font: 16px/1.5 system-ui, sans-serif;
}
.service-feedback-form {
  box-sizing: border-box;
  max-width: 560px;
  margin: auto;
  padding: clamp(22px, 5vw, 42px);
  border: 1px solid #dce7f1;
  border-radius: 20px;
  background: white;
}
.feedback-brand { color: #164f80; font-weight: 750; text-decoration: none; }
.service-feedback-form h1 { margin: 14px 0 4px; font-size: clamp(27px, 5vw, 38px); letter-spacing: -.04em; line-height: 1.15; }
.service-feedback-form p { margin: 0 0 18px; }
.service-feedback-form label { display: block; margin: 14px 0 5px; font-weight: 600; }
.service-feedback-form :is(input:not([type=checkbox]), select, textarea) {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid #adc1d4;
  border-radius: 9px;
  background: white;
  color: inherit;
  font: inherit;
}
.service-feedback-form textarea { resize: vertical; }
.service-feedback-form .feedback-consent { display: flex; gap: 8px; align-items: flex-start; margin: 16px 0; font-weight: 400; }
.feedback-consent input { margin-top: .35em; }
.feedback-submit {
  display: inline-flex;
  min-height: 44px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border: 0;
  border-radius: 9px;
  background: #155993;
  color: white;
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}
.feedback-submit:hover { background: #124879; color: white; }
.service-feedback-form :focus-visible { outline: 3px solid #5898d7; outline-offset: 2px; }
.feedback-error { color: #9c2030; }
@media (max-width: 520px) {
  .service-feedback-form .feedback-submit { width: 100%; }
}
