/*
 * Категорийные SEO-страницы и связанные списки услуг.
 * Плоская фирменная стилистика: фиолетовые и золотые заливки,
 * простые линейные иконки, без градиентов и декоративных бейджей.
 */

.service-category-page,
.price-category-services {
  box-sizing: border-box;
  width: 100%;
  color: #292232;
  font-family: "cregular", robotolight, tahoma, sans-serif;
}

.service-category-page *,
.price-category-services * {
  box-sizing: border-box;
}

.service-category-page svg,
.price-category-services svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-category-page {
  margin: 30px 0 55px;
}

.service-category-page__lead {
  max-width: 1120px;
  margin: 0;
  color: #3c3244;
  font-size: 22px;
  line-height: 1.55;
}

.service-category-page__acceptance {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 42px;
  align-items: center;
  margin-top: 32px;
  padding: 28px 32px;
  background: #42315e;
  color: #fff;
}

.service-category-page__acceptance h2 {
  margin: 0 0 10px;
  color: #fff;
}

.service-category-page__acceptance p {
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-size: 16px;
  line-height: 1.55;
}

.service-category-page__acceptance-note {
  padding: 18px 20px;
  background: rgba(255, 255, 255, .08);
}

.service-category-page__columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.service-category-page__panel {
  min-width: 0;
  min-height: 100%;
  padding: 30px 34px 32px;
  border-top: 0px solid #c98b02;
  border-radius: 0;
}

.service-category-page__panel--waste {
  background: #f1edf4;
}

.service-category-page__panel--request {
  background: #42315e;
  color: #fff;
}

.service-category-page__panel-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.service-category-page__panel-icon {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #9b6900;
}

.service-category-page__panel--request .service-category-page__panel-icon {
  background: transparent;
  color: #e0a51d;
}

.service-category-page h2 {
  margin: 0;
  color: #452d5f;
  font-family: "cmedium", "cregular", robotolight, tahoma, sans-serif;
  font-size: 25px;
  font-weight: normal;
  line-height: 1.25;
}

.service-category-page__panel--request h2 {
  color: #fff;
}

.service-category-page__panel p {
  margin: 0 0 14px;
  color: #675d6e;
  font-size: 16px;
  line-height: 1.6;
}

.service-category-page__panel p:last-child {
  margin-bottom: 0;
}

.service-category-page__panel--request p {
  color: rgba(255, 255, 255, 0.82);
}

.service-category-page__panel ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-category-page__panel li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.45;
}

.service-category-page__list-icon {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  padding: 4px;
  border-radius: 50%;
  background: #c98b02;
  color: #fff;
}

.service-category-page__process {
  margin-top: 26px;
  padding: 30px 34px 34px;
  border-top: 0px solid #42315e;
  border-radius: 0;
  background: #f5f2f7;
}

.service-category-page__process h2 {
  margin-bottom: 24px;
}

.service-category-page__process ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  counter-reset: service-step;
  list-style: none;
}

.service-category-page__process li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
  padding: 4px 24px;
  counter-increment: service-step;
}

.service-category-page__process li:first-child {
  padding-left: 0;
}

.service-category-page__process li:last-child {
  padding-right: 0;
}

.service-category-page__process li + li {
  border-left: 1px solid #d8d0dd;
}

.service-category-page__process li::before {
  content: "0" counter(service-step);
  display: block;
  width: 44px;
  height: auto;
  padding-top: 1px;
  border-radius: 0;
  background: transparent;
  color: #a56f00;
  font-family: "cmedium", "cregular", robotolight, tahoma, sans-serif;
  font-size: 19px;
  line-height: 1.3;
}

.service-category-page__process strong,
.service-category-page__process span {
  display: block;
}

.service-category-page__process strong {
  margin: 1px 0 6px;
  color: #452d5f;
  font-family: "cmedium", "cregular", robotolight, tahoma, sans-serif;
  font-size: 17px;
  font-weight: normal;
  line-height: 1.3;
}

.service-category-page__process span {
  color: #6a606f;
  font-size: 14px;
  line-height: 1.5;
}

.service-category-page__region {
  display: flex;
  align-items: center;
  gap: 17px;
  margin: 26px 0 0;
  padding: 18px 24px;
  border-radius: 0;
  background: #42315e;
  color: #fff;
}

.service-category-page__region-icon {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #dda018;
}

.service-category-page__region p {
  margin: 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.5;
}

.price-category-services {
  margin: 55px 0 70px;
  padding: 34px 36px 36px;
  border-top: 0px solid #42315e;
  border-radius: 0;
  background: #f3f0f5;
}

