section#services {
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 5rem;
  display: block;
}

section#services h2 {
  margin-bottom: 5rem;
}

section#services div.container {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  justify-content: center;
}

section#services div.container a.service {
  height: 320px;
  width: 250px;
  border: 1px solid #000;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.25);
  transition: var(--default-transition);
}

section#services div.container a.service:hover {
  transform: var(--default-transform);
}

section#services div.container a.service > article > button {
  border-radius: 4px;
  padding: 0.5rem 2rem;
  margin-top: 1rem;
  border: unset;
}

section#services div.container article {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

section#services div.container article figure.illustration {
  position: relative;
  display: flex;
  align-items: center;
  background-color: var(--primary-color);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  box-shadow: inset 0px -2px 4px rgba(0, 0, 0, 0.1);
  justify-content: center;
}

section#services div.container article figure.illustration img {
  width: 60px;
}

section#services div.container article figure.proliferation {
  display: inline;
  vertical-align: middle;
}

section#services div.container article figure.proliferation img {
  display: unset;
}

section#services div.container article div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

section#services div.container a.service:hover {
  border: 2px solid var(--secondary-color);
}

section#services div.container article span.name {
  text-align: center;
  margin-bottom: 10px;
  position: relative;
}

section#services div.container article span.name::after {
  content: "";
  border-bottom: 2px solid var(--secondary-color);
  width: 100px;
  display: block;
  margin-top: 10px;
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
}

section#services div.container article span.desc {
  margin-top: 10px;
}

section#services .swiper {
  width: 100%;
  height: 100%;
  padding: 15px 0;
}

section#services.swip {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 30px;
  display: block;
}

section#services.swip {
  margin-bottom: 2rem;
}

section#services.swip h2 {
  margin-bottom: 1rem;
}

section#services.swip div.container {
  padding: unset;
}

section#services .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  max-width: 1200px;
  flex-wrap: wrap;
}

section#services .swiper-slide.is-mobile,
section#services.swip > h2.is-mobile {
  display: none;
}

section#services div.swiper-pagination {
  display: none;
}

section#services.swip div.container .swiper-button-next,
section#services.swip div.container .swiper-button-prev {
  color: #000;
}

@media (max-width: 640px) {
  section#services .swiper-slide.is-mobile {
    display: flex;
  }

  section#services .swiper-slide.is-desktop,
  section#services.swip > h2.is-desktop {
    display: none;
  }

  section#services.swip > h2.is-mobile {
    display: block;
  }
}

.services-page {
  background: #f7fbfc;
  color: #14242b;
}

.services-page section {
  opacity: 1;
}

.services-page-hero {
  min-height: 72vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  overflow: hidden;
}

.services-page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(8, 24, 31, 0.82) 0%,
    rgba(8, 24, 31, 0.58) 48%,
    rgba(8, 24, 31, 0.18) 100%
  );
}

.services-page-hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-page-hero-content {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 150px 0 72px;
  color: #fff;
}

.services-page-hero-content h1,
.services-page-hero-content p,
.services-page-cta h2,
.services-page-cta p,
.services-page-cta a {
  color: #fff;
}

.services-page-kicker {
  margin: 0 0 12px;
  color: var(--secondary-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.services-page-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 5.8rem);
  line-height: 0.96;
}

.services-page-hero-content > p:not(.services-page-kicker) {
  max-width: 680px;
  margin: 24px 0 0;
  font-size: 1.18rem;
  line-height: 1.75;
}

.services-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.services-page-actions a,
.services-page-cta-inner a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.9rem 2.2rem;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
}

.services-page-actions a.secondary-1 {
  background: var(--secondary-1-color);
  border: 1px solid var(--secondary-1-color);
  color: #fff;
}

.services-page-actions a.primary-1 {
  background: var(--primary-1-color);
  border: 1px solid var(--primary-1-color);
  color: #fff;
}

.services-page-actions a:hover,
.services-page-cta-inner a:hover {
  transform: translateY(-2px);
}

.services-page-intro,
.services-page-list {
  width: min(1180px, calc(100% - 40px));
  margin-right: auto;
  margin-left: auto;
}

.services-page-intro {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: -36px;
  background: #d9e9ef;
  box-shadow: 0 18px 50px rgba(12, 35, 43, 0.14);
}

