/* Страница «Отзывы», Joomla 3 / Protostar. Область действия ограничена itemid-106. */

body.itemid-106 #comments-page .bread-titel-wrap,
body.itemid-106 #comments-page .left_menu,
body.itemid-106 #left_menu,
body.itemid-106 .baner_vertical_wrapper,
body.itemid-106 #questions-block {
  display: none !important;
}

body.itemid-106 #content,
body.itemid-106 #comments-page,
body.itemid-106 #comments-page > [itemprop="articleBody"] {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.yas-reviews {
  --yas-green: #2fb991;
  --yas-green-dark: #087f6d;
  --yas-blue: #54b4d1;
  --yas-navy: #102f5f;
  --yas-text: #17325a;
  --yas-muted: #60708a;
  --yas-line: #dbe3e8;
  --yas-quote: #ecdfd4;
  --yas-shadow: 0 18px 42px rgba(16, 47, 95, 0.07);
  --yas-radius: 6px;
  --yas-container: 1180px;
  width: 100%;
  margin: 0;
  overflow: hidden;
  color: var(--yas-text);
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.48;
  -webkit-font-smoothing: antialiased;
}

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

.yas-reviews button,
.yas-reviews summary,
.yas-reviews a {
  -webkit-tap-highlight-color: transparent;
}

.yas-reviews button {
  font: inherit;
}

.yas-reviews a {
  color: inherit;
}

.yas-reviews__shell {
  width: min(var(--yas-container), calc(100% - 64px));
  margin-right: auto;
  margin-left: auto;
}

.yas-reviews__hero {
  min-height: 430px;
  margin-top: 18px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #ede9e3;
  background: #faf8f5 url("/images/yasnost-reviews/reviews-hero.webp") center / cover no-repeat;
}

.yas-reviews__hero-copy {
  width: min(58%, 640px);
  padding: 64px 0 70px;
}

