/* Separate Usluge overview: three focused entry points in the same cinematic system. */
.services-page {
  --services-line: rgba(64, 124, 88, .28);
  --services-muted: rgba(214, 224, 217, .72);
  background:
    radial-gradient(900px 620px at 82% 6%, rgba(34, 197, 94, .08), transparent 68%),
    radial-gradient(760px 560px at 12% 44%, rgba(64, 124, 88, .06), transparent 72%),
    linear-gradient(180deg, #000 0%, #020504 46%, #000 100%);
}

.services-page .page-shell {
  padding-bottom: 28px;
}

.services-overview-page {
  max-width: 1380px;
  margin-inline: auto;
}

.services-overview-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  align-items: center;
  gap: clamp(48px, 9vw, 150px);
  min-height: calc(100svh - 110px);
  padding: clamp(90px, 13vh, 170px) 0 clamp(72px, 10vh, 130px);
}

.services-hero-copy {
  max-width: 720px;
}

.services-hero-copy h1 {
  max-width: 12ch;
  margin: 10px 0 24px;
  font-size: clamp(3.2rem, 7vw, 7rem);
  line-height: .95;
  letter-spacing: -.065em;
}

.services-hero-copy > p:not(.eyebrow) {
  max-width: 54ch;
  color: var(--services-muted);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.7;
}

.services-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.services-hero-actions .button {
  min-height: 50px;
}

.services-hero-index {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 44px);
  border-block: 1px solid var(--services-line);
  background:
    radial-gradient(420px 280px at 100% 0%, rgba(34, 197, 94, .12), transparent 70%),
    linear-gradient(135deg, rgba(11, 22, 15, .9), rgba(2, 5, 3, .35));
}

.services-hero-index::before,
.services-hero-index::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.services-hero-index::before {
  inset: 18% -8% auto 32%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 197, 94, .55), transparent);
  transform: rotate(-23deg);
}

.services-hero-index::after {
  top: 14%;
  right: 14%;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(34, 197, 94, .2);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(34, 197, 94, .025), 0 0 0 56px rgba(34, 197, 94, .018);
}

.services-hero-index-label {
  position: relative;
  z-index: 1;
  margin: 0 0 24px;
  color: var(--services-muted);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.services-hero-index a {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 16px;
  min-height: 82px;
  border-top: 1px solid rgba(64, 124, 88, .22);
  color: #fff;
  text-decoration: none;
  transition: background .24s ease, padding .24s ease;
}

.services-hero-index a:hover,
.services-hero-index a:focus-visible {
  padding-inline: 12px;
  background: rgba(34, 197, 94, .08);
}

.services-hero-index a span {
  color: #22c55e;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.services-hero-index a strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.7rem);
  letter-spacing: -.035em;
}

.services-hero-index a b {
  color: #22c55e;
  font-size: 1.35rem;
  font-weight: 500;
  transition: transform .24s ease;
}

.services-hero-index a:hover b,
.services-hero-index a:focus-visible b {
  transform: translateX(5px);
}

.services-catalog {
  padding-top: clamp(60px, 8vw, 110px);
  border-top: 1px solid var(--services-line);
}

.services-catalog .section-heading {
  max-width: 820px;
}

.services-catalog .section-heading h2 {
  max-width: 16ch;
}

.services-catalog-list {
  border-top: 1px solid var(--services-line);
}

.service-overview-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .78fr);
  min-height: 380px;
  overflow: hidden;
  border-bottom: 1px solid var(--services-line);
  color: #fff;
  text-decoration: none;
  isolation: isolate;
}

.service-overview-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(34, 197, 94, .055), transparent 58%);
  opacity: .35;
  transition: opacity .3s ease;
}

.service-overview-card:hover::before,
.service-overview-card:focus-visible::before {
  opacity: 1;
}

.service-overview-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(34px, 5vw, 68px) clamp(26px, 5vw, 74px) clamp(34px, 5vw, 68px) 0;
}

.service-overview-number {
  margin: 0 0 14px;
  color: #22c55e;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .17em;
}

.service-overview-copy h3 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: .99;
  letter-spacing: -.06em;
}

.service-overview-copy > p:not(.service-overview-number) {
  max-width: 54ch;
  margin: 20px 0 0;
  color: var(--services-muted);
  line-height: 1.65;
}

