/* cover-page: */

.cover-page {
  display: grid;
  grid-template-rows: auto auto;
  width: 100%;
  height: auto;
  position: relative;
}
.cover-page > div {
  display: grid;
}
.cover-page > div > div {
  align-self: center;
  text-align: left;
}

.cover-page > div:nth-child(1) {
  padding: max(210px, var(--fixed-header-safe-offset)) 60px 60px 60px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #fff;
  position: relative;
}
.cover-page > div:nth-child(1) > div:nth-child(1) {
  position: relative;
  z-index: 2;
}
.cover-page > div:nth-child(1) > div:nth-child(2) {
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  box-shadow: inset 0px 0px 250px #061d01;
  position: absolute;
  z-index: 1;
  opacity: 1;
}

.cover-page h1 {
  margin-bottom: 0;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.75);
  font-size: 70px;
  line-height: 80px;
  color: #fff;
}

@media screen and (min-width: 1367px) {
  .cover-page {
    max-width: 1366px;
    min-height: auto;
    margin: 0 auto;
    border-radius: 0 0 40px 40px;
  }
  .cover-page > div:nth-child(1) {
    border-radius: 0 0 40px 40px;
  }
  .cover-page > div:nth-child(1) > div:nth-child(2) {
    border-radius: 0 0 40px 40px;
  }
}

@media screen and (max-width: 960px) and (min-width: 769px) {
  .cover-page {
    grid-template-columns: auto;
    grid-template-rows: auto 0px;
  }
  .cover-page > div:nth-child(1) {
    padding: max(160px, var(--fixed-header-safe-offset)) 60px 60px 60px;
  }
}

@media screen and (max-width: 768px) {
  .cover-page {
    grid-template-columns: auto;
    grid-template-rows: auto 0px;
  }
  .cover-page > div:nth-child(1) {
    padding: max(128px, var(--fixed-header-safe-offset)) 20px 42px;
  }
  .cover-page h1 {
    font-size: 40px;
    line-height: 50px;
  }
}

/* prices page */

.prices-page {
  background: #f4f7f1;
}

