@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/cormorant-garamond-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

.service-hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  color: #fff;
  background: #003442;
}

.service-detail-page .projects {
  scroll-margin-top: 24px;
}

.service-hero__background {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: calc(100% + 3px);
  height: 769px;
  pointer-events: none;
}

.service-hero__background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-hero__inner {
  max-width: 1920px;
  height: 613px;
  margin-inline: auto;
  padding: 100px 80px 100.13px 81px;
}

.service-hero__breadcrumbs {
  min-height: 20px;
  margin-left: 2px;
  color: rgb(255 255 255 / 60%);
  font-size: 12px;
  line-height: 20px;
  letter-spacing: 0.2px;
}

.service-hero__breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  column-gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-hero__breadcrumbs li + li::before {
  margin-right: 4px;
  content: "/";
}

.service-hero__breadcrumbs a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.service-hero__title {
  display: flex;
  align-items: center;
  width: min(1277px, 100%);
  height: 81px;
  margin: 90px 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 96px;
  font-weight: 700;
  line-height: 62.4px;
  letter-spacing: -0.5px;
}

.service-hero__description {
  display: flex;
  align-items: center;
  width: min(880px, 100%);
  height: 115px;
  margin-top: 27px;
  font-size: 22px;
  font-weight: 200;
  line-height: 28.8px;
  letter-spacing: -0.11px;
}

.service-hero__description p {
  margin: 0;
}

.service-hero__actions {
  display: flex;
  align-items: center;
  margin-top: 27px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 35.2px;
}

.service-hero__discuss {
  display: grid;
  flex: 0 0 195px;
  place-items: center;
  height: 52.87px;
  border-radius: 4px;
  background: #629ba3;
}

.service-hero__discuss span {
  transform: translateY(-0.09px);
}

.service-hero__discuss:hover {
  background: #568a92;
}

.service-hero__projects {
  position: relative;
  display: grid;
  flex: 0 0 269px;
  place-items: center;
  height: 52.87px;
  margin-left: 2px;
  color: #629ba3;
}

.service-hero__projects img {
  position: absolute;
  top: 21.5px;
  left: 246.43px;
}

.service-hero__projects:hover span {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 1919px) {
  .service-hero__inner { height: auto; min-height: 613px; padding: 100px clamp(32px, 4.21875vw, 81px) 80px; }
  .service-hero__title { display: block; height: auto; margin-top: 70px; font-size: clamp(56px, 5vw, 96px); line-height: 0.95; }
  .service-hero__description { height: auto; margin-top: 32px; }
  .service-hero__actions { margin-top: 32px; }
}

@media (max-width: 1199px) {
  .service-hero__background { height: 100%; min-height: 769px; }
  .service-hero__background img { object-position: 35% top; }
  .service-hero__title { margin-top: 56px; font-size: clamp(56px, 6.5vw, 72px); }
  .service-hero__description { font-size: 20px; font-weight: 300; line-height: 29px; }
}

@media (max-width: 639px) {
  .service-hero__inner { min-height: 0; padding: 100px var(--mobile-gutter) 56px; }
  .service-hero__breadcrumbs { margin-left: 0; font-size: 11px; line-height: 18px; }
  .service-hero__title { margin-top: 48px; font-size: clamp(42px, 12.8vw, 56px); line-height: 0.98; }
  .service-hero__description { margin-top: 24px; font-size: 18px; line-height: 27px; }
  .service-hero__actions { flex-direction: column; align-items: stretch; gap: 14px; margin-top: 28px; }
  .service-hero__discuss { flex-basis: auto; }
  .service-hero__projects { flex-basis: auto; align-self: center; width: 269px; margin-left: 0; }
}

