/* Service carousel for services.php */
.services-showcase {
  overflow: hidden;
  background: #fff;
}
+.services-hero {
  position: relative;
  overflow: hidden;
  color: #13243a;
  background: #f1f3f4;
}
.services-hero__grid {
  position: absolute;
  inset: 0;
  opacity: .24;
  background: radial-gradient(circle at 7% 16%, rgba(8, 166, 166, .16), transparent 30%), linear-gradient(90deg, transparent 0 49.9%, rgba(21, 44, 66, .05) 50%, transparent 50.1%);
}
.services-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(300px, .82fr) minmax(540px, 1.18fr);
  gap: clamp(55px, 8vw, 145px);
  align-items: center;
  min-height: 480px;
  padding: 72px 0;
}
.services-hero__brand-name {
  margin: 0;
  color: #05a6a6;
  font: 800 clamp(48px, 6.4vw, 92px)/.93 Manrope, sans-serif;
  letter-spacing: -.075em;
}
.services-hero__brand-subtitle {
  max-width: 390px;
  margin: 27px 0 35px;
  color: #33465c;
  font: italic 500 clamp(21px, 2.1vw, 31px)/1.25 Georgia, serif;
}
.services-hero__brand-line {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #008b90;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
}
.services-hero__brand-line::before {
  width: 38px;
  height: 2px;
  content: "";
  background: #05a6a6;
}
.services-hero__path {
  position: relative;
  padding-left: 6px;
}
.services-hero__path::before {
  position: absolute;
  top: 25px;
  bottom: 25px;
  left: 29px;
  width: 1px;
  content: "";
  background: linear-gradient(#05a6a6, rgba(5, 166, 166, .14));
}
.services-hero__path a {
  position: relative;
  display: grid;
  grid-template-columns: 58px 1fr 24px;
  gap: 17px;
  align-items: center;
  min-height: 88px;
  padding: 10px 12px 10px 0;
  color: inherit;
  text-decoration: none;
  border-radius: 12px;
  transition: background-color .25s ease, transform .25s ease;
}
.services-hero__path a:hover {
  background: rgba(255, 255, 255, .68);
  transform: translateX(5px);
}
.services-hero__path img {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  padding: 6px;
  margin-left: 9px;
  background: #f1f3f4;
  border: 1px solid rgba(5, 166, 166, .55);
  border-radius: 12px;
}
.services-hero__path span {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.services-hero__path strong {
  color: #13243a;
  font-size: clamp(14px, 1.15vw, 18px);
  font-weight: 800;
  letter-spacing: .02em;
}
.services-hero__path small {
  color: #65758a;
  font-size: 14px;
}
.services-hero__path b {
  color: #05a6a6;
  font-size: 0;
  font-weight: 400;
  transition: transform .25s ease;
}
.services-hero__path b::after {
  content: ">";
  display: block;
  font-size: 25px;
  font-weight: 300;
  line-height: 1;
}
.services-hero__path a:hover b {
  transform: translateX(4px);
}
@media (max-width: 900px) {
  .services-hero__inner { grid-template-columns: .75fr 1.25fr; gap: 38px; }
  .services-hero__path strong { font-size: 14px; }
  .services-hero__path small { font-size: 13px; }
}
@media (max-width: 680px) {
  .services-hero__inner { display: block; min-height: 0; padding: 64px 0 52px; }
  .services-hero__brand { margin-bottom: 48px; }
  .services-hero__brand-name { font-size: clamp(54px, 16vw, 82px); }
  .services-hero__brand-subtitle { max-width: 420px; font-size: 23px; }
  .services-hero__path { padding-left: 0; }
  .services-hero__path::before { left: 25px; }
  .services-hero__path a { grid-template-columns: 50px 1fr 20px; gap: 13px; min-height: 82px; }
  .services-hero__path img { width: 36px; height: 36px; margin-left: 7px; }
  .services-hero__path strong { font-size: 13px; }
  .services-hero__path small { font-size: 12px; line-height: 1.35; }
}
.services-showcase .page-intro-grid {
  margin-bottom: 10px;
}
.services-carousel {
  --carousel-accent: #05a6a6;
  --carousel-ink: #1f2f45;
  --carousel-muted: #65748a;
  position: relative;
  margin-top: 56px;
}
.services-carousel__viewport {
  width: 100%;
  overflow: hidden;
  padding: 30px 0 42px;
  cursor: grab;
  touch-action: pan-y;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.services-carousel__viewport.is-dragging { cursor: grabbing; }
.services-carousel__track {
  display: flex;
  align-items: stretch;
  gap: 24px;
  width: max-content;
  padding: 0 12px;
  user-select: none;
  will-change: transform;
  transition: transform .8s cubic-bezier(.22,.61,.36,1);
}
.services-carousel__card {
  display: flex;
  flex: 0 0 clamp(300px, 29vw, 400px);
  flex-direction: column;
  min-height: 496px;
  overflow: hidden;
  color: var(--carousel-ink);
  text-decoration: none;
  background: #fff;
  border: 1px solid #e7ebef;
  border-radius: 20px;
  box-shadow: 0 12px 35px rgba(14, 36, 58, .08);
  opacity: .72;
  transform: translateY(14px) scale(.94);
  transition: transform .7s cubic-bezier(.22,.61,.36,1), opacity .55s ease, background-color .55s ease, border-color .55s ease, box-shadow .55s ease;
}
.services-carousel__card.is-prev,
.services-carousel__card.is-next {
  opacity: .92;
  transform: translateY(8px) scale(.97);
}
.services-carousel__card.is-active {
  z-index: 2;
  color: #fff;
  background: var(--carousel-accent);
  border-color: var(--carousel-accent);
  box-shadow: 0 32px 70px rgba(178, 122, 0, .25);
  opacity: 1;
  transform: translateY(-14px) scale(1.035);
}
.services-carousel__image {
  position: relative;
  height: 232px;
  margin: 10px 10px 0;
  overflow: hidden;
  border-radius: 14px;
  background: #152b42;
}
.services-carousel__card.is-active .services-carousel__image {
  height: 258px;
}
.services-carousel__image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(140deg, rgba(255,255,255,.04), transparent 55%, rgba(255,190,30,.25));
  pointer-events: none;
}
.services-carousel__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.9) contrast(1.06);
  transition: transform .8s cubic-bezier(.22,.61,.36,1), filter .6s ease;
}
.services-carousel__card:hover .services-carousel__image img,
.services-carousel__card.is-active .services-carousel__image img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.06);
}
.services-carousel__badge {
  position: absolute;
  z-index: 2;
  top: 13px;
  right: 13px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--carousel-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 8px 18px rgba(14, 36, 58, .14);
}
.services-carousel__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 21px 24px 25px;
}
.services-carousel__body small {
  color: #087e83;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.services-carousel__card.is-active .services-carousel__body small {
  color: rgba(255,255,255,.84);
}
.services-carousel__body h3 {
  margin: 11px 0 10px;
  color: inherit;
  font: 800 25px/1.14 Manrope, sans-serif;
  letter-spacing: -.035em;
}
.services-carousel__body p {
  margin: 0;
  color: var(--carousel-muted);
  font-size: 15px;
  line-height: 1.55;
}
.services-carousel__card.is-active .services-carousel__body p {
  color: rgba(255,255,255,.82);
}
.services-carousel__body strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 21px;
  color: #008f95;
  font-size: 14px;
}
.services-carousel__card.is-active .services-carousel__body strong {
  color: #fff;
}
.services-carousel__body strong span {
  transition: transform .25s ease;
}
.services-carousel__card:hover .services-carousel__body strong span {
  transform: translateX(4px);
}
.services-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 2px;
}
.services-carousel__arrow {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  background: var(--carousel-accent);
  border: 0;
  border-radius: 50%;
  transition: transform .25s ease, filter .25s ease;
}
.services-carousel__arrow:hover {
  filter: brightness(.96);
  transform: translateY(-2px);
}
.services-carousel__arrow:focus-visible {
  outline: 3px solid rgba(0, 155, 160, .42);
  outline-offset: 4px;
}
.services-carousel__counter {
  display: flex;
  align-items: baseline;
  min-width: 72px;
  justify-content: center;
  gap: 8px;
  color: #8a96a4;
}
.services-carousel__counter strong {
  color: var(--carousel-ink);
  font-size: 18px;
}
.services-carousel__counter span {
  width: 28px;
  height: 1px;
  background: #cdd5dc;
}
.services-carousel__counter small {
  font-size: 12px;
  font-weight: 700;
}
@media (max-width: 900px) {
  .services-carousel__card { flex-basis: min(360px, 43vw); }
  .services-carousel__card.is-active { transform: translateY(-10px) scale(1.02); }
}
@media (max-width: 680px) {
  .services-carousel { margin-top: 38px; }
  .services-carousel__viewport {
    padding: 24px 0 32px;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .services-carousel__track { gap: 16px; padding: 0 8px; }
  .services-carousel__card { flex-basis: calc(100vw - 72px); min-height: 470px; }
  .services-carousel__card.is-active { transform: translateY(-7px) scale(1); }
  .services-carousel__image { height: 220px; }
  .services-carousel__card.is-active .services-carousel__image { height: 235px; }
  .services-carousel__body h3 { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  .services-carousel__track,
  .services-carousel__card,
  .services-carousel__image img { transition: none; }
}
