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

body.itemid-103 #services_page .bread-titel-wrap,
body.itemid-103 #services_page .left_menu,
body.itemid-103 #left_menu,
body.itemid-103 .baner_vertical_wrapper,
body.itemid-103 #questions-block,
body.itemid-103 #b-footer .b-consult-form {
  display: none !important;
}

body.itemid-103 #content,
body.itemid-103 #services_page,
body.itemid-103 #services_page [itemprop="articleBody"],
body.itemid-103 #services_page .services_page__container,
body.itemid-103 #services_page .promotin_page__wrap,
body.itemid-103 #services_page .services__content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.itemid-103 #services_page .promotin_page__wrap {
  display: block !important;
}

.ys-services {
  --ys-green: #2fb991;
  --ys-green-dark: #167d68;
  --ys-blue: #54b4d1;
  --ys-navy: #18223d;
  --ys-text: #1e2430;
  --ys-muted: #58616c;
  --ys-line: #dfe4e7;
  --ys-warm: #f8f5f1;
  width: 100%;
  overflow: hidden;
  color: var(--ys-text);
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

.ys-services,
.ys-services * {
  box-sizing: border-box;
}

.ys-services a {
  color: inherit;
  text-decoration: none;
}

.ys-services p,
.ys-services ul,
.ys-services h1,
.ys-services h2,
.ys-services h3 {
  margin-top: 0;
}

.ys-services__inner {
  width: min(1280px, calc(100% - 64px));
  margin-right: auto;
  margin-left: auto;
}

.ys-services__hero {
  min-height: 430px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #ede9e3;
  background: #faf8f5 url("/images/yasnost-services/hero-vase.png") center / cover no-repeat;
}

.ys-services__hero-copy {
  width: 53%;
  padding: 64px 0 70px;
}

.ys-services__hero-title,
.ys-services__section-title,
.ys-services__request-card h3,
.ys-services__soft-cta h3,
.ys-services__format-item h3,
.ys-services__step h3,
.ys-services__price-strip h3,
.ys-services__bottom-cta h2 {
  color: var(--ys-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.ys-services__hero-title {
  margin-bottom: 24px;
  font-size: 56px;
  line-height: 1.08;
  letter-spacing: -0.7px;
}

.ys-services__hero-copy p {
  max-width: 610px;
  margin-bottom: 30px;
  font-size: 18px;
  line-height: 1.6;
}

.ys-services__button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  border: 1px solid var(--ys-green-dark);
  border-radius: 4px;
  background: var(--ys-green-dark);
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.15px;
  text-align: center;
  text-transform: uppercase;
  transition: background-color 180ms ease-out, color 180ms ease-out;
}

.ys-services__button:hover,
.ys-services__button:focus-visible {
  background: #116b59;
  color: #fff !important;
}

.ys-services__button--outline {
  background: #fff;
  color: var(--ys-green-dark) !important;
}

.ys-services__button--outline:hover,
.ys-services__button--outline:focus-visible {
  background: var(--ys-green-dark);
  color: #fff !important;
}

.ys-services__button:focus-visible,
.ys-services__price-link:focus-visible,
.ys-services summary:focus-visible {
  outline: 3px solid rgba(84, 180, 209, 0.48);
  outline-offset: 3px;
}

.ys-services__section {
  padding: 44px 0;
}

.ys-services__section-title {
  margin-bottom: 22px;
  font-size: 30px;
  line-height: 1.18;
}

.ys-services__requests {
  padding-bottom: 26px;
}

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

.ys-services__request-card {
  min-height: 286px;
  padding: 26px 24px 24px;
  border: 1px solid var(--ys-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 3px 14px rgba(31, 44, 54, 0.025);
}

.ys-services__request-head {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 15px;
}

.ys-services__icon {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: block;
  object-fit: contain;
  transform-origin: center;
  transition: transform 180ms ease-out;
}

.ys-services__icon:hover {
  transform: scale(1.1);
}

.ys-services__request-card h3 {
  margin-bottom: 0;
  font-size: 20px;
  line-height: 1.25;
}

.ys-services__request-card ul {
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

.ys-services__request-card li {
  margin: 8px 0;
  color: #2c6372;
  font-size: 14px;
}

.ys-services__request-card li::before {
  content: "";
  width: 5px;
  height: 5px;
  display: inline-block;
  margin: 0 9px 2px 0;
  border-radius: 50%;
  background: var(--ys-blue);
}

.ys-services__soft-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: center;
  margin-top: 26px;
  padding: 28px 34px;
  border-radius: 8px;
  background: linear-gradient(110deg, #faf8f5, #f6f2ed);
}

.ys-services__soft-cta h3 {
  margin-bottom: 6px;
  font-size: 23px;
  line-height: 1.2;
}

.ys-services__soft-cta p {
  max-width: 800px;
  margin-bottom: 0;
  color: #47505c;
}

.ys-services__formats {
  padding-top: 26px;
}

.ys-services__format-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--ys-line);
  border-bottom: 1px solid var(--ys-line);
}

.ys-services__format-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding: 28px 26px;
}

.ys-services__format-item + .ys-services__format-item {
  border-left: 1px solid var(--ys-line);
}

.ys-services__format-item h3 {
  margin-bottom: 5px;
  font-size: 19px;
  line-height: 1.2;
}

.ys-services__format-item p {
  margin-bottom: 0;
  color: #4f5762;
  font-size: 14px;
}

.ys-services__steps {
  padding-top: 28px;
}

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

.ys-services__step {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: start;
}

.ys-services__step-number {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f3f0ec;
  color: var(--ys-navy);
  font: 400 28px/1 Georgia, "Times New Roman", serif;
  transform-origin: center;
  transition: transform 180ms ease-out;
}

.ys-services__step-number:hover {
  transform: scale(1.1);
}

.ys-services__step h3 {
  margin: 2px 0 6px;
  font-size: 18px;
  line-height: 1.25;
}

.ys-services__step p {
  margin-bottom: 0;
  color: #4f5762;
  font-size: 14px;
}

.ys-services__price-strip {
  display: grid;
  grid-template-columns: 62px 1fr auto;
  gap: 20px;
  align-items: center;
  margin-top: 30px;
  padding: 24px 30px;
  border-radius: 8px;
  background: #fbf9f6;
}

.ys-services__price-strip h3 {
  margin-bottom: 4px;
  font-size: 19px;
  line-height: 1.2;
}

.ys-services__price-strip p {
  margin-bottom: 0;
  color: #4f5762;
  font-size: 14px;
}

.ys-services__price-link {
  color: var(--ys-green-dark) !important;
  font-weight: 700;
  text-decoration: underline !important;
  text-underline-offset: 4px;
  white-space: nowrap;
}

.ys-services__faq {
  padding-top: 22px;
}

.ys-services__faq-list {
  border-top: 1px solid #d5dce0;
}

.ys-services__faq details {
  border-bottom: 1px solid #d5dce0;
}

.ys-services__faq summary {
  position: relative;
  padding: 15px 48px 15px 18px;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 600;
}

.ys-services__faq summary::-webkit-details-marker {
  display: none;
}

.ys-services__faq summary::after {
  content: "+";
  position: absolute;
  top: 11px;
  right: 18px;
  color: var(--ys-navy);
  font-size: 24px;
}

.ys-services__faq details[open] summary::after {
  content: "−";
}

.ys-services__faq details p {
  max-width: 980px;
  margin-bottom: 0;
  padding: 0 18px 17px;
  color: #555f6b;
  font-size: 14px;
}

.ys-services__bottom-cta {
  width: min(1280px, calc(100% - 64px));
  min-height: 260px;
  display: flex;
  align-items: center;
  margin: 12px auto 50px;
  overflow: hidden;
  border-radius: 9px;
  background: #f8f4ed url("/images/yasnost-services/cta-chair.png") center / cover no-repeat;
}

.ys-services__bottom-copy {
  width: 54%;
  padding: 38px 40px;
}

.ys-services__bottom-cta h2 {
  margin-bottom: 14px;
  font-size: 31px;
  line-height: 1.15;
}

.ys-services__bottom-cta p {
  max-width: 510px;
  margin-bottom: 20px;
  color: #39424d;
}

@media (max-width: 1000px) {
  .ys-services__request-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ys-services__request-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .ys-services__inner,
  .ys-services__bottom-cta {
    width: min(100% - 32px, 640px);
  }

  .ys-services__hero {
    min-height: 520px;
    background-position: 62% center;
  }

  .ys-services__hero-copy {
    width: 100%;
    padding: 38px 0 230px;
    background: linear-gradient(180deg, rgba(255,255,255,0.96) 0 58%, rgba(255,255,255,0) 78%);
  }

  .ys-services__hero-title {
    font-size: 39px;
    letter-spacing: -0.3px;
  }

  .ys-services__hero-copy p {
    font-size: 16px;
  }

  .ys-services__request-grid,
  .ys-services__format-grid,
  .ys-services__step-grid,
  .ys-services__soft-cta {
    grid-template-columns: 1fr;
  }

  .ys-services__request-card:last-child {
    grid-column: auto;
  }

  .ys-services__format-item + .ys-services__format-item {
    border-top: 1px solid var(--ys-line);
    border-left: 0;
  }

  .ys-services__price-strip {
    grid-template-columns: 54px 1fr;
    padding: 22px 20px;
  }

  .ys-services__price-link {
    grid-column: 2;
  }

  .ys-services__bottom-cta {
    min-height: 430px;
    align-items: flex-start;
    background-position: 66% center;
  }

  .ys-services__bottom-copy {
    width: 100%;
    padding: 30px 26px 230px;
    background: linear-gradient(180deg, rgba(255,255,255,0.95) 0 58%, rgba(255,255,255,0) 80%);
  }

  .ys-services__bottom-cta h2 {
    font-size: 28px;
  }
}

@media (max-width: 420px) {
  .ys-services__hero-title {
    font-size: 34px;
  }

  .ys-services__section-title {
    font-size: 27px;
  }

  .ys-services__soft-cta {
    padding: 24px 22px;
  }

  .ys-services__button {
    width: 100%;
    padding-right: 18px;
    padding-left: 18px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ys-services__icon,
  .ys-services__step-number,
  .ys-services__button {
    transition: none;
  }
}
