.nh-reviews-section,
.nh-reviews-section * {
  box-sizing: border-box;
}

.nh-reviews-section {
  width: 100%;
  color: #1f395a;
  background: transparent;
  font-family: "Manrope", Arial, sans-serif;
  overflow-x: clip;
}


.nh-reviews-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 70px 24px 76px;
}

.nh-reviews-header {
  max-width: 820px;
  margin: 0 auto 38px;
  text-align: center;
}

.nh-reviews-title,
.nh-reviews-list-title,
.nh-reviews-vk-title,
.nh-reviews-yandex-title,
.nh-reviews-leave-title {
  margin: 0;
  font-family: "Foo", "Manrope", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.08;
  text-transform: uppercase;
  color: #143859;
  letter-spacing: 0.01em;
}

.nh-reviews-title {
  font-size: 48px;
}

.nh-reviews-subtitle,
.nh-reviews-section-subtitle {
  margin: 16px auto 0;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: #69727d;
}

.nh-reviews-subtitle {
  max-width: 680px;
}

.nh-reviews-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

.nh-reviews-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 25px;
  border-radius: 30px;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition-property: transform, box-shadow, background-color, border-color, color;
  transition-duration: .22s;
  transition-timing-function: ease;
}

.nh-reviews-btn:hover,
.nh-reviews-btn:focus-visible {
  transform: translateY(-2px);
}

.nh-reviews-btn-primary {
  border: 2px solid #ff6f42;
  background-color: #ff6f42;
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(255, 111, 66, .18);
}

.nh-reviews-btn-primary:hover,
.nh-reviews-btn-primary:focus-visible {
  border-color: #ff470f;
  background-color: #ff470f;
  color: #ffffff;
  box-shadow: 0 16px 30px rgba(255, 71, 15, .22);
}

.nh-reviews-btn-secondary {
  border: 2px solid #1f395a;
  background-color: transparent;
  color: #1f395a;
}

.nh-reviews-btn-secondary:hover,
.nh-reviews-btn-secondary:focus-visible {
  border-color: #ff6f42;
  color: #ff6f42;
  box-shadow: 0 12px 26px rgba(31, 57, 90, .08);
}

.nh-reviews-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0 0 68px;
}

.nh-reviews-trust-card {
  display: flex;
  min-height: 155px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 22px 24px;
  border: 1px solid #f0e7d8;
  border-radius: 16px;
  background-color: #ffffff;
  color: #1f395a;
  text-decoration: none;
  transition-property: transform, box-shadow, border-color, color;
  transition-duration: .22s;
  transition-timing-function: ease;
}

.nh-reviews-trust-card:hover,
.nh-reviews-trust-card:focus-visible {
  transform: translateY(-2px);
  border-color: #f0e7d8;
  box-shadow: 0 14px 34px rgba(31, 57, 90, .08);
}

.nh-reviews-trust-source {
  font-family: "Foo2", "Manrope", Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
  color: #69727d;
}

.nh-reviews-trust-number {
  margin-top: 8px;
  font-family: "Foo", "Manrope", Arial, sans-serif;
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  color: #ff6f42;
}

.nh-reviews-trust-caption {
  margin-top: 11px;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.35;
  color: #69727d;
}

.nh-reviews-list-section,
.nh-reviews-vk-section,
.nh-reviews-leave-section {
  margin-top: 0;
}

.nh-reviews-section-heading {
  margin-bottom: 26px;
}

.nh-reviews-list-section .nh-reviews-section-heading {
  text-align: center;
}

.nh-reviews-section-heading-center {
  max-width: 700px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.nh-reviews-list-title,
.nh-reviews-leave-title {
  font-size: 38px;
}

.nh-reviews-vk-title,
.nh-reviews-yandex-title {
  font-size: 32px;
}

.nh-reviews-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.nh-reviews-card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  padding: 26px 24px;
  border: 1px solid #f0e7d8;
  border-radius: 18px;
  background-color: #ffffff;
  transition-property: transform, box-shadow, border-color;
  transition-duration: .22s;
  transition-timing-function: ease;
}