.yas-reviews__title {
  max-width: 660px;
  margin: 0;
  color: var(--yas-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(39px, 4.25vw, 52px);
  font-weight: 400;
  line-height: 1.01;
  letter-spacing: -0.025em;
}

.yas-reviews__intro {
  max-width: 635px;
  margin: 17px 0 21px;
  color: var(--yas-text);
  font-size: 14px;
  line-height: 1.54;
}

.yas-reviews__button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 28px;
  border: 1px solid var(--yas-green-dark);
  border-radius: 4px;
  color: #fff !important;
  background: var(--yas-green-dark);
  box-shadow: 0 8px 18px rgba(8, 127, 109, 0.14);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.yas-reviews__button:hover,
.yas-reviews__button:focus-visible {
  color: #fff !important;
  background: #066e5f;
  box-shadow: 0 10px 22px rgba(8, 127, 109, 0.2);
  outline: none;
  transform: translateY(-2px);
}

.yas-reviews__button-arrow,
.yas-reviews__link-arrow {
  display: inline-block;
  font-size: 19px;
  font-weight: 400;
  line-height: 1;
  transition: transform 180ms ease;
}

.yas-reviews__button:hover .yas-reviews__button-arrow,
.yas-reviews__link:hover .yas-reviews__link-arrow {
  transform: translateX(4px);
}

.yas-reviews__content {
  padding: 14px 0 26px;
}

.yas-reviews__confidence {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 18px;
  align-items: center;
  padding: 16px 24px;
  border: 1px solid #eef0ee;
  border-radius: var(--yas-radius);
  background: linear-gradient(102deg, #fbfaf7 0%, #f8f6f2 64%, #f4f7f5 100%);
}

.yas-reviews__animated-icon {
  position: relative;
  width: 58px;
  height: 58px;
  color: var(--yas-blue);
  filter: drop-shadow(0 7px 10px rgba(84, 180, 209, 0.12));
  transform-origin: 50% 55%;
  animation: yasReviewsIconFloat 4.2s ease-in-out infinite;
}

.yas-reviews__animated-icon::after {
  content: "";
  position: absolute;
  inset: 7px;
  z-index: -1;
  border: 1px solid rgba(84, 180, 209, 0.24);
  border-radius: 50%;
  animation: yasReviewsIconHalo 4.2s ease-out infinite;
}

.yas-reviews__animated-icon--people {
  animation-delay: -1.35s;
}

.yas-reviews__animated-icon--people::after {
  animation-delay: -1.35s;
}

.yas-reviews__animated-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.yas-reviews__confidence h2,
.yas-reviews__specialists h2,
.yas-reviews__faq h2,
.yas-reviews__contact h2 {
  margin: 0;
  color: var(--yas-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.15;
}

.yas-reviews__confidence p {
  margin: 6px 0 0;
  color: var(--yas-text);
  font-size: 13px;
  line-height: 1.47;
}

.yas-reviews__controls {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-top: 18px;
  border-bottom: 1px solid var(--yas-line);
}

.yas-reviews__tabs {
  min-width: 0;
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}

.yas-reviews__tabs::-webkit-scrollbar {
  display: none;
}

.yas-reviews__tab {
  position: relative;
  min-height: 48px;
  flex: 0 0 auto;
  padding: 0 20px;
  border: 0;
  color: var(--yas-navy);
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.yas-reviews__tab::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: -1px;
  left: 10px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--yas-green-dark);
  opacity: 0;
  transform: scaleX(0.3);
  transition: opacity 200ms ease, transform 200ms ease;
}

.yas-reviews__tab:hover,
.yas-reviews__tab:focus-visible,
.yas-reviews__tab[aria-selected="true"] {
  color: var(--yas-green-dark);
  outline: none;
}

.yas-reviews__tab[aria-selected="true"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.yas-reviews__leave-review {
  min-height: 48px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  color: var(--yas-green-dark) !important;
  font-size: 13px;
  font-weight: 700;
  text-underline-offset: 4px;
}

.yas-reviews__leave-review svg {
  width: 18px;
  height: 18px;
}

.yas-reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 14px 0 16px;
}

.yas-reviews__card {
  min-height: 174px;
  display: flex;
  flex-direction: column;
  padding: 13px 14px 10px;
  border: 1px solid var(--yas-line);
  border-radius: var(--yas-radius);
  background: #fff;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.yas-reviews__card:hover {
  border-color: #bfd1d9;
  box-shadow: var(--yas-shadow);
  transform: translateY(-3px);
}

.yas-reviews__card[hidden] {
  display: none;
}

.yas-reviews__card-body {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 10px;
  flex: 1;
}

.yas-reviews__quote {
  margin-top: -2px;
  color: var(--yas-quote);
  font-family: Georgia, serif;
  font-size: 50px;
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.12em;
  transform: translateX(-2px);
}

.yas-reviews__topic {
  margin: 0 0 7px;
  color: var(--yas-muted);
  font-size: 11px;
  line-height: 1.3;
}

.yas-reviews__card-text {
  margin: 0;
  color: var(--yas-text);
  font-size: 12px;
  line-height: 1.45;
}

.yas-reviews__card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid #edf0f2;
  color: var(--yas-green-dark) !important;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.32;
  text-decoration: none !important;
}

.yas-reviews__card-link:hover,
.yas-reviews__card-link:focus-visible {
  color: #075f53 !important;
  outline: none;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

.yas-reviews__specialists {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 19px;
  align-items: center;
  margin-top: 2px;
  padding: 16px 24px;
  border-radius: var(--yas-radius);
  background: linear-gradient(100deg, #f6f8f4 0%, #f7f8f5 52%, #eef4f1 100%);
}

.yas-reviews__specialists p {
  max-width: 650px;
  margin: 6px 0 0;
  color: var(--yas-text);
  font-size: 13px;
  line-height: 1.43;
}

.yas-reviews__specialist-actions {
  min-width: 235px;
  display: grid;
  gap: 9px;
}

.yas-reviews__specialist-actions .yas-reviews__button {
  min-width: 235px;
}

.yas-reviews__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--yas-green-dark) !important;
  font-size: 13px;
  font-weight: 700;
  text-underline-offset: 4px;
}

.yas-reviews__faq {
  padding: 15px 0 10px;
}

.yas-reviews__faq-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 10px;
}

.yas-reviews__faq-heading .yas-reviews__link {
  font-size: 12px;
}

.yas-reviews__faq-list {
  overflow: hidden;
  border-top: 1px solid var(--yas-line);
  border-right: 1px solid var(--yas-line);
  border-left: 1px solid var(--yas-line);
  border-radius: 4px;
}

.yas-reviews__faq details {
  border-bottom: 1px solid var(--yas-line);
  background: #fff;
}

.yas-reviews__faq details[open] {
  background: #fbfcfc;
}

.yas-reviews__faq summary {
  position: relative;
  padding: 10px 52px 10px 18px;
  color: var(--yas-navy);
  cursor: pointer;
  list-style: none;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.yas-reviews__faq summary::-webkit-details-marker {
  display: none;
}

.yas-reviews__faq summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--yas-navy);
  border-bottom: 2px solid var(--yas-navy);
  transform: translateY(-65%) rotate(45deg);
  transition: transform 200ms ease;
}

.yas-reviews__faq details[open] summary::after {
  transform: translateY(-35%) rotate(225deg);
}

.yas-reviews__faq summary:focus-visible,
.yas-reviews__tab:focus-visible,
.yas-reviews__leave-review:focus-visible,
.yas-reviews__link:focus-visible,
.yas-reviews__card-link:focus-visible,
.yas-reviews__button:focus-visible {
  outline: 2px solid var(--yas-blue);
  outline-offset: 3px;
}

.yas-reviews__faq-answer {
  max-width: 1000px;
  margin: 0;
  padding: 0 52px 14px 18px;
  color: #445875;
  font-size: 13px;
  line-height: 1.58;
}