.price-category-services__header {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  max-width: 1120px;
  margin: 0 0 28px;
}

.price-category-services__header-icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #a56f00;
}

.price-category-services__title {
  margin: 0 0 9px;
  color: #452d5f;
  font-family: "cmedium", "cregular", robotolight, tahoma, sans-serif;
  font-size: 33px;
  font-weight: normal;
  line-height: 1.2;
}

.price-category-services__lead {
  max-width: 900px;
  margin: 0;
  color: #665c6c;
  font-size: 16px;
  line-height: 1.55;
}

.price-category-services__groups {
  display: grid;
  gap: 10px;
}

.price-category-services__group {
  margin: 0;
  overflow: hidden;
  border: 1px solid #ddd5e2;
  border-radius: 0;
  background: #fff;
}

.price-category-services__summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 17px 66px 17px 22px;
  color: #382743;
  cursor: pointer;
  font-family: "cmedium", "cregular", robotolight, tahoma, sans-serif;
  font-size: 19px;
  line-height: 1.35;
  list-style: none;
}

.price-category-services__summary::-webkit-details-marker {
  display: none;
}

.price-category-services__summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-top: -17px;
  border-radius: 50%;
  background: #f0e4c6;
  color: #805700;
  font-family: Arial, sans-serif;
  font-size: 23px;
  font-weight: normal;
  line-height: 1;
}

.price-category-services__group[open] .price-category-services__summary {
  background: #faf8fb;
}

.price-category-services__group[open] .price-category-services__summary::after {
  content: "−";
  background: #42315e;
  color: #fff;
}

.price-category-services__summary:hover,
.price-category-services__summary:focus-visible {
  color: #9a6800;
  outline: none;
}

.price-category-services__count {
  flex: 0 0 auto;
  color: #756b7a;
  font-family: "cregular", robotolight, tahoma, sans-serif;
  font-size: 13px;
  font-weight: normal;
  white-space: nowrap;
}

.price-category-services__list {
  display: grid;
  border-top: 1px solid #e6e0e9;
}

.price-category-services__item {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 315px;
  gap: 22px;
  align-items: center;
  min-width: 0;
  padding: 16px 22px;
  border-bottom: 1px solid #eee9f0;
  color: #302839;
  transition: background-color .2s ease;
}

.price-category-services__item:last-child {
  border-bottom: 0;
}

.price-category-services__item:hover,
.price-category-services__item:focus-within {
  background: #fbf7ec;
}

.price-category-services__code {
  color: #776d7d;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
}

.price-category-services__name {
  min-width: 0;
  color: #302839;
  font-size: 16px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.price-category-services__context {
  display: block;
  margin-top: 4px;
  color: #827787;
  font-size: 12px;
  font-weight: normal;
  line-height: 1.35;
}

.price-category-services__item:hover .price-category-services__name,
.price-category-services__item:focus-within .price-category-services__name {
  color: #8c5f00;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.price-category-services__meta {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 16px;
  color: #776f7c;
  font-size: 13px;
  text-align: right;
}

.price-category-services__class {
  color: #776f7c;
  text-decoration: underline;
  text-decoration-color: #cfc5d5;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.price-category-services__acceptance {
  color: #8c5f00;
  font-family: "cmedium", "cregular", robotolight, tahoma, sans-serif;
  font-size: 12px;
  white-space: nowrap;
}

.price-category-services__class:hover,
.price-category-services__class:focus-visible {
  color: #8c5f00;
  text-decoration-color: currentColor;
}

.price-category-services__price {
  color: #452d5f;
  font-family: "cmedium", "cregular", robotolight, tahoma, sans-serif;
  font-size: 14px;
  font-weight: normal;
  text-decoration: none;
  white-space: nowrap;
}

.price-category-services__code:focus-visible,
.price-category-services__name:focus-visible,
.price-category-services__class:focus-visible,
.price-category-services__price:focus-visible {
  outline: 2px solid #d39700;
  outline-offset: 3px;
}

.price-category-services__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #d9d1de;
}

.price-category-services__footer p {
  max-width: 760px;
  margin: 0;
  color: #615868;
  font-size: 15px;
  line-height: 1.5;
}

.price-category-services__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 22px;
  border: 1px solid #c98b02;
  border-radius: 10px;
  background: #c98b02;
  color: #fff !important;
  font-family: "cmedium", "cregular", robotolight, tahoma, sans-serif;
  font-size: 15px;
  text-decoration: none !important;
  white-space: nowrap;
}