.nh-reviews-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(31, 57, 90, .08);
}

.nh-reviews-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.nh-reviews-avatar {
  display: inline-flex;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 19px;
  font-weight: 800;
  line-height: 1;
}

.nh-reviews-avatar-orange { background-color: #ff6f42; }
.nh-reviews-avatar-blue   { background-color: #1f395a; }
.nh-reviews-avatar-brick  { background-color: #E35726; }
.nh-reviews-avatar-slate  { background-color: #314068; }
.nh-reviews-avatar-red    { background-color: #ff470f; }
.nh-reviews-avatar-navy   { background-color: #143859; }

.nh-reviews-author-wrap { min-width: 0; }

.nh-reviews-author {
  margin: 0 0 6px;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  color: #1f395a;
}

.nh-reviews-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 3px 9px;
  border-radius: 6px;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.nh-reviews-badge-yandex { background-color: #fff0e0; color: #E35726; }
.nh-reviews-badge-vk     { background-color: #e7eef9; color: #0077ff; }
.nh-reviews-badge-site   { background-color: #FFF5E7; color: #1f395a; }

.nh-reviews-stars {
  margin-bottom: 13px;
  color: #ff9900;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 2px;
}

.nh-reviews-text {
  margin: 0;
  color: #33373d;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

.nh-reviews-date {
  display: block;
  margin-top: auto;
  padding-top: 18px;
  color: #69727d;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.35;
}

.nh-reviews-yandex-section,
.nh-reviews-vk-section {
  margin-top: 74px;
}

.nh-reviews-vk-box {
  position: relative;
  max-width: 900px;
  height: 430px;
  margin: 0 auto;
  padding: 18px;
  overflow: hidden;
  border: 1px solid #f0e7d8;
  border-radius: 18px;
  background-color: #ffffff;
  box-shadow: 0 14px 36px rgba(31, 57, 90, .06);
  transition-property: box-shadow, border-color;
  transition-duration: .22s;
  transition-timing-function: ease;
}

.nh-reviews-vk-box.nh-reviews-vk-expanded {
  height: 720px;
  border-color: #ff6f42;
  box-shadow: 0 18px 44px rgba(31, 57, 90, .10);
}

.nh-reviews-vk-scroll {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 8px;
  scrollbar-width: thin;
  scrollbar-color: #ff6f42 #FFF5E7;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.nh-reviews-vk-scroll::-webkit-scrollbar { width: 8px; }
.nh-reviews-vk-scroll::-webkit-scrollbar-track { border-radius: 20px; background-color: #FFF5E7; }
.nh-reviews-vk-scroll::-webkit-scrollbar-thumb { border-radius: 20px; background-color: #ff6f42; }

.nh-reviews-vk-widget {
  min-height: 200px;
  width: 100%;
}

.nh-reviews-vk-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 92px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #ffffff 72%);
  transition-property: opacity;
  transition-duration: .22s;
  transition-timing-function: ease;
}

.nh-reviews-vk-expanded .nh-reviews-vk-fade { opacity: 0; }

.nh-reviews-vk-action {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.nh-reviews-vk-more { min-width: 210px; }

.nh-reviews-leave-section {
  margin-top: 74px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background-color: transparent;
}

.nh-reviews-leave-section .nh-reviews-section-heading-center {
  max-width: 860px;
}

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

.nh-reviews-share-card {
  position: relative;
  display: flex;
  min-height: 196px;
  flex-direction: column;
  padding: 26px 52px 24px 24px;
  border: 1px solid #f0e7d8;
  border-radius: 18px;
  background-color: #ffffff;
  color: #1f395a;
  text-decoration: none;
  transition-property: transform, box-shadow, background-color, border-color, color;
  transition-duration: .22s;
  transition-timing-function: ease;
}

.nh-reviews-share-card:hover,
.nh-reviews-share-card:focus-visible {
  transform: translateY(-2px);
  border-color: #ff6f42;
  box-shadow: 0 14px 36px rgba(31, 57, 90, .08);
  color: #1f395a;
}

.nh-reviews-share-icon {
  display: block;
  margin-bottom: 16px;
  font-size: 32px;
  line-height: 1;
}

.nh-reviews-share-title {
  display: block;
  margin-bottom: 10px;
  color: #1f395a;
  font-family: "Foo2", "Manrope", Arial, sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
}

.nh-reviews-share-text {
  display: block;
  color: #33373d;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
}

.nh-reviews-share-arrow {
  position: absolute;
  right: 24px;
  bottom: 22px;
  color: #ff6f42;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  transition-property: transform, color;
  transition-duration: .22s;
  transition-timing-function: ease;
}

.nh-reviews-share-card:hover .nh-reviews-share-arrow,
.nh-reviews-share-card:focus-visible .nh-reviews-share-arrow {
  transform: translateX(3px);
  color: #ff470f;
}

.nh-reviews-form-anchor {
  height: 1px;
  margin-top: 28px;
  scroll-margin-top: 90px;
}

/* ===== форма отправки отзыва ===== */
.nh-reviews-form {
  width: 100%;
  max-width: 980px;
  margin: 8px auto 0;
  padding: 22px 26px 20px;
  border: 1px solid #f0e7d8;
  border-radius: 16px;
  background-color: #ffffff;
  box-shadow: 0 8px 22px rgba(31, 57, 90, .05);
  font-family: "Manrope", Arial, sans-serif;
  color: #1f395a;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 18px;
  row-gap: 0;
}

.nh-reviews-form.is-submitted {
  display: block;
  background-color: #FFF5E7;
  border-color: #ff6f42;
  padding: 64px 32px;
  text-align: center;
}

/* шапка и поле текста — на всю ширину */
.nh-reviews-form-head,
.nh-reviews-form-row-full,
.nh-reviews-form-consent,
.nh-reviews-form-actions,
.nh-reviews-form-status,
.nh-reviews-form-honeypot {
  grid-column: 1 / -1;
}

.nh-reviews-form-head {
  text-align: center;
  margin-bottom: 10px;
}

.nh-reviews-form-title {
  margin: 0 0 4px;
  font-family: "Foo", "Manrope", Arial, sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
  color: #143859;
  text-transform: uppercase;
  letter-spacing: .01em;
}

.nh-reviews-form-subtitle {
  font-size: 13px;
  line-height: 1.45;
}

/* Success card "Спасибо" — в стиле сайта */
.nh-reviews-form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 12px 0;
}
.nh-reviews-form-success-icon {
  display: inline-flex;
  width: 84px;
  height: 84px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #ff6f42;
  color: #ffffff;
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 14px 32px rgba(255, 111, 66, .28);
}
.nh-reviews-form-success-title {
  margin: 0;
  font-family: "Foo", "Manrope", Arial, sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.12;
  text-transform: uppercase;
  color: #143859;
  letter-spacing: .01em;
}
.nh-reviews-form-success-text {
  max-width: 540px;
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: #33373d;
}
.nh-reviews-form-success-note {
  font-family: "Manrope", Arial, sans-serif;
  font-size: 13px;
  color: #69727d;
  margin-top: 4px;
}

.nh-reviews-form-subtitle {
  margin: 0;
  color: #69727d;
  font-size: 15px;
  line-height: 1.55;
}

.nh-reviews-form-row {
  margin-bottom: 12px;
  position: relative;
}

.nh-reviews-form-label {
  display: block;
  margin-bottom: 4px;
  color: #1f395a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.nh-reviews-form-label-hint {
  display: inline;
  color: #69727d;
  font-weight: 400;
  font-size: 13px;
}

.nh-reviews-form-input,
.nh-reviews-form-textarea {
  display: block;
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid #f0e7d8;
  border-radius: 10px;
  background-color: #ffffff;
  color: #1f395a;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  transition-property: border-color, box-shadow;
  transition-duration: .22s;
}

.nh-reviews-form-input:focus,
.nh-reviews-form-textarea:focus {
  outline: none;
  border-color: #ff6f42;
  box-shadow: 0 0 0 3px rgba(255, 111, 66, .15);
}

.nh-reviews-form-input.is-invalid,
.nh-reviews-form-textarea.is-invalid {
  border-color: #b91c1c;
  background-color: #fef2f2;
}
.nh-reviews-form-input.is-invalid:focus,
.nh-reviews-form-textarea.is-invalid:focus {
  box-shadow: 0 0 0 3px rgba(185, 28, 28, .15);
}
.nh-reviews-form-input.is-valid,
.nh-reviews-form-textarea.is-valid {
  border-color: #15803d;
}
.nh-reviews-form-error {
  display: block;
  margin-top: 6px;
  color: #b91c1c;
  font-size: 12px;
  font-weight: 600;
  min-height: 1em;
}

.nh-reviews-form-textarea {
  resize: vertical;
  min-height: 90px;
}

.nh-reviews-form-counter {
  position: absolute;
  right: 12px;
  bottom: 8px;
  font-size: 11px;
  color: #69727d;
  pointer-events: none;
  background-color: rgba(255,255,255,.9);
  padding: 2px 6px;
  border-radius: 6px;
}

.nh-reviews-form-stars {
  display: inline-flex;
  gap: 4px;
}

.nh-reviews-form-star {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #e3d8c2;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition-property: color, transform;
  transition-duration: .15s;
}

.nh-reviews-form-star:hover,
.nh-reviews-form-star:focus-visible {
  transform: scale(1.18);
  outline: none;
}

.nh-reviews-form-star.is-active {
  color: #ff9900;
}

.nh-reviews-form-stars:hover .nh-reviews-form-star { color: #e3d8c2; }
.nh-reviews-form-stars:hover .nh-reviews-form-star.is-hover,
.nh-reviews-form-stars:hover .nh-reviews-form-star.is-hover ~ .nh-reviews-form-star { /* placeholder */ }
.nh-reviews-form-stars.is-hovering .nh-reviews-form-star { color: #e3d8c2; }
.nh-reviews-form-stars.is-hovering .nh-reviews-form-star.is-hover-active { color: #ff9900; }

.nh-reviews-form-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.nh-reviews-form-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 4px;
  margin-bottom: 14px;
  font-size: 12px;
  line-height: 1.45;
  color: #69727d;
  cursor: pointer;
}

.nh-reviews-form-consent input[type="checkbox"] {
  margin-top: 3px;
  accent-color: #ff6f42;
  flex: 0 0 auto;
}

.nh-reviews-form-actions {
  display: flex;
  justify-content: center;
}

.nh-reviews-form-actions .nh-reviews-btn {
  min-width: 180px;
  min-height: 44px;
  padding: 11px 22px;
  font-size: 14px;
}

.nh-reviews-form .nh-reviews-btn[disabled],
.nh-reviews-form .nh-reviews-btn.is-loading {
  opacity: .7;
  cursor: progress;
}

.nh-reviews-form-status {
  margin-top: 16px;
  padding: 0;
  font-size: 14px;
  line-height: 1.55;
  text-align: center;
  min-height: 1.5em;
}

.nh-reviews-form-status.is-error {
  color: #b91c1c;
  font-weight: 600;
}

.nh-reviews-form-status.is-success {
  color: #15803d;
  font-weight: 700;
  font-size: 16px;
  padding: 14px;
  background-color: rgba(21, 128, 61, .08);
  border-radius: 12px;
}

@media (max-width: 1024px) {
  .nh-reviews-form {
    padding: 32px 28px 28px;
    column-gap: 22px;
  }
}

@media (max-width: 767px) {
  .nh-reviews-form {
    padding: 28px 18px 24px;
    border-radius: 18px;
    grid-template-columns: 1fr;
    column-gap: 0;
  }
  .nh-reviews-form-title { font-size: 24px; }
  .nh-reviews-form-actions .nh-reviews-btn {
    width: 100%;
    min-width: 0;
  }
  .nh-reviews-form.is-submitted {
    padding: 44px 20px;
  }
  .nh-reviews-form-success-icon { width: 68px; height: 68px; font-size: 36px; }
  .nh-reviews-form-success-title { font-size: 24px; }
  .nh-reviews-form-success-text { font-size: 15px; }
}

.nh-reviews-trust-head {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.nh-reviews-logo-site {
  width: 42px;
  height: 42px;
  padding: 5px;
  border-radius: 12px;
  background-color: #FFF5E7;
}

.nh-reviews-logo-site img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nh-reviews-logo,
.nh-reviews-btn-icon,
.nh-reviews-share-brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  overflow: hidden;
}

.nh-reviews-logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background-color: #ffffff;
  box-shadow: 0 8px 18px rgba(31, 57, 90, .08);
}

.nh-reviews-logo img,
.nh-reviews-btn-icon img,
.nh-reviews-share-brand-icon img,
.nh-reviews-badge-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nh-reviews-btn-icon {
  width: 21px;
  height: 21px;
  margin-right: 8px;
  border-radius: 6px;
}

.nh-reviews-btn-icon-yandex { background-color: #ffffff; }
.nh-reviews-btn-icon-vk     { background-color: #0077ff; }

.nh-reviews-badge { gap: 5px; }

.nh-reviews-badge-logo {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  border-radius: 3px;
}

.nh-reviews-share-brand-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 12px;
  background-color: #ffffff;
  box-shadow: 0 10px 22px rgba(31, 57, 90, .08);
}

.nh-reviews-share-brand-icon img { padding: 4px; }

.nh-reviews-slider {
  position: relative;
  margin-top: 0;
  padding: 0 56px 42px;
}

.nh-reviews-slider-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  border-radius: 18px;
}

.nh-reviews-slider-viewport::-webkit-scrollbar { display: none; }

.nh-reviews-cards-grid.nh-reviews-slider-track {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 20px;
  align-items: stretch;
  padding: 2px 2px 8px;
}

.nh-reviews-cards-grid.nh-reviews-slider-track > .nh-reviews-card {
  flex: 0 0 calc((100% - 40px) / 3);
  max-width: calc((100% - 40px) / 3);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.nh-reviews-slider-btn {
  position: absolute;
  top: 42%;
  z-index: 3;
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid #f0e7d8;
  border-radius: 50%;
  background-color: #ffffff;
  color: #1f395a;
  box-shadow: 0 12px 28px rgba(31, 57, 90, .10);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition-property: transform, box-shadow, background-color, border-color, color;
  transition-duration: .22s;
  transition-timing-function: ease;
}

.nh-reviews-slider-btn:hover,
.nh-reviews-slider-btn:focus-visible {
  border-color: #ff6f42;
  background-color: #FFF5E7;
  color: #ff6f42;
  box-shadow: 0 16px 34px rgba(31, 57, 90, .13);
}

.nh-reviews-slider-btn:disabled {
  opacity: .42;
  cursor: default;
  transform: translateY(-50%);
  box-shadow: none;
}

.nh-reviews-slider-btn-prev { left: 0; }
.nh-reviews-slider-btn-next { right: 0; }

.nh-reviews-slider-dots {
  position: absolute;
  left: 56px;
  right: 56px;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.nh-reviews-slider-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: #f0e7d8;
  cursor: pointer;
  transition-property: transform, background-color;
  transition-duration: .22s;
  transition-timing-function: ease;
}

.nh-reviews-slider-dot:hover,
.nh-reviews-slider-dot:focus-visible,
.nh-reviews-slider-dot.nh-reviews-slider-dot-active {
  background-color: #ff6f42;
  transform: scale(1.22);
}

.nh-reviews-slider { padding-top: 4px; }

.nh-reviews-slider .nh-reviews-card {
  min-height: 255px;
  padding: 6px 10px 18px;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  box-shadow: none;
}

.nh-reviews-slider .nh-reviews-card:hover {
  transform: none;
  box-shadow: none;
}

.nh-reviews-slider .nh-reviews-card-top { margin-bottom: 9px; }

.nh-reviews-slider .nh-reviews-author {
  margin-bottom: 0;
  color: #143859;
  font-size: 18px;
  font-weight: 800;
}

.nh-reviews-slider .nh-reviews-badge {
  padding: 0;
  border-radius: 0;
  background-color: transparent;
  color: #69727d;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.nh-reviews-slider .nh-reviews-stars {
  margin-bottom: 14px;
  font-size: 17px;
}

.nh-reviews-slider .nh-reviews-text {
  color: #33373d;
  font-size: 16px;
  line-height: 1.72;
}

.nh-reviews-slider .nh-reviews-text-preview {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: calc(1.72em * 5);
  margin-bottom: 20px;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.nh-reviews-slider .nh-reviews-author {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 100%;
  word-break: break-word;
}

.nh-reviews-slider .nh-reviews-read-more {
  margin-top: auto;
  padding-top: 2px;
  font-size: 15px;
}

.nh-reviews-slider-track { gap: 34px; }

/* legacy duplicate flex-rule удалён — основная ширина задана в .nh-reviews-cards-grid.nh-reviews-slider-track > .nh-reviews-card выше и в media-queries */

.nh-reviews-card .nh-reviews-card-top {
  align-items: flex-start;
  margin-bottom: 14px;
}

.nh-reviews-card .nh-reviews-author-wrap { width: 100%; }

.nh-reviews-title-with-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  width: 100%;
}

.nh-reviews-heading-logo {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #f0e7d8;
  border-radius: 14px;
  background-color: #ffffff;
}

.nh-reviews-heading-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nh-reviews-heading-logo-site {
  padding: 5px;
  background-color: #FFF5E7;
}

.nh-reviews-heading-logo-yandex { padding: 4px; }

.nh-reviews-heading-logo-vk {
  padding: 6px;
  background-color: #0077ff;
}

.nh-reviews-slider .nh-reviews-card,
.nh-reviews-slider .nh-reviews-card:hover,
.nh-reviews-slider-btn,
.nh-reviews-slider-btn:hover,
.nh-reviews-slider-btn:focus-visible,
.nh-reviews-slider-btn:disabled {
  box-shadow: none;
}

.nh-reviews-slider .nh-reviews-card {
  justify-content: flex-start;
}

.nh-reviews-slider .nh-reviews-text-preview { margin-bottom: 18px; }
.nh-reviews-slider .nh-reviews-read-more { margin-top: auto; }
.nh-reviews-slider { padding-bottom: 4px; }
.nh-reviews-slider-dots { display: none; }

.nh-reviews-read-more {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: fit-content;
  margin-top: 14px;
  padding: 0;
  border: 0;
  background-color: transparent;
  color: #ff6f42;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  cursor: pointer;
  text-decoration: none;
  transition-property: color, transform;
  transition-duration: .22s;
  transition-timing-function: ease;
}

.nh-reviews-read-more:hover,
.nh-reviews-read-more:focus-visible {
  color: #ff470f;
  transform: translateX(2px);
}

.nh-reviews-read-more::after {
  content: "→";
  margin-left: 7px;
  font-size: 16px;
  line-height: 1;
}

.nh-reviews-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.nh-reviews-modal.nh-reviews-modal-open { display: flex; }

.nh-reviews-modal-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(31, 57, 90, .42);
}

.nh-reviews-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(82vh, 760px);
  overflow: auto;
  padding: 34px 32px 30px;
  border: 1px solid #f0e7d8;
  border-radius: 22px;
  background-color: #ffffff;
  box-shadow: 0 24px 70px rgba(31, 57, 90, .22);
  color: #1f395a;
}

.nh-reviews-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid #f0e7d8;
  border-radius: 50%;
  background-color: #FFF5E7;
  color: #1f395a;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition-property: color, background-color, border-color, transform;
  transition-duration: .22s;
  transition-timing-function: ease;
}

.nh-reviews-modal-close:hover,
.nh-reviews-modal-close:focus-visible {
  transform: translateY(-1px);
  border-color: #ff6f42;
  background-color: #ffffff;
  color: #ff6f42;
}

.nh-reviews-modal-top {
  display: block;
  padding-right: 42px;
  margin-bottom: 22px;
}

.nh-reviews-modal-title {
  margin: 0 0 7px;
  color: #143859;
  font-family: "Foo", "Manrope", Arial, sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.12;
  text-transform: uppercase;
}

.nh-reviews-modal-stars {
  color: #ff9900;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 2px;
}

.nh-reviews-modal-text {
  margin: 0;
  color: #33373d;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.72;
  white-space: pre-line;
}

@media (max-width: 1024px) {
  .nh-reviews-container {
    padding-top: 58px;
    padding-bottom: 64px;
  }
  .nh-reviews-title { font-size: 36px; }
  .nh-reviews-list-title,
  .nh-reviews-leave-title { font-size: 29px; }
  .nh-reviews-vk-title { font-size: 24px; }

  .nh-reviews-trust-grid,
  .nh-reviews-cards-grid,
  .nh-reviews-share-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nh-reviews-share-grid .nh-reviews-share-card:last-child {
    grid-column: 1 / -1;
  }

  .nh-reviews-slider {
    padding-right: 52px;
    padding-left: 52px;
  }

  .nh-reviews-cards-grid.nh-reviews-slider-track > .nh-reviews-card {
    flex: 0 0 calc((100% - 20px) / 2);
    max-width: calc((100% - 20px) / 2);
  }
}

@media (max-width: 767px) {
  .nh-reviews-slider {
    padding-bottom: 0;
    margin-right: -16px;
    margin-left: -16px;
    padding: 0 0 78px;
  }

  /* Mobile arrows: large, orange, anchored to the bottom of the slider */
  .nh-reviews-slider-btn {
    display: inline-flex;
    top: auto;
    bottom: 14px;
    width: 52px;
    height: 52px;
    border: 0;
    background-color: #ff6f42;
    color: #ffffff;
    font-size: 30px;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(255, 111, 66, .35);
    transform: none;
    transition-property: background-color, box-shadow, transform, opacity;
  }

  .nh-reviews-slider-btn:hover,
  .nh-reviews-slider-btn:focus-visible,
  .nh-reviews-slider-btn:active {
    background-color: #ff470f;
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 14px 28px rgba(255, 71, 15, .45);
    transform: scale(1.04);
  }

  .nh-reviews-slider-btn:disabled,
  .nh-reviews-slider-btn[disabled] {
    background-color: #ffd6c5;
    color: #ffffff;
    opacity: 1;
    box-shadow: none;
    transform: none;
    cursor: default;
  }

  .nh-reviews-slider-btn-prev { left: 16px; right: auto; }
  .nh-reviews-slider-btn-next { right: 16px; left: auto; }

  .nh-reviews-slider-viewport { cursor: grab; }

  .nh-reviews-modal {
    align-items: flex-start;
    justify-content: center;
    padding: 12px;
    overflow-y: auto;
  }

  .nh-reviews-modal-dialog {
    width: 100%;
    max-height: calc(100dvh - 24px);
    margin: 0 auto;
    overflow-y: auto;
    padding: 28px 20px 24px;
    border-radius: 18px;
  }

  .nh-reviews-modal-close {
    position: sticky;
    top: 0;
    float: right;
    margin-top: -8px;
    margin-right: -8px;
  }

  .nh-reviews-container {
    padding: 44px 16px 52px;
  }

  .nh-reviews-header { margin-bottom: 28px; }

  .nh-reviews-title-with-logo { gap: 8px; }

  .nh-reviews-heading-logo {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    border-radius: 10px;
  }

  .nh-reviews-title,
  .nh-reviews-list-title,
  .nh-reviews-vk-title,
  .nh-reviews-leave-title { font-size: 32px; }

  .nh-reviews-subtitle,
  .nh-reviews-section-subtitle {
    font-size: 15px;
    line-height: 1.55;
  }

  .nh-reviews-actions,
  .nh-reviews-vk-action {
    align-items: stretch;
    flex-direction: column;
  }

  .nh-reviews-btn {
    width: 100%;
    min-height: 52px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .nh-reviews-trust-grid,
  .nh-reviews-cards-grid,
  .nh-reviews-share-grid {
    grid-template-columns: 1fr;
  }

  .nh-reviews-slider .nh-reviews-card {
    min-height: 255px;
    padding: 4px 2px 16px;
  }

  .nh-reviews-slider .nh-reviews-author { font-size: 17px; }
  .nh-reviews-slider .nh-reviews-text {
    font-size: 15px;
    line-height: 1.65;
  }

  .nh-reviews-slider-viewport {
    padding-right: 16px;
    padding-left: 16px;
    scroll-padding-left: 16px;
    border-radius: 0;
  }

  .nh-reviews-cards-grid.nh-reviews-slider-track {
    gap: 14px;
    padding-right: 16px;
    padding-left: 0;
  }

  /* На мобиле — 1 карточка = 1 свайп, видна вся целиком */
  .nh-reviews-cards-grid.nh-reviews-slider-track > .nh-reviews-card {
    flex: 0 0 calc(100vw - 56px);
    max-width: calc(100vw - 56px);
    scroll-snap-align: center;
  }

  .nh-reviews-trust-grid { margin-bottom: 50px; }
  .nh-reviews-trust-card { min-height: 140px; }

  .nh-reviews-logo-site {
    width: 38px;
    height: 38px;
    padding: 4px;
  }

  .nh-reviews-card { padding: 24px 20px; }

  .nh-reviews-yandex-section,
  .nh-reviews-vk-section,
  .nh-reviews-leave-section { margin-top: 56px; }

  .nh-reviews-vk-box {
    height: 390px;
    padding: 12px;
    border-radius: 16px;
  }

  .nh-reviews-vk-box.nh-reviews-vk-expanded { height: 640px; }
  .nh-reviews-vk-scroll { padding-right: 5px; }
  .nh-reviews-vk-fade { height: 76px; }

  .nh-reviews-vk-action {
    flex-direction: column;
    align-items: stretch;
  }

  .nh-reviews-vk-more { width: 100%; }

  .nh-reviews-leave-section {
    padding: 0;
    border-radius: 0;
  }

  .nh-reviews-share-grid .nh-reviews-share-card:last-child {
    grid-column: auto;
  }

  .nh-reviews-share-card {
    min-height: 176px;
    padding: 24px 44px 22px 20px;
  }

  .nh-reviews-leave-section .nh-reviews-section-heading-center {
    max-width: 100%;
  }

  .nh-reviews-modal-title { font-size: 24px; }

  .nh-reviews-modal-text {
    font-size: 15px;
    line-height: 1.65;
  }

  .nh-reviews-modal-top { padding-right: 34px; }
}

@media (max-width: 360px) {
  .nh-reviews-container {
    padding-right: 16px;
    padding-left: 16px;
  }

  .nh-reviews-title,
  .nh-reviews-list-title,
  .nh-reviews-vk-title,
  .nh-reviews-leave-title { font-size: 28px; }

  .nh-reviews-text,
  .nh-reviews-share-text { font-size: 14px; }

  .nh-reviews-trust-number { font-size: 38px; }
  .nh-reviews-share-title  { font-size: 20px; }

  .nh-reviews-vk-box { height: 360px; }
  .nh-reviews-vk-box.nh-reviews-vk-expanded { height: 600px; }

  .nh-reviews-cards-grid.nh-reviews-slider-track > .nh-reviews-card {
    flex: 0 0 calc(100vw - 48px);
    max-width: calc(100vw - 48px);
  }
}