.prices-hero {
  padding: var(--fixed-header-safe-offset) 40px 70px;
  background:
    radial-gradient(circle at 16% 18%, rgba(var(--service-single-accent-rgb), 0.18), transparent 32%),
    linear-gradient(180deg, #eef4ea 0%, #f8faf5 100%);
}

.prices-hero__inner,
.prices-listing__inner {
  width: 100%;
  max-width: 1366px;
  margin: 0 auto;
}

.prices-hero .breadcrumbs {
  margin-bottom: 28px;
  color: var(--service-muted);
  font-size: 15px;
  line-height: 22px;
}

.prices-hero .breadcrumbs a {
  color: var(--service-accent-dark);
  font-weight: 700;
}

.prices-hero .breadcrumbs a:hover {
  color: var(--service-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prices-hero p {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(var(--service-single-accent-rgb), 0.12);
  color: var(--service-single-accent-hover);
  font-size: 14px;
  line-height: 18px;
  font-weight: 800;
}

.prices-hero h1 {
  max-width: 820px;
  margin: 0;
  color: var(--service-single-ink);
  font-size: 54px;
  line-height: 62px;
  font-weight: 850;
}

.prices-hero span {
  display: block;
  max-width: 720px;
  margin-top: 18px;
  color: var(--service-single-muted);
  font-size: 18px;
  line-height: 30px;
}

.prices-listing {
  padding: 58px 40px 78px;
}

.prices-listing__inner {
  display: grid;
  gap: 26px;
}

.prices-group {
  width: 100%;
  padding: 28px;
  border: 1px solid rgba(31, 44, 32, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 48px rgba(28, 42, 25, 0.08);
}

.prices-group__head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
}

.prices-group__head h2 {
  margin: 0;
  color: var(--service-single-ink);
  font-size: 30px;
  line-height: 38px;
  font-weight: 830;
}

.prices-group__head a,
.prices-service__title a {
  color: var(--service-single-accent-hover);
  font-weight: 800;
  text-decoration: none;
}

.prices-group__items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.prices-service {
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(31, 44, 32, 0.08);
  border-radius: 8px;
  background: #fff;
}

.prices-service__title h3 {
  margin: 0 0 9px;
  color: var(--service-single-ink);
  font-size: 19px;
  line-height: 25px;
  font-weight: 820;
}

.prices-service__rows {
  display: grid;
  gap: 8px;
}

.prices-service__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 18px;
  align-items: baseline;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(31, 44, 32, 0.08);
}

.prices-service__row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.prices-service__row span {
  color: var(--service-single-muted);
  font-size: 15px;
  line-height: 22px;
}

.prices-service__row strong {
  color: var(--service-single-accent-hover);
  font-size: 16px;
  line-height: 22px;
  font-weight: 850;
  white-space: nowrap;
}

.prices-empty {
  padding: 26px;
  border-radius: 8px;
  background: #fff;
}

@media screen and (max-width: 768px) {
  .prices-hero {
    padding: var(--fixed-header-safe-offset) 18px 44px;
  }
  .prices-hero h1 {
    font-size: 34px;
    line-height: 40px;
  }
  .prices-hero span {
    font-size: 15px;
    line-height: 24px;
  }
  .prices-listing {
    padding: 34px 16px 52px;
  }
  .prices-listing__inner {
    display: grid;
  }
  .prices-group__items {
    grid-template-columns: 1fr;
  }
  .prices-group {
    padding: 18px;
  }
  .prices-group__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .prices-group__head h2 {
    font-size: 24px;
    line-height: 30px;
  }
  .prices-service {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 15px;
  }
  .prices-service__row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .prices-service__row strong {
    white-space: normal;
  }
}

/* page-content: */

.page-content {
  width: 100%;
  padding: 40px 40px;
  background: #fff;
}

.cooperation-page-content {
  max-width: 920px;
  margin: 0 auto;
  color: var(--service-single-ink);
}
.cooperation-page-content__lead {
  margin: 0 0 28px;
  color: rgba(31, 44, 32, 0.78);
  font-size: 21px;
  line-height: 33px;
}
.cooperation-page-content h2 {
  margin: 36px 0 14px;
  font-size: clamp(32px, 3vw, 42px);
  line-height: 1.18;
  font-weight: 300;
}
.cooperation-page-content p,
.cooperation-page-content li {
  color: rgba(31, 44, 32, 0.74);
  font-size: 17px;
  line-height: 29px;
}
.cooperation-page-content ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 22px;
}
.cooperation-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 24px 0 18px;
}
.cooperation-contact .home-button--secondary {
  --home-button-secondary-color: var(--service-single-ink);
  --home-button-secondary-border: rgba(31, 44, 32, 0.22);
  --home-button-secondary-bg: rgba(var(--service-single-accent-rgb), 0.08);
  --home-button-secondary-border-hover: rgba(var(--service-single-accent-rgb), 0.4);
  --home-button-secondary-bg-hover: rgba(var(--service-single-accent-rgb), 0.14);
}
.copy-email-button {
  border-radius: 999px;
}
.cooperation-page-content__note {
  max-width: 760px;
  margin-top: 20px;
  padding: 18px 20px;
  border: 1px solid rgba(31, 44, 32, 0.1);
  border-radius: 14px;
  background: rgba(var(--service-single-accent-rgb), 0.08);
}

@media screen and (max-width: 768px) {
  .cooperation-page-content__lead {
    font-size: 18px;
    line-height: 29px;
  }
  .cooperation-contact .home-button {
    justify-content: center;
    width: 100%;
  }
}

@media screen and (min-width: 1367px) {
  .page-content {
    max-width: 1366px;
    margin: 0 auto;
  }
}

/* 

end page templates.

*/

.our-services-home__head h2,
.moscow-and-region h2,
.home-services-showcase__head h2,
.how-we-work__head h2,
.useful-articles__head h2,
.reviews h2,
.service-single-benefits h2,
.service-single-before-after h2,
.service-single-packages h2,
.service-single-price-table h2,
.service-single-content h2,
.service-single-team h2,
.our-team h2,
.services-archive-listing h2,
.article-archive h2,
.single-article h2,
.home-section h2 {
  font-size: clamp(32px, 3vw, 42px);
  line-height: 1.18;
  font-weight: 300;
  letter-spacing: 0;
}

@media screen and (max-width: 768px) {
  .our-services-home__head h2,
  .moscow-and-region h2,
  .home-services-showcase__head h2,
  .how-we-work__head h2,
  .useful-articles__head h2,
  .reviews h2,
  .service-single-benefits h2,
  .service-single-before-after h2,
  .service-single-packages h2,
  .service-single-price-table h2,
  .service-single-content h2,
  .service-single-team h2,
  .our-team h2,
  .services-archive-listing h2,
  .article-archive h2,
  .single-article h2,
  .home-section h2 {
    font-size: 32px;
    line-height: 1.22;
    font-weight: 300;
  }
}