.price-category-services__button:hover,
.price-category-services__button:focus-visible {
  border-color: #452d5f;
  background: #452d5f;
  color: #fff !important;
  outline: none;
}

/* The same catalogue presentation inside price search, landing and cards. */
.price-service-catalog {
  margin: 42px 0 52px;
  padding: 30px 32px 32px;
}

.price-service-catalog .price-category-services__header {
  margin-bottom: 24px;
}

.price-service-catalog .price-category-services__group,
.price-results-services {
  border-radius: 0;
}

.price-results-services {
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid #ddd5e2;
  background: #fff;
}

.price-category-services__group-footer {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 16px 22px !important;
  border-top: 1px solid #e2dbe6;
  background: #faf8fb;
}

.price-category-services__group-footer .price-category-services__button {
  min-height: 44px;
  padding: 8px 18px;
  border-radius: 3px;
}

@media (max-width: 1100px) {
  .service-category-page__acceptance {
    gap: 28px;
    padding: 26px 28px;
  }

  .service-category-page__panel {
    padding: 27px 28px 29px;
  }

  .service-category-page__process {
    padding: 28px;
  }

  .service-category-page__process li {
    padding-right: 17px;
    padding-left: 17px;
  }

  .price-category-services {
    padding: 30px;
  }
}

@media (max-width: 900px) {
  .service-category-page__acceptance {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .service-category-page__acceptance-note {
    padding: 18px 20px;
  }

  .service-category-page__columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-category-page__process ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 28px;
  }

  .service-category-page__process li:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .service-category-page__process li:nth-child(even) {
    padding-right: 0;
  }

  .price-category-services__item {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .price-category-services__meta {
    grid-column: 2;
    justify-content: flex-start;
    text-align: left;
  }
}

@media (max-width: 650px) {
  .service-category-page {
    margin: 24px 0 42px;
  }

  .service-category-page__lead {
    font-size: 18px;
  }

  .service-category-page__acceptance {
    margin-top: 24px;
    padding: 22px 20px;
  }

  .service-category-page__acceptance p {
    font-size: 15px;
  }

  .service-category-page__columns {
    gap: 16px;
    margin-top: 28px;
  }

  .service-category-page__panel {
    padding: 23px 20px 25px;
    border-radius: 0;
  }

  .service-category-page__panel-heading {
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 19px;
  }

  .service-category-page__panel-icon {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
    padding: 0;
  }

  .service-category-page h2 {
    font-size: 21px;
  }

  .service-category-page__panel li,
  .service-category-page__panel p {
    font-size: 15px;
  }

  .service-category-page__process {
    margin-top: 16px;
    padding: 24px 20px;
    border-radius: 0;
  }

  .service-category-page__process h2 {
    margin-bottom: 20px;
  }

  .service-category-page__process ol {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .service-category-page__process li,
  .service-category-page__process li:first-child,
  .service-category-page__process li:last-child,
  .service-category-page__process li:nth-child(even) {
    padding: 0;
    border-left: 0;
  }

  .service-category-page__region {
    align-items: flex-start;
    padding: 18px 20px;
  }

  .service-category-page__region-icon {
    flex-basis: 27px;
    width: 27px;
    height: 27px;
  }

  .service-category-page__region p {
    font-size: 15px;
  }

  .price-category-services {
    margin: 42px 0 52px;
    padding: 24px 20px;
    border-radius: 0;
  }

  .price-category-services__header {
    gap: 13px;
    margin-bottom: 23px;
  }

  .price-category-services__header-icon {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
    padding: 0;
  }

  .price-category-services__title {
    font-size: 25px;
  }

  .price-category-services__lead {
    font-size: 15px;
  }

  .price-category-services__summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    min-height: 0;
    padding: 16px 56px 16px 17px;
    font-size: 17px;
  }

  .price-category-services__summary::after {
    right: 13px;
  }

  .price-category-services__item {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding: 14px 17px;
  }

  .price-category-services__code {
    white-space: normal;
  }

  .price-category-services__name {
    font-size: 15px;
  }

  .price-category-services__meta {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px 14px;
    text-align: left;
  }

  .price-category-services__footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .price-category-services__button {
    width: 100%;
    white-space: normal;
  }

  .price-service-catalog {
    margin: 34px 0 42px;
    padding: 24px 20px;
  }

  .price-category-services__group-footer {
    justify-content: flex-start;
    padding: 14px 17px !important;
  }

  .price-category-services__group-footer .price-category-services__button {
    width: auto;
  }
}