.services-page-intro > div {
  min-height: 210px;
  padding: 34px;
  background: #fff;
}

.services-page-intro span {
  display: block;
  color: var(--primary-color);
  font-weight: 800;
  font-size: 0.92rem;
}

.services-page-intro h2 {
  margin: 16px 0 10px;
  font-size: 1.35rem;
}

.services-page-intro p,
.services-page-heading p,
.services-page-category-title p,
.services-page-card p {
  line-height: 1.65;
}

.services-page-list {
  padding: 78px 0 36px;
}

.services-page-heading {
  max-width: 760px;
  margin-bottom: 46px;
}

.services-page-heading h2,
.services-page-cta h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.services-page-heading p {
  margin: 18px 0 0;
  color: #4d6269;
}

.services-page-category {
  padding: 34px 0;
  border-top: 1px solid #d4e4e9;
}

.services-page-category-title {
  display: block;
  margin-bottom: 24px;
}

.services-page-category-title h3 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.12;
}

.services-page-category-title p {
  width: min(100%, 980px);
  margin: 14px 0 0;
  color: #4d6269;
  font-size: 1.1rem;
}

.services-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.services-page-card {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 18px;
  min-height: 180px;
  padding: 22px;
  border: 1px solid #d3e4e9;
  border-radius: 8px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: var(--default-transition);
}

.services-page-card:hover {
  border-color: var(--secondary-color);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(12, 35, 43, 0.12);
}

.services-page-card figure {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  margin: 0;
  border-radius: 50%;
  background: var(--primary-color);
}

.services-page-card img {
  max-width: 42px;
  max-height: 42px;
}

.services-page-card h4 {
  margin: 4px 0 10px;
  font-size: 1.15rem;
  line-height: 1.25;
}

.services-page-card p {
  margin: 0;
  color: #536a72;
  font-size: 0.94rem;
}

.services-page-status {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 4px 8px;
  border-radius: 4px;
  background: #fff2d9;
  color: #7b4a00;
  font-size: 0.78rem;
  font-weight: 700;
}

.services-page-empty {
  padding: 30px;
  background: #fff;
  border: 1px solid #d3e4e9;
}

.services-page-cta {
  width: 100%;
  margin-top: 34px;
  margin-bottom: 76px;
  background: linear-gradient(135deg, #0c3d64 0%, #0f5f79 100%);
  color: #fff;
}

.services-page-cta-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.services-page-cta h2 {
  max-width: 760px;
}

.services-page-cta .services-page-kicker {
  color: #9bd4f4;
}

.services-page-cta-inner a.secondary-1 {
  background: #fff;
  border: 1px solid #fff;
  color: #0c3d64;
  box-shadow: 0 12px 28px rgba(2, 16, 25, 0.28);
}

.services-page-cta-inner a.secondary-1:hover {
  background: #eaf6fc;
  border-color: #eaf6fc;
  color: #0c3d64;
}

@media (max-width: 960px) {
  .services-page-intro,
  .services-page-grid,
  .services-page-category-title {
    grid-template-columns: 1fr;
  }

  .services-page-grid {
    gap: 14px;
  }
}

@media (max-width: 640px) {
  .services-page-hero {
    min-height: 76vh;
  }

  .services-page-hero-content {
    width: min(100% - 28px, 1180px);
    padding: 130px 0 48px;
  }

  .services-page-hero h1 {
    font-size: clamp(2.4rem, 15vw, 4.2rem);
  }

  .services-page-intro,
  .services-page-list {
    width: min(100% - 28px, 1180px);
  }

  .services-page-intro {
    margin-top: -22px;
  }

  .services-page-intro > div {
    padding: 24px;
  }

  .services-page-cta-inner {
    width: min(100% - 28px, 1180px);
    padding: 34px 0;
  }

  .services-page-list {
    padding-top: 56px;
  }

  .services-page-card {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 14px;
    min-height: 0;
    padding: 18px;
  }

  .services-page-card figure {
    width: 58px;
    height: 58px;
  }

  .services-page-card img {
    max-width: 34px;
    max-height: 34px;
  }

  .services-page-actions,
  .services-page-cta-inner {
    align-items: stretch;
    flex-direction: column;
  }
}
