.services-page {
  background: #ffffff;
}

.services-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 40;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
}

.services-header .site-nav .is-active {
  border-bottom: 2px solid #ffffff;
}

.services-hero {
  position: relative;
  min-height: 542px;
  overflow: hidden;
  color: #ffffff;
}

.services-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.services-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 542px;
  padding: 170px 20px 98px;
}

.services-hero-content h1 {
  margin: 0;
  color: #ffffff;
  font-family: "Titillium Web", sans-serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 42px;
}

.services-intro,
.services-cards,
.services-strategy,
.services-cta {
  background: #ffffff;
}

.services-intro {
  padding: 60px 0;
}

.services-intro .container {
  width: min(1120px, calc(100% - 48px));
}

.services-intro-grid {
  display: grid;
  grid-template-columns: 512px 451px;
  gap: 157px;
  align-items: start;
}

.services-intro h2 {
  margin: 0;
  color: #003b4a;
  font-family: "Titillium Web", sans-serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 42px;
}

.services-intro p {
  margin: 0;
  color: #003b4a;
  font-family: "Lexend", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
}

.services-cards {
  padding: 0 0 60px;
}

.services-cards-grid {
  width: min(1220px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 41px;
}

.service-card--wide {
  min-height: 450px;
}

.service-card {
  border-radius: 5px;
  background: #003b4a;
  color: #ffffff;
  padding: 50px;
}

.service-card-icon {
  width: auto;
  height: auto;
  max-width: 90px;
  max-height: 90px;
  align-self: flex-start;
  flex-shrink: 0;
  object-fit: contain;
  margin-bottom: 31px;
}

.service-card h3 {
  margin: 0 0 18px;
  font-family: "Titillium Web", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 20px;
}

.service-card h4 {
  margin: 0 0 14px;
  font-family: "Titillium Web", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 20px;
}

.service-card p {
  margin: 0;
  font-family: "Lexend", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
}

.services-strategy {
  padding: 60px 0 29px;
}

.services-strategy h2 {
  margin: 0 0 37px;
  max-width: 605px;
  color: #003b4a;
  font-family: "Titillium Web", sans-serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 42px;
}

.services-strategy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 33px;
  border-left: 1px solid rgba(0, 59, 74, 0.35);
  border-right: 1px solid rgba(0, 59, 74, 0.35);
}

.services-strategy-item {
  min-height: 304px;
  padding: 0 26px;
  color: #003b4a;
}

.services-strategy-item + .services-strategy-item {
  border-left: 1px solid rgba(0, 59, 74, 0.35);
}

.services-strategy-icon {
  width: auto;
  height: auto;
  max-width: 58px;
  max-height: 58px;
  object-fit: contain;
}

.services-strategy-item h3 {
  margin: 42px 0 13px;
  font-family: "Titillium Web", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 20px;
}

.services-strategy-item p {
  margin: 0;
  font-family: "Lexend", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.services-cta {
  padding: 60px 0;
}

.services-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 148px;
}

.services-cta-text {
  flex: 1;
}

.services-cta-text p {
  margin: 0 0 16px;
  color: #b3a07c;
  font-family: "Lexend", sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 24px;
  transition: color 0.3s ease;
}

.services-cta-text h2 {
  margin: 0;
  max-width: 702px;
  color: #003b4a;
  font-family: "Titillium Web", sans-serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 42px;
  transition: color 0.3s ease;
}

.services-cta-text h2 a {
  color: inherit;
  text-decoration: none;
}

.services-cta .round-icon--primary {
  transition: background-color 0.3s ease;
}

.services-cta-icon {
  grid-area: 1 / 1;
  transition: opacity 0.3s ease;
}

.services-cta-icon--hover {
  opacity: 0;
}

.services-cta:hover .services-cta-text p,
.services-cta:focus-within .services-cta-text p {
  color: #b3a07c;
}

.services-cta:hover .services-cta-text h2,
.services-cta:focus-within .services-cta-text h2 {
  color: #b3a07c;
}

