.service-directory-page .service-hub-hero {
  position: relative;
  min-height: 390px;
  padding: 132px 0 86px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0b4c65 url("assets/automacao-min1-1536x480.jpg") center 52% / cover no-repeat;
  color: #fff;
}

.service-directory-page .service-hub-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #082c3af0 0%, #07516dd9 52%, #073649b8 100%);
}

.service-hub-intro {
  position: relative;
  z-index: 1;
}

.service-hub-intro .eyebrow {
  color: #a8e8f1;
}

.service-hub-intro h1 {
  max-width: 850px;
  margin: 0 0 15px;
  color: #fff;
  font: 700 clamp(38px, 5vw, 62px)/1.02 Rajdhani, sans-serif;
  letter-spacing: -.02em;
}

.service-hub-intro > p:not(.eyebrow) {
  max-width: 590px;
  margin: 0;
  color: #d2e4e8;
  font-size: 15px;
  line-height: 1.75;
}

.service-hub-intro .outline-button {
  gap: 22px;
  margin-top: 24px;
}

.service-jump-nav {
  position: sticky;
  z-index: 40;
  top: 70px;
  border-bottom: 1px solid #e6ecee;
  background: #fffffff0;
  box-shadow: 0 8px 22px #0b29310a;
  backdrop-filter: blur(14px);
}

.service-jump-inner {
  width: min(1170px, calc(100% - 56px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.service-jump-inner a {
  position: relative;
  flex: 0 0 auto;
  padding: 9px 2px;
  color: #526168;
  font: 700 12px Rajdhani, sans-serif;
  letter-spacing: .03em;
  transition: color .2s ease;
}

.service-jump-inner a::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: 1px;
  left: 0;
  height: 2px;
  background: #1580a0;
  transition: right .2s ease;
}

.service-jump-inner a:hover,
.service-jump-inner a:focus-visible {
  color: #075f7f;
}

.service-jump-inner a:hover::after,
.service-jump-inner a:focus-visible::after {
  right: 0;
}

.service-page-section {
  padding: 92px 0 98px;
  scroll-margin-top: 140px;
  background: #fff;
}

.service-page-section.is-contrast {
  background: #f6f8f9;
}

.service-page-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(42px, 6vw, 90px);
}

.service-page-grid.is-reverse .service-page-photo {
  order: 2;
}

.service-page-grid.is-reverse .service-page-copy {
  order: 1;
}

.service-page-photo {
  position: relative;
  min-width: 0;
  min-height: 380px;
  aspect-ratio: 1.18;
  margin: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #e2ebee;
  border-radius: 16px;
  background: radial-gradient(circle at 50% 45%, #fff 0, #f1f7f8 68%, #dfeaec 100%);
  box-shadow: 0 22px 52px #0d37400f;
}

.service-page-photo::before {
  content: "";
  position: absolute;
  inset: 12% 13%;
  z-index: -1;
  border: 1px solid #0b71941c;
  border-radius: 50%;
  transform: rotate(-18deg);
}

.service-page-photo img {
  width: 100%;
  height: 100%;
  padding: 15px;
  object-fit: contain;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}

.service-page-section:hover .service-page-photo img {
  transform: scale(1.035);
}

.service-photo-number {
  position: absolute;
  top: 19px;
  left: 19px;
  z-index: 2;
  padding: 8px 11px;
  border: 1px solid #fff;
  border-radius: 30px;
  background: #0b506be8;
  color: #fff;
  font: 700 13px Rajdhani, sans-serif;
  letter-spacing: .05em;
}

.service-photo-number i {
  color: #b7d9e0;
  font-size: 10px;
  font-style: normal;
}

.service-page-photo figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  padding: 11px 13px;
  border: 1px solid #ffffff56;
  border-radius: 7px;
  background: #102e3bdc;
  color: #fff;
  font: 600 11px Rajdhani, sans-serif;
  letter-spacing: .04em;
  text-align: center;
  backdrop-filter: blur(8px);
}

.service-page-copy .eyebrow {
  margin-bottom: 8px;
}

.service-page-copy h2 {
  margin: 0 0 11px;
  color: #192127;
  font: 700 clamp(32px, 3.5vw, 43px)/1.06 Rajdhani, sans-serif;
  letter-spacing: -.015em;
}

.service-page-copy h3 {
  margin: 0 0 13px;
  color: #075f7f;
  font: 600 21px/1.22 Rajdhani, sans-serif;
}

.service-page-copy > p:not(.eyebrow) {
  margin: 0 0 20px;
  color: #68757b;
  font-size: 14px;
  line-height: 1.8;
}

.service-feature-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px 22px;
  list-style: none;
}

.service-feature-list li {
  position: relative;
  min-width: 0;
  padding-left: 19px;
  color: #505e64;
  font-size: 12px;
  line-height: 1.6;
}

.service-feature-list li::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  width: 8px;
  height: 8px;
  border: 2px solid #0d7899;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px #0d789917;
}

.service-contact-cta {
  min-height: 47px;
  margin-top: 25px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border: 1px solid #075f7f;
  background: #075f7f;
  color: #fff;
  font: 700 11px Rajdhani, sans-serif;
  letter-spacing: .05em;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.service-contact-cta:hover {
  transform: translateY(-2px);
  background: #0b7596;
  box-shadow: 0 9px 20px #07516d29;
}

.service-contact-cta span {
  font-size: 15px;
  transition: transform .2s ease;
}

.service-contact-cta:hover span {
  transform: translate(3px, -2px);
}

@media (max-width: 940px) {
  .service-page-section { padding: 70px 0; }
  .service-page-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 34px; }
  .service-page-photo { min-height: 310px; }
  .service-feature-list { grid-template-columns: 1fr; gap: 9px; }
  .service-page-copy h2 { font-size: 34px; }
}

@media (max-width: 700px) {
  .service-directory-page .service-hub-hero { min-height: 370px; padding: 112px 0 70px; }
  .service-jump-inner { width: calc(100% - 32px); min-height: 60px; justify-content: flex-start; gap: 23px; }
  .service-page-section { padding: 57px 0 64px; scroll-margin-top: 125px; }
  .service-page-grid { grid-template-columns: 1fr; gap: 26px; }
  .service-page-grid.is-reverse .service-page-photo,
  .service-page-grid.is-reverse .service-page-copy { order: initial; }
  .service-page-photo { min-height: 280px; aspect-ratio: 1.3; }
  .service-page-copy h2 { font-size: 35px; }
  .service-feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; }
}

@media (max-width: 460px) {
  .service-directory-page .service-hub-hero { min-height: 345px; padding: 105px 0 60px; }
  .service-hub-intro h1 { font-size: 39px; }
  .service-hub-intro > p:not(.eyebrow) { font-size: 13px; }
  .service-feature-list { grid-template-columns: 1fr; }
  .service-page-photo { min-height: 245px; }
  .service-page-copy h2 { font-size: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .service-page-photo img,
  .service-contact-cta { transition: none !important; }
}