.service-overview-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.service-overview-tags span {
  padding: 8px 11px;
  border: 1px solid rgba(64, 124, 88, .3);
  color: rgba(236, 247, 239, .8);
  font-size: .78rem;
  font-weight: 700;
}

.service-overview-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  padding-bottom: 8px;
  border-bottom: 1px solid #22c55e;
  font-weight: 800;
}

.service-overview-link b {
  color: #22c55e;
  font-size: 1.2rem;
  font-weight: 500;
  transition: transform .24s ease;
}

.service-overview-card:hover .service-overview-link b,
.service-overview-card:focus-visible .service-overview-link b {
  transform: translateX(5px);
}

.service-overview-media {
  position: relative;
  min-height: 380px;
  margin: 0;
  overflow: hidden;
  border-left: 1px solid var(--services-line);
  background: #050806;
}

.service-overview-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.82) contrast(1.06);
  transform: scale(1.02);
  transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .35s ease;
}

.service-overview-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .82), rgba(0, 0, 0, .15) 68%),
    linear-gradient(0deg, rgba(0, 0, 0, .62), transparent 55%);
  pointer-events: none;
}

.service-overview-media > span {
  position: absolute;
  z-index: 1;
  right: 22px;
  bottom: 20px;
  color: rgba(255, 255, 255, .65);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.service-overview-card:hover .service-overview-video,
.service-overview-card:focus-visible .service-overview-video {
  filter: saturate(1) contrast(1.08);
  transform: scale(1.07);
}

.services-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  padding-block: clamp(62px, 8vw, 108px);
  border-bottom: 1px solid var(--services-line);
}

.services-contact h2 {
  max-width: 14ch;
  margin: 8px 0 14px;
  font-size: clamp(2.2rem, 4.5vw, 4.4rem);
  line-height: .98;
  letter-spacing: -.06em;
}

.services-contact p:not(.eyebrow) {
  max-width: 50ch;
  margin: 0;
  color: var(--services-muted);
  line-height: 1.65;
}

.services-contact .services-hero-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.services-page .site-footer {
  margin-top: 0;
  border-radius: 0;
  border-inline: 0;
  background: transparent;
  box-shadow: none;
}

@media (max-width: 960px) {
  .services-overview-hero {
    grid-template-columns: 1fr;
    gap: 52px;
    min-height: auto;
  }

  .services-hero-copy h1 {
    max-width: 14ch;
  }

  .services-hero-index {
    max-width: 760px;
  }

  .service-overview-card {
    grid-template-columns: minmax(0, 1fr) minmax(290px, .72fr);
  }

  .services-contact {
    grid-template-columns: 1fr;
  }

  .services-contact .services-hero-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .services-page .page-shell {
    width: calc(100% - 16px);
  }

  .services-overview-hero {
    gap: 38px;
    padding-block: 76px 58px;
  }

  .services-hero-copy h1 {
    max-width: 12ch;
    font-size: clamp(2.8rem, 13vw, 4.7rem);
  }

  .services-hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .services-hero-actions .button {
    width: 100%;
    padding-inline: 12px;
    white-space: normal;
    text-align: center;
  }

  .services-hero-index {
    padding: 20px;
  }

  .services-hero-index::after {
    width: 110px;
    height: 110px;
  }

  .services-hero-index a {
    grid-template-columns: 40px minmax(0, 1fr) 22px;
    gap: 10px;
    min-height: 70px;
  }

  .services-hero-index a strong {
    font-size: 1.1rem;
  }

  .services-catalog {
    padding-top: 48px;
  }

  .service-overview-card {
    display: flex;
    flex-direction: column;
  }

  .service-overview-media {
    order: -1;
    min-height: 260px;
    border-left: 0;
    border-bottom: 1px solid var(--services-line);
  }

  .service-overview-copy {
    padding: 30px 0 38px;
  }

  .service-overview-copy h3 {
    max-width: 14ch;
    font-size: clamp(2rem, 10vw, 3.25rem);
  }

  .services-contact {
    padding-block: 56px;
  }
}

@media (max-width: 520px) {
  .services-hero-actions {
    grid-template-columns: 1fr;
  }

  .services-hero-index a strong {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-overview-video {
    transform: none;
  }
}