.services-cta:hover .round-icon--primary,
.services-cta:focus-within .round-icon--primary {
  background: #b3a07c;
}

.services-cta:hover .services-cta-icon--default,
.services-cta:focus-within .services-cta-icon--default {
  opacity: 0;
}

.services-cta:hover .services-cta-icon--hover,
.services-cta:focus-within .services-cta-icon--hover {
  opacity: 1;
}

@media (max-width: 1100px) {
  .services-intro-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .services-cards-grid {
    grid-template-columns: 1fr;
  }

  .services-strategy-grid {
    grid-template-columns: 1fr;
  }

  .services-strategy-item + .services-strategy-item {
    border-left: 0;
    border-top: 1px solid rgba(0, 59, 74, 0.35);
    padding-top: 24px;
  }

  .services-cta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }
}

@media (max-width: 900px) {
  .services-header {
    position: static;
    border-bottom: 0;
    background: rgba(0, 59, 74, 0.95);
  }

  .services-hero-content {
    min-height: 420px;
    padding-top: 88px;
    padding-bottom: 64px;
  }
}

@media (max-width: 560px) {
  .services-page {
    background: #ffffff;
  }

  .services-page .container {
    width: calc(100% - 28px);
  }

  .services-page .btn {
    width: auto;
  }

  .services-page .services-header {
    position: relative;
    z-index: 50;
    border-bottom: 0;
    background: #ffffff;
  }

  .services-page .services-header .container {
    width: calc(100% - 28px);
  }

  .services-page .nav-row {
    position: relative;
    min-height: 78px;
    padding: 10px 0;
    flex-wrap: nowrap;
    gap: 16px;
  }

  .services-page .brand {
    overflow: hidden;
    width: 143px;
  }

  .services-page .services-header .logo-img--light {
    display: none;
  }

  .services-page .services-header .logo-img--dark {
    display: block;
  }

  .services-page .site-footer .logo-img--light {
    display: block;
  }

  .services-page .mobile-menu-toggle {
    display: flex;
    height: 12px;
    margin-left: auto;
    flex-shrink: 0;
    z-index: 51;
  }

  .services-page .mobile-menu-toggle span {
    background: #878787;
  }

  .services-page .mobile-menu-toggle span:nth-child(2) {
    display: none;
  }

  .services-page .mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }

  .services-page .mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }

  .services-page .mobile-menu-overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 40;
    border: 0;
    padding: 0;
    background: rgba(20, 22, 26, 0.62);
    backdrop-filter: blur(1px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    cursor: pointer;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .services-page .mobile-menu-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .services-page .site-nav {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 45;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 40px;
    margin: 0;
    padding: 91px 14px 10px;
    width: 237px;
    min-height: 100dvh;
    background: #d9d9d9;
    border: 0;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-24px);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.24s ease, visibility 0.24s ease;
  }

  .services-page .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
  }

  .services-page .site-nav .mobile-nav-links {
    width: 210px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }

  .services-page .site-nav a {
    width: 210px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    color: #003b4a;
    border-bottom: 0;
  }

  .services-page .site-nav a::after {
    content: "";
    width: 5px;
    height: 11px;
    background: url("./assets/mobile-menu-arrow.svg") center / contain no-repeat;
    flex-shrink: 0;
  }

  .services-page .services-header .site-nav .is-active {
    border-bottom: 0;
  }

  .services-page .site-nav .mobile-nav-extra {
    width: 210px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }

  .services-page .mobile-nav-address {
    margin: 0;
    color: #003b4a;
    font-size: 15px;
    line-height: 24px;
  }

  .services-page .site-nav .mobile-nav-cta {
    width: 100%;
    min-height: 52px;
    border: 0;
    border-radius: 10px;
    padding: 16px 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #b3a07c;
    color: #003b4a;
    font-family: "Titillium Web", sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    transition: none;
  }

  .services-page .site-nav .mobile-nav-cta:hover,
  .services-page .site-nav .mobile-nav-cta:focus-visible {
    background: #b3a07c;
    border-color: transparent;
    color: #003b4a;
  }

  .services-page .site-nav .mobile-nav-cta::after {
    content: none;
  }

  .services-page .nav-row > .btn {
    display: none;
  }

  .services-page .services-hero {
    min-height: 208px;
    background: #d9d9d9;
  }

  .services-page .services-hero-bg {
    object-position: 18% 32%;
  }

  .services-page .services-hero-overlay {
    background: rgba(0, 0, 0, 0.6);
  }

  .services-page .services-hero-content {
    min-height: 208px;
    padding: 91px 51px;
  }

  .services-page .services-hero-content h1 {
    max-width: 291px;
    font-size: 24px;
    line-height: 26px;
    text-align: center;
  }

  .services-page .services-intro,
  .services-page .services-cards,
  .services-page .services-strategy,
  .services-page .services-cta {
    background: #ffffff;
  }

  .services-page .services-intro {
    padding: 50px 0 30px;
  }

  .services-page .services-intro .container {
    width: calc(100% - 28px);
  }

  .services-page .services-intro-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .services-page .services-intro h2 {
    font-size: 38px;
    line-height: 42px;
  }

  .services-page .services-cards {
    padding: 30px 0;
  }

  .services-page .services-cards-grid {
    width: calc(100% - 28px);
    grid-template-columns: 1fr;
    gap: 41px;
  }

  .services-page .service-card {
    min-height: 528px;
    padding: 50px;
    display: flex;
    flex-direction: column;
  }

  .services-page .service-card:nth-child(3) {
    min-height: 552px;
  }

  .services-page .service-card-icon {
    margin-bottom: 31px;
  }

  .services-page .service-card h3 {
    margin: 0 0 27px;
  }

  .services-page .service-card h4 {
    margin: 0 0 24px;
  }

  .services-page .services-strategy {
    padding: 30px 0;
  }

  .services-page .services-strategy h2 {
    margin: 0 0 40px;
    max-width: none;
    font-size: 38px;
    line-height: 42px;
  }

  .services-page .services-strategy-grid {
    grid-template-columns: 1fr;
    gap: 33px;
    border: 0;
  }

  .services-page .services-strategy-item {
    min-height: auto;
    padding: 0;
  }

  .services-page .services-strategy-item + .services-strategy-item {
    border: 0;
    padding-top: 0;
  }

  .services-page .services-cta {
    padding: 14px 0 40px;
  }

  .services-page .services-cta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }

  .services-page .services-cta-text {
    width: 100%;
  }

  .services-page .services-cta-text h2 {
    max-width: none;
    font-size: 38px;
    line-height: 42px;
  }

  .services-page .site-footer {
    padding: 60px 14px 25px;
  }

  .services-page .site-footer .container {
    width: 100%;
  }

  .services-page .footer-top {
    gap: 40px;
  }

  .services-page .footer-right {
    flex: none;
    width: 100%;
  }

  .services-page .footer-nav {
    gap: 30px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .services-page .footer-nav a {
    padding-bottom: 0;
    color: #ffffff;
  }

  .services-page .footer-nav a::after {
    content: none;
  }

  .services-page .footer-nav a:hover,
  .services-page .footer-nav a:focus-visible {
    color: #ffffff;
  }

  .services-page .footer-nav a:hover::after,
  .services-page .footer-nav a:focus-visible::after {
    content: none;
  }

  .services-page .footer-address {
    margin: 23px 0 0;
    text-align: left;
  }

  .services-page .footer-cta {
    margin-top: 60px;
    gap: 40px;
    padding: 10px 10px 25px;
    align-items: flex-start;
  }

  .services-page .footer-cta h2 {
    width: 100%;
    font-size: 32px;
    line-height: 35px;
  }

  .services-page .round-icon--footer {
    width: 113px;
    height: 112px;
    padding: 28px;
  }

  .services-page .footer-bottom {
    margin-top: 40px;
    gap: 40px;
    align-items: flex-start;
  }

  .services-page .footer-bottom p {
    width: 100%;
  }

  .services-page .footer-bottom a {
    width: 198px;
    gap: 1px;
  }
}
