/* Service archive only. Shared typography, buttons and containers come from style.css. */
body.services-hub-layout {
  background: #fff;
}

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

.services-hub {
  min-width: 0;
  color: #232323;
}

.services-hub__hero {
  padding: clamp(3.5rem, 6vw, 5.3rem) 0 clamp(3.5rem, 5vw, 4.5rem);
}

.services-hub__hero .page-header {
  max-width: 18ch;
  margin-right: auto;
  margin-left: auto;
  text-wrap: balance;
}

.services-hub__lead {
  max-width: 780px;
  margin: 1.75rem auto 0;
  line-height: 1.65;
}

.services-hub__lead p {
  margin: 0;
}

.services-hub__cta {
  justify-content: center;
  margin-top: 1.75rem;
}

.services-hub__catalog {
  padding: 0 0 5.3rem;
}

.services-hub__group + .services-hub__group {
  margin-top: 4.5rem;
}

.services-hub__group-title,
.services-hub__section-title {
  margin: 0 0 2rem;
  color: #232323;
  font-family: "Montserrat-Light", sans-serif;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.services-hub__contact-links a:focus-visible {
  outline: 2px solid #cc9933;
  outline-offset: 4px;
}

.services-hub__preparation {
  position: relative;
  isolation: isolate;
  padding: 5.3rem 0;
}

.services-hub__preparation::before {
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 50%;
  width: min(1800px, calc(100% - 80px));
  border-radius: 0;
  background: #f7f0de;
  content: "";
  transform: translateX(-50%);
}

.services-hub__preparation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.services-hub__preparation-item {
  min-width: 0;
}

.services-hub__preparation-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background: #232323;
  color: #fff;
  font-family: "Golos-SemiBold", sans-serif;
}

.services-hub__preparation-item h3 {
  margin: 0;
  color: #232323;
  font-family: "Golos-SemiBold", sans-serif;
  font-size: 1.25rem;
  line-height: 1.4;
}

.services-hub__preparation-item p,
.services-hub__contacts p {
  color: #555;
  font-size: 1.125rem;
  line-height: 1.65;
}

.services-hub__preparation-item p {
  margin: 0.8rem 0 0;
}

.services-hub__contacts {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(35, 35, 35, 0.16);
}

.services-hub__contacts p {
  max-width: 62ch;
  margin: 0;
}

.services-hub__contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem 1.5rem;
}

.services-hub__contact-links a {
  color: #232323;
  font-family: "Golos-SemiBold", sans-serif;
  text-decoration-color: #cc9933;
  text-underline-offset: 0.25em;
}

@media (max-width: 1000px) {
  .services-hub__preparation-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.25rem;
  }

  .services-hub__contacts {
    align-items: flex-start;
    flex-direction: column;
  }

  .services-hub__contact-links {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .services-hub__hero {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .services-hub__catalog {
    padding-bottom: 3.5rem;
  }

  .services-hub__cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .services-hub__cta .page-cta__btn {
    width: 100%;
  }

  .services-hub__group + .services-hub__group {
    margin-top: 3.5rem;
  }

  .services-hub__preparation {
    padding: 3.5rem 0;
  }

  .services-hub__preparation::before {
    width: 100%;
    border-radius: 0;
  }

  .services-hub__preparation-item p,
  .services-hub__contacts p {
    font-size: 1rem;
  }

  .services-hub__contact-links {
    flex-direction: column;
  }
}
