/* ! =========================
   SERVICE DETAIL HERO
========================= */

.service-detail-hero-section {
  position: relative;

  width: 100%;
  min-height: 430px;

  overflow: hidden;

  background: #10202c;

  isolation: isolate;
}

/* =========================
   BACKGROUND IMAGE
========================= */

.service-detail-hero-image {
  position: absolute;
  inset: 0;

  z-index: 1;

  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}

/* =========================
   OVERLAY
========================= */

.service-detail-hero-overlay {
  position: absolute;
  inset: 0;

  z-index: 2;

  background:
    linear-gradient(
      90deg,
      rgba(5, 40, 67, 0.78) 0%,
      rgba(22, 68, 96, 0.58) 32%,
      rgba(26, 52, 69, 0.4) 60%,
      rgba(12, 22, 30, 0.54) 100%
    ),
    linear-gradient(180deg, rgba(7, 18, 25, 0.1) 0%, rgba(7, 18, 25, 0.3) 100%);
}

/* =========================
   WRAPPER
========================= */

.service-detail-hero-wrapper {
  position: relative;

  z-index: 3;

  width: min(100% - 32px, 1320px);
  min-height: 430px;

  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================
   CONTENT
========================= */

.service-detail-hero-content {
  width: 100%;
  max-width: 1000px;

  padding: 70px 0;

  color: #ffffff;

  text-align: center;
}

/* Kicker */

.service-detail-hero-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 12px;

  margin-bottom: 22px;

  color: #ffffff;

  font-size: 0.78rem;
  line-height: 1;
  font-weight: 800;

  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-detail-hero-kicker::before,
.service-detail-hero-kicker::after {
  content: "";

  width: 44px;
  height: 3px;

  border-radius: 999px;

  background: #00b2e9;
}

/* =========================
   H1
========================= */

.service-detail-hero-content h1 {
  max-width: 1000px;

  margin: 0 auto;

  color: #ffffff;

  font-size: clamp(2.7rem, 5vw, 3rem);
  line-height: 0.98;

  font-weight: 900;
  letter-spacing: -0.055em;

  text-shadow: 0 10px 30px rgba(7, 18, 25, 0.24);
}

/* =========================
   SUBTITLE
========================= */

.service-detail-hero-content p {
  max-width: 820px;

  margin: 24px auto 0;

  color: rgba(255, 255, 255, 0.94);

  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.4;

  font-weight: 500;
}

/* =========================
   TABLET
========================= */

@media (max-width: 991.98px) {
  .service-detail-hero-section,
  .service-detail-hero-wrapper {
    min-height: 400px;
  }

  .service-detail-hero-content {
    padding: 60px 0;
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 767.98px) {
  .service-detail-hero-section,
  .service-detail-hero-wrapper {
    min-height: 450px;
  }

  .service-detail-hero-wrapper {
    width: min(100% - 24px, 1320px);
  }

  .service-detail-hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(5, 32, 50, 0.66) 0%,
      rgba(6, 27, 42, 0.84) 100%
    );
  }

  .service-detail-hero-content {
    padding: 56px 0;
  }

  .service-detail-hero-kicker {
    margin-bottom: 18px;

    font-size: 0.72rem;
  }

  .service-detail-hero-kicker::before,
  .service-detail-hero-kicker::after {
    width: 30px;
  }

  .service-detail-hero-content h1 {
    font-size: 2.35rem;
    line-height: 1;
  }

  .service-detail-hero-content p {
    margin-top: 18px;

    font-size: 1.05rem;
    line-height: 1.45;
  }
}

/* ! =========================
   SERVICE DETAIL FEATURES
========================= */

.service-detail-features-section {
  padding: 80px 0;

  background: #ffffff;
}

.service-detail-features-wrapper {
  width: min(100% - 32px, 1320px);
  margin: 0 auto;

  display: flex;
  flex-direction: column;

  gap: 24px;
}

/* =========================
   FEATURE CARD
========================= */

.service-detail-feature-card {
  position: relative;

  width: 100%;
  min-height: 330px;

  overflow: hidden;

  border-radius: 20px;

  display: grid;
  grid-template-columns:
    minmax(320px, 42%)
    minmax(0, 58%);

  background: #f7f7f5;

  border: 1px solid rgba(15, 23, 42, 0.06);

  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07);

  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

.service-detail-feature-card:hover {
  transform: translateY(-3px);

  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.11);
}

/* =========================
   IMAGE
========================= */

.service-detail-feature-media {
  position: relative;

  min-width: 0;
  height: 100%;

  overflow: hidden;

  background: #dce2e7;
}

.service-detail-feature-media::after {
  content: "";

  position: absolute;
  inset: 0;

  background: linear-gradient(
    90deg,
    rgba(15, 23, 42, 0) 65%,
    rgba(15, 23, 42, 0.07) 100%
  );

  pointer-events: none;
}

.service-detail-feature-media img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  transform: scale(1);

  transition:
    transform 0.5s ease,
    filter 0.35s ease;
}

.service-detail-feature-card:hover .service-detail-feature-media img {
  transform: scale(1.035);

  filter: saturate(1.05);
}

/* =========================
   CONTENT
========================= */

.service-detail-feature-content {
  min-width: 0;

  padding: clamp(32px, 4vw, 56px);

  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Label */

.service-detail-feature-label {
  display: inline-flex;
  align-items: center;

  width: fit-content;

  margin-bottom: 18px;

  color: #1671d9;

  font-size: 0.74rem;
  line-height: 1;

  font-weight: 900;

  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.service-detail-feature-label::before {
  content: "";

  width: 36px;
  height: 3px;

  margin-right: 10px;

  border-radius: 999px;

  background: #00b2e9;
}

/* Title */

.service-detail-feature-content h2 {
  max-width: 650px;

  margin: 0 0 20px;

  color: #263444;

  font-size: clamp(2rem, 3vw, 2.5rem);
  line-height: 1;

  font-weight: 900;
  letter-spacing: -0.05em;
}

/* Text */

.service-detail-feature-content p {
  max-width: 680px;

  margin: 0;

  color: #4a5562;

  font-size: 1rem;
  line-height: 1.6;

  font-weight: 400;
}

/* =========================
   TABLET
========================= */

@media (max-width: 991.98px) {
  .service-detail-features-section {
    padding: 68px 0;
  }

  .service-detail-feature-card {
    grid-template-columns:
      minmax(280px, 40%)
      minmax(0, 60%);

    min-height: 310px;
  }

  .service-detail-feature-content {
    padding: 34px;
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 767.98px) {
  .service-detail-features-section {
    padding: 52px 0;
  }

  .service-detail-features-wrapper {
    width: min(100% - 24px, 1320px);

    gap: 18px;
  }

  .service-detail-feature-card {
    min-height: 0;

    grid-template-columns: 1fr;
    grid-template-rows:
      260px
      auto;

    border-radius: 16px;
  }

  .service-detail-feature-media {
    height: 260px;
  }

  .service-detail-feature-media::after {
    background: linear-gradient(
      180deg,
      rgba(15, 23, 42, 0) 75%,
      rgba(15, 23, 42, 0.08) 100%
    );
  }

  .service-detail-feature-content {
    padding: 26px 22px 30px;
  }

  .service-detail-feature-label {
    margin-bottom: 15px;

    font-size: 0.7rem;
  }

  .service-detail-feature-content h2 {
    margin-bottom: 16px;

    font-size: 2rem;
  }

  .service-detail-feature-content p {
    font-size: 0.94rem;
    line-height: 1.55;
  }
}
