/* Hero pages services — fond clair, logo lisible */
.nx-service-hero {
  background: linear-gradient(180deg, #eef2ff 0%, #f8faff 45%, #ffffff 100%);
  color: #111827;
  padding: 1.5rem 1rem 3rem;
  border-bottom: 1px solid #e5e7eb;
}

.nx-service-hero__inner {
  max-width: 1438px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.nx-service-hero__content {
  width: 100%;
}

.nx-service-hero__media {
  width: 100%;
  max-width: 32rem;
}

.nx-service-hero__media img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 12px 32px rgba(0, 22, 87, 0.1);
  object-fit: cover;
}

.nx-service-hero h1 {
  font-weight: 600;
  font-size: clamp(1.75rem, 4vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #111827;
  margin: 0;
}

.nx-service-hero h1 .nx-highlight {
  color: #0f40c5;
}

.nx-service-hero__lead {
  margin: 1.25rem 0 0;
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.65;
  max-width: 36rem;
}

@media (min-width: 768px) {
  .nx-service-hero__lead {
    font-size: 1.125rem;
  }
}

.nx-service-hero__cta {
  display: inline-block;
  margin-top: 2rem;
  background: #001657;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.625rem;
  text-decoration: none;
  transition: background 0.2s;
}

.nx-service-hero__cta:hover {
  background: #002080;
}

.nx-service-hero__gallery {
  display: flex;
  justify-content: center;
  gap: 1rem;
  width: 100%;
}

.nx-service-hero__gallery img {
  border-radius: 1rem;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 22, 87, 0.1);
}

@media (min-width: 1024px) {
  .nx-service-hero {
    padding: 2rem 1.5rem 3.5rem;
  }

  .nx-service-hero__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
  }

  .nx-service-hero__content {
    flex: 1;
  }

  .nx-service-hero__media {
    flex: 1;
    max-width: none;
  }
}

@media (max-width: 767px) {
  .nx-service-hero__gallery {
    flex-direction: column;
    align-items: center;
  }

  .nx-service-hero__gallery img {
    width: 75% !important;
    padding: 0 !important;
  }
}