.yas-reviews__contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  margin-top: 4px;
  padding: 21px 26px;
  border-radius: var(--yas-radius);
  background: linear-gradient(104deg, #f7f3ee 0%, #faf8f5 58%, #f2eee8 100%);
}

.yas-reviews__contact p {
  max-width: 690px;
  margin: 9px 0 0;
  color: var(--yas-text);
  font-size: 13px;
  line-height: 1.47;
}

.yas-reviews__contact-actions {
  display: grid;
  gap: 9px;
  justify-items: stretch;
}

.yas-reviews__contact-hours {
  color: #3b4f69;
  font-size: 12px;
  line-height: 1.45;
  text-align: left;
}

@keyframes yasReviewsIconFloat {
  0%, 100% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(-5px) rotate(-1.5deg);
  }
}

@keyframes yasReviewsIconHalo {
  0%, 45% {
    opacity: 0;
    transform: scale(0.78);
  }

  65% {
    opacity: 0.46;
  }

  100% {
    opacity: 0;
    transform: scale(1.28);
  }
}

@media (max-width: 1000px) {
  .yas-reviews__hero {
    min-height: 430px;
    background-position: right center;
  }

  .yas-reviews__hero-copy {
    width: 62%;
  }

  .yas-reviews__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .yas-reviews__specialists {
    grid-template-columns: 70px 1fr;
  }

  .yas-reviews__specialist-actions {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .yas-reviews__shell {
    width: min(100% - 34px, 640px);
  }

  .yas-reviews__hero {
    position: relative;
    min-height: 520px;
    align-items: flex-start;
    background: #faf8f5 url("/images/yasnost-reviews/reviews-hero.webp") right center / cover no-repeat;
  }

  .yas-reviews__hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0 55%, rgba(255, 255, 255, 0) 76%);
    pointer-events: none;
  }

  .yas-reviews__hero .yas-reviews__shell {
    position: relative;
    z-index: 1;
  }

  .yas-reviews__hero-copy {
    width: 100%;
    padding: 38px 0 230px;
  }

  .yas-reviews__title {
    font-size: clamp(39px, 12vw, 54px);
  }

  .yas-reviews__intro {
    font-size: 15px;
  }

  .yas-reviews__confidence {
    grid-template-columns: 58px 1fr;
    padding: 18px;
  }

  .yas-reviews__animated-icon {
    width: 52px;
    height: 52px;
  }

  .yas-reviews__confidence h2,
  .yas-reviews__specialists h2,
  .yas-reviews__faq h2,
  .yas-reviews__contact h2 {
    font-size: 24px;
  }

  .yas-reviews__controls {
    align-items: center;
  }

  .yas-reviews__tabs {
    margin-right: -10px;
  }

  .yas-reviews__tab {
    min-height: 49px;
    padding-right: 15px;
    padding-left: 15px;
  }

  .yas-reviews__leave-review {
    width: 40px;
    min-height: 40px;
    justify-content: center;
  }

  .yas-reviews__leave-review span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .yas-reviews__grid {
    grid-template-columns: 1fr;
  }

  .yas-reviews__card {
    min-height: 0;
  }

  .yas-reviews__specialists {
    grid-template-columns: 54px 1fr;
    gap: 16px;
    padding: 21px 18px;
  }

  .yas-reviews__specialist-actions {
    grid-column: 1 / -1;
    justify-self: stretch;
  }

  .yas-reviews__specialist-actions .yas-reviews__button {
    width: 100%;
    min-width: 0;
  }

  .yas-reviews__contact {
    grid-template-columns: 1fr;
    padding: 23px 20px;
  }

  .yas-reviews__contact-actions {
    justify-self: stretch;
  }

  .yas-reviews__contact-actions .yas-reviews__button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .yas-reviews__shell {
    width: min(100% - 26px, 390px);
  }

  .yas-reviews__hero {
    background-position: right center;
  }

  .yas-reviews__hero-copy {
    width: 100%;
    padding: 40px 0 43px;
  }

  .yas-reviews__title {
    max-width: 340px;
    font-size: 39px;
  }

  .yas-reviews__intro {
    margin-top: 18px;
    line-height: 1.55;
  }

  .yas-reviews__button {
    width: 100%;
    padding-right: 18px;
    padding-left: 18px;
  }

  .yas-reviews__confidence {
    grid-template-columns: 1fr;
  }

  .yas-reviews__confidence .yas-reviews__animated-icon {
    margin-bottom: -2px;
  }

  .yas-reviews__controls {
    margin-top: 12px;
  }

  .yas-reviews__card-body {
    grid-template-columns: 40px 1fr;
  }

  .yas-reviews__quote {
    font-size: 54px;
  }

  .yas-reviews__faq-heading .yas-reviews__link {
    display: none;
  }

  .yas-reviews__faq summary {
    padding-left: 15px;
    font-size: 13px;
  }

  .yas-reviews__faq-answer {
    padding-right: 32px;
    padding-left: 15px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .yas-reviews *,
  .yas-reviews *::before,
  .yas-reviews *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
