/* =============================================
   Service Page - Premium banner + image column + sidebar
   ============================================= */

.service-page-top {
  padding-top: calc(var(--header-height) + 32px);
  padding-bottom: var(--section-gap, 96px);
  background: linear-gradient(180deg, #fdfcfa 0%, #ffffff 42%, #faf8f5 100%);
}

.service-page-top > .container > .breadcrumb-nav {
  justify-content: flex-start;
  margin-bottom: 1.15rem;
}

/* -- Premium full-width banner -- */
.service-hero-banner {
  position: relative;
  margin-bottom: 2.25rem;
  padding: clamp(28px, 4vw, 40px) clamp(22px, 4vw, 36px);
  border-radius: 22px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 247, 240, 0.95) 48%, rgba(232, 242, 251, 0.92) 100%);
  border: 1px solid rgba(242, 126, 1, 0.14);
  box-shadow:
    0 20px 50px rgba(30, 58, 95, 0.07),
    0 4px 16px rgba(242, 126, 1, 0.06);
}

.service-hero-banner-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0b4d8f 0%, #f27e01 45%, #c9a227 75%, #0b4d8f 100%);
  background-size: 200% 100%;
  animation: serviceHeroAccent 8s ease-in-out infinite;
}

@keyframes serviceHeroAccent {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.service-hero-banner-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  top: -120px;
  right: -60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 126, 1, 0.14) 0%, transparent 68%);
  pointer-events: none;
}

.service-hero-banner-glow::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  bottom: -180px;
  left: -320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 77, 143, 0.1) 0%, transparent 70%);
}

.service-hero-banner-inner {
  position: relative;
  z-index: 1;
}

.service-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(30, 74, 122, 0.1);
  border-radius: var(--radius-full, 9999px);
  font-family: var(--font-primary);
  font-size: 0.76rem;
  font-weight: 600;
  color: #2a4568;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(30, 58, 95, 0.05);
}

.service-hero-eyebrow i {
  color: #f27e01;
  font-size: 0.82rem;
}

.service-hero-banner h1 {
  font-size: clamp(1.9rem, 4.2vw, 2.85rem);
  font-weight: 700;
  color: #1a2e4a;
  margin-bottom: 0.7rem;
  line-height: 1.12;
  letter-spacing: -0.025em;
  max-width: 900px;
}

.service-hero-subtitle {
  font-family: var(--font-secondary);
  font-size: clamp(1rem, 1.65vw, 1.14rem);
  color: #5a6d85;
  margin-bottom: 1.6rem;
  line-height: 1.65;
  max-width: 680px;
}

.service-hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 1.35rem;
  padding: 0;
  list-style: none;
}

.service-hero-trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #3d5570;
}

.service-hero-trust-row li i {
  color: #1e4a7a;
  font-size: 0.72rem;
  opacity: 0.85;
}

.service-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.service-hero-cta .btn-primary-custom {
  box-shadow: var(--btn-shadow);
  padding: 13px 26px;
}

.service-hero-cta .btn-primary-custom:hover {
  transform: translateY(-2px);
}

.service-hero-cta .btn-outline-custom:hover {
  transform: translateY(-2px);
}

/* -- Image in left column -- */
.service-hero-visual-wrap {
  margin-bottom: 2rem;
}

.service-hero-frame {
  position: relative;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  box-shadow:
    0 18px 48px rgba(30, 58, 95, 0.1),
    0 0 0 1px rgba(30, 58, 95, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-hero-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, rgba(242, 126, 1, 0.35), rgba(11, 77, 143, 0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}

.service-hero-frame:hover {
  transform: translateY(-3px);
  box-shadow:
    0 24px 56px rgba(30, 58, 95, 0.12),
    0 0 0 1px rgba(242, 126, 1, 0.12);
}

.service-hero-img {
  width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.5s ease;
}

.service-hero-frame:hover .service-hero-img {
  transform: scale(1.02);
}

.service-page-top .service-detail-content > h2:first-of-type {
  margin-top: 0;
}

@media (min-width: 992px) {
  .service-page-top .col-lg-4 .blog-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 24px);
  }
}

@media (max-width: 991.98px) {
  .service-page-top {
    padding-top: calc(var(--header-height) + 22px);
  }

  .service-hero-banner {
    padding: 24px 20px;
    border-radius: 18px;
  }

  .service-hero-banner h1 {
    font-size: 1.75rem;
  }

  .service-hero-img {
    max-height: 280px;
  }
}

@media (max-width: 575.98px) {
  .service-hero-banner {
    margin-bottom: 1.75rem;
    padding: 20px 16px;
    border-radius: 16px;
  }

  .service-hero-banner h1 {
    font-size: 1.48rem;
  }

  .service-hero-eyebrow {
    font-size: 0.7rem;
    padding: 6px 11px;
  }

  .service-hero-trust-row {
    gap: 6px 10px;
    margin-bottom: 1.1rem;
  }

  .service-hero-trust-row li {
    font-size: 0.72rem;
  }

  .service-hero-cta .btn-primary-custom {
    width: 100%;
    justify-content: center;
  }

  .service-hero-cta .btn-outline-custom {
    flex: 1 1 calc(50% - 6px);
    justify-content: center;
    min-width: 0;
    font-size: 0.84rem;
    padding: 11px 12px;
  }

  .service-hero-img {
    max-height: 220px;
  }

  .service-hero-frame {
    border-radius: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-hero-banner-accent,
  .service-hero-frame,
  .service-hero-img,
  .service-hero-cta .btn-primary-custom,
  .service-hero-cta .btn-outline-custom {
    animation: none;
    transition: none;
  }

  .service-hero-frame:hover,
  .service-hero-frame:hover .service-hero-img {
    transform: none;
  }
}
