.main-nav [aria-current="page"] { color: #31b9ff; }

.service-archive-hero,
.service-detail-hero {
  min-height: 490px;
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background-color: #004b70;
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
}

.service-archive-hero::before,
.service-detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(0, 50, 75, .86), rgba(0, 112, 166, .62));
}

.service-hero__content {
  width: min(900px, calc(100% - 40px));
  padding-top: 130px;
  text-align: center;
}

.service-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: 1.05rem;
  color: rgba(255, 255, 255, .92);
  font-size: .78rem;
}

.service-breadcrumb::before {
  content: "●";
  color: #2db2fb;
  font-size: .55rem;
}

.service-hero__content h1 {
  max-width: 900px;
  margin: 0 auto;
  color: #fff;
  text-transform: none;
  font: 600 clamp(2.25rem, 4.4vw, 4rem)/1.08 "Poppins", sans-serif;
  letter-spacing: -.035em;
}

.service-hero__content p {
  margin: .7rem auto 0;
  color: #31b9ff;
  font: 500 clamp(.9rem, 1.4vw, 1.1rem)/1.4 "Saira", sans-serif;
}

.service-catalog {
  padding: 88px 0 105px;
  background: #fff;
}

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

.service-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #edf0f2;
  border-radius: 15px;
  box-shadow: 0 10px 28px rgba(0, 50, 76, .10);
  transition: transform .25s ease, box-shadow .25s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(0, 50, 76, .16);
}

.service-card__image {
  height: 235px;
  overflow: hidden;
  background: #d9e4e9;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.service-card:hover .service-card__image img { transform: scale(1.035); }

.service-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.55rem 1.5rem 1.65rem;
}

.service-card h2,
.related-card h3 {
  margin: 0;
  color: #087fbe;
  text-transform: none;
  letter-spacing: -.02em;
  font: 600 1.12rem/1.28 "Poppins", sans-serif;
}

.service-card p {
  margin: 1rem 0 1.3rem;
  color: #60666d;
  font-size: .83rem;
  line-height: 1.65;
}

.service-card__link {
  margin-top: auto;
  color: #087fbe;
  text-transform: uppercase;
  font: 700 .7rem/1.2 "Saira", sans-serif;
}

.service-card__link:hover { color: #00577f; }

.service-detail {
  padding: 95px 0 112px;
  background: #fff url("assets/bg-line-2.png") center/cover no-repeat;
}

.service-detail__grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(440px, 1.05fr);
  align-items: center;
  gap: clamp(3.5rem, 7vw, 7rem);
}

.service-detail__copy h2 {
  max-width: 610px;
  color: #087fbe;
  text-transform: none;
  font: 600 clamp(2rem, 3vw, 2.75rem)/1.13 "Poppins", sans-serif;
}

.service-detail__copy > p {
  margin: 1.25rem 0 0;
  color: #454b53;
  font-size: .92rem;
  line-height: 1.72;
}

.service-detail__copy strong { color: #252b31; }

.service-detail__benefits-title {
  margin: 1.35rem 0 .7rem;
  color: #087fbe;
  font: 600 1.35rem/1.25 "Poppins", sans-serif;
}

.service-benefits {
  margin: 0;
  padding: 0;
  display: grid;
  gap: .28rem;
  list-style: none;
}

.service-benefits li {
  position: relative;
  padding-left: 1.35rem;
  color: #3e464d;
  font-size: .86rem;
  line-height: 1.55;
}

.service-benefits li::before {
  content: "•";
  position: absolute;
  left: .15rem;
  color: #149ee5;
  font-weight: 700;
}

.service-detail__media img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 18px 46px rgba(0, 50, 76, .14);
}

.related-services {
  padding: 88px 0 104px;
  background: #ececf2;
}

.related-services h2 {
  margin: 0 0 2.5rem;
  color: #087fbe;
  text-align: center;
  text-transform: none;
  font: 600 clamp(2rem, 3vw, 2.75rem)/1.12 "Poppins", sans-serif;
}

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

.related-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  background: #17517a;
  box-shadow: 0 14px 34px rgba(0, 50, 76, .13);
}

.related-card__image {
  height: 235px;
  overflow: hidden;
}

.related-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.related-card:hover .related-card__image img { transform: scale(1.04); }

.related-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.65rem 1.55rem 1.8rem;
}

.related-card h3 { color: #fff; }
.related-card p { margin: .9rem 0 1.25rem; color: rgba(255,255,255,.86); font-size: .79rem; line-height: 1.62; }
.related-card .button { min-height: 36px; margin-top: auto; padding: .55rem 1rem; font-size: .73rem; box-shadow: none; }

.service-cta {
  min-height: 470px;
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  color: #fff;
  background: url("assets/bg-cta.jpg") center/cover no-repeat;
}

.service-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 37, 61, .78);
}

.service-cta__content { max-width: 760px; text-align: center; }

.service-cta h2 {
  color: #fff;
  text-transform: none;
  font: 500 clamp(2rem, 3.3vw, 3rem)/1.14 "Poppins", sans-serif;
}

.service-cta p { margin: 1rem auto 1.7rem; color: #33aff1; }

@media (min-width: 1081px) {
  .nav-dropdown__menu--services {
    width: 290px;
    max-height: 430px;
    overflow-y: auto;
  }
}

@media (max-width: 900px) {
  .service-grid,
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-detail__grid { grid-template-columns: 1fr; gap: 3rem; }
  .service-detail__media { order: -1; }
  .service-detail__media img { height: min(62vw, 520px); }
}

@media (max-width: 600px) {
  .service-archive-hero,
  .service-detail-hero { min-height: 385px; }
  .service-hero__content { padding-top: 104px; }
  .service-hero__content h1 { font-size: clamp(2rem, 11vw, 3rem); }
  .service-hero__content p { max-width: 330px; font-size: .9rem; }
  .service-catalog,
  .service-detail,
  .related-services { padding: 58px 0 68px; }
  .service-grid,
  .related-grid { grid-template-columns: 1fr; }
  .service-card__image,
  .related-card__image { height: 220px; }
  .service-detail__media img { height: 260px; }
  .service-detail__copy h2,
  .related-services h2,
  .service-cta h2 { font-size: 1.9rem; }
  .service-cta { min-height: 410px; padding: 3rem 0; }
}
