.page-services {
  background: #ececef;
}

.services-hero {
  position: relative;
  min-height: clamp(180px, 19vw, 290px);
  background: #0f1321 url("../assets/about/about-banner.jpg") center/cover
    no-repeat;
  overflow: hidden;
}

.services-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 24, 0.62);
}

.services-hero-inner {
  width: min(1320px, 92vw);
  min-height: inherit;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
}

.services-hero-inner h1 {
  margin: 0;
  color: #fff;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  line-height: 0.94;
  text-transform: uppercase;
}

.services-hero-breadcrumb {
  margin-top: 0.55rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #fff;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: uppercase;
}

.services-hero-breadcrumb a {
  color: #fff;
  text-decoration: none;
}

.services-hero-breadcrumb a:hover {
  color: #f2f4f8;
}

.services-hero-breadcrumb span[aria-current="page"] {
  color: #ef3b23;
}

.services-catalog {
  padding: clamp(2rem, 4.4vw, 4rem) 0 clamp(2.3rem, 5vw, 4.2rem);
}

.services-catalog-inner {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.services-showcase {
  margin-top: 0;
}

.services-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.45rem);
}

.svc-card {
  position: relative;
}

.svc-media {
  margin: 0;
}

.svc-media img {
  width: 100%;
  height: clamp(210px, 21vw, 285px);
  object-fit: cover;
  display: block;
}

.svc-body {
  width: calc(100% - 2rem);
  margin: -70px auto 0;
  background: #f3f3f5;
  border-top: 2px solid #d0d4dd;
  padding: 2.35rem 1.35rem 1.25rem;
  min-height: 265px;
  box-shadow: 0 12px 24px rgba(17, 23, 42, 0.09);
  position: relative;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.svc-body::after {
  content: "";
  position: absolute;
  top: 0.35rem;
  right: 0.5rem;
  width: 108px;
  height: 86px;
  background-image: radial-gradient(
    circle,
    rgba(188, 193, 203, 0.4) 1.5px,
    transparent 1.5px
  );
  background-size: 10px 10px;
  opacity: 0.75;
  pointer-events: none;
}

.svc-icon {
  position: absolute;
  top: -40px;
  left: 1.25rem;
  width: 78px;
  height: 78px;
  background: #ef3b23;
  color: #fff;
  clip-path: polygon(17% 0, 83% 0, 100% 24%, 100% 100%, 0 100%, 0 24%);
  display: grid;
  place-items: center;
  font-size: 2rem;
}

.svc-icon i {
  display: inline-block;
  transform-origin: center;
  backface-visibility: visible;
  transition: transform 0.7s ease;
}

.svc-body h3 {
  margin: 0;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(1.95rem, 2.35vw, 2.6rem);
  line-height: 0.95;
  text-transform: uppercase;
  color: #111729;
  transition: color 0.3s ease;
}

.svc-body p {
  margin: 0.72rem 0 0;
  color: #5f6676;
  font-size: 0.98rem;
  line-height: 1.5;
  min-height: 74px;
  transition: color 0.3s ease;
}

.svc-link {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid #d4d8e0;
  display: inline-flex;
  align-items: center;
  gap: 0.46rem;
  color: #d13c2c;
  text-decoration: none;
  text-transform: uppercase;
  font-family: "Rajdhani", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  transition:
    color 0.3s ease,
    border-color 0.3s ease;
}

.svc-card:hover .svc-body,
.svc-card:focus-within .svc-body {
  background: #11152f;
  border-color: #ef3b23;
  box-shadow: 0 16px 30px rgba(17, 21, 47, 0.32);
}

.svc-card:hover .svc-body h3,
.svc-card:focus-within .svc-body h3,
.svc-card:hover .svc-body p,
.svc-card:focus-within .svc-body p,
.svc-card:hover .svc-link,
.svc-card:focus-within .svc-link {
  color: #fff;
}

.svc-card:hover .svc-link,
.svc-card:focus-within .svc-link {
  border-color: rgba(255, 255, 255, 0.24);
}

.svc-card:hover .svc-icon i,
.svc-card:focus-within .svc-icon i {
  transform: rotateY(360deg);
}

.services-metrics {
  position: relative;
  width: 100%;
  background:
    radial-gradient(
      circle at 10% -10%,
      rgba(255, 255, 255, 0.16),
      rgba(255, 255, 255, 0) 42%
    ),
    radial-gradient(
      circle at 90% 120%,
      rgba(255, 255, 255, 0.12),
      rgba(255, 255, 255, 0) 45%
    ),
    repeating-radial-gradient(
      circle at 25% 50%,
      rgba(255, 255, 255, 0.05) 0 2px,
      rgba(255, 255, 255, 0) 2px 34px
    ),
    #ef3b23;
  overflow: hidden;
}

.services-metrics-inner {
  width: min(1320px, 94vw);
  margin: 0 auto;
  min-height: 190px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  align-items: center;
  padding: 1.1rem 0.4rem;
}

.services-metric-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  color: #fff;
}

.services-metric-item i {
  font-size: 2.6rem;
  opacity: 0.92;
}

.services-metric-item strong {
  display: block;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(2.2rem, 3.4vw, 3.7rem);
  line-height: 0.82;
  letter-spacing: 0.01em;
}

.services-metric-item span {
  display: block;
  margin-top: 0.32rem;
  font-size: clamp(0.9rem, 1vw, 1.18rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}

.services-why {
  padding: clamp(2.2rem, 4.8vw, 4.4rem) 0;
}

.services-why-inner {
  width: min(1320px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
  gap: clamp(1rem, 2.4vw, 2rem);
  align-items: end;
}

.services-why-content {
  max-width: 780px;
}

.services-why-kicker {
  margin: 0;
  color: #cc3d2c;
  text-transform: uppercase;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
}

.services-why-kicker span {
  width: 32px;
  height: 2px;
  background: #a75d52;
  position: relative;
}

.services-why-kicker span::after {
  content: "";
  position: absolute;
  left: 8px;
  top: -7px;
  width: 22px;
  height: 2px;
  background: #a75d52;
}

.services-why-content h2 {
  margin: 0.75rem 0 0;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 0.98;
  text-transform: uppercase;
  color: #121729;
  max-width: 870px;
}

.services-why-lead {
  margin: 1rem 0 0;
  color: #616878;
  font-size: clamp(0.98rem, 1.13vw, 1.15rem);
  line-height: 1.55;
  max-width: 850px;
}

.services-why-points {
  margin-top: 1.35rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.services-why-point {
  background: #f8f8f9;
  border-top: 2px solid #ef3b23;
  min-height: 185px;
  padding: 1.1rem 1rem 1rem;
}

.services-why-point i {
  color: #d03d2d;
  font-size: 2.3rem;
}

.services-why-point h3 {
  margin: 0.85rem 0 0;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(1.55rem, 2vw, 2.1rem);
  line-height: 1.02;
  text-transform: uppercase;
  color: #171d31;
}

.services-why-visual {
  position: relative;
}

.services-why-visual figure {
  margin: 0;
}

.services-why-visual img {
  width: 100%;
  min-height: 500px;
  max-height: 620px;
  object-fit: cover;
  display: block;
}

.services-why-badge {
  position: absolute;
  left: 1rem;
  top: 0;
  transform: translateY(-55%);
  width: min(82%, 320px);
  min-height: 90px;
  padding: 0.72rem 0.85rem;
  background: #fff;
  box-shadow: 0 14px 24px rgba(14, 19, 34, 0.16);
  display: grid;
  grid-template-columns: 48px auto 1fr;
  align-items: center;
  gap: 0.55rem;
}

.services-why-badge i {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ef3b23;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.32rem;
}

.services-why-badge strong {
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(2.2rem, 2.8vw, 3rem);
  line-height: 0.84;
  color: #11152f;
}

.services-why-badge span {
  color: #1e2537;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(0.95rem, 1.1vw, 1.2rem);
  font-weight: 700;
  text-transform: uppercase;
}

.services-cta {
  position: relative;
  width: 100%;
  background: #ef3b23 url("../assets/home/cta-bg.jpg") center/cover no-repeat;
  overflow: hidden;
}

.services-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(239, 59, 35, 0.9);
}

.services-cta-inner {
  width: min(1320px, 92vw);
  margin: 0 auto;
  min-height: clamp(126px, 11vw, 170px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0.2rem;
  position: relative;
  z-index: 1;
}

.services-cta-copy span {
  display: block;
  margin: 0;
  color: rgba(255, 255, 255, 0.93);
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  font-weight: 700;
  text-transform: uppercase;
}

.services-cta-copy h2 {
  margin: 0.2rem 0 0;
  color: #fff;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(2rem, 3vw, 3.8rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.services-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 60px;
  padding: 0.75rem 1.9rem;
  border-radius: 4px;
  background: #fff;
  color: #101628;
  text-decoration: none;
  text-transform: uppercase;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.28rem;
  font-weight: 700;
}

.services-cta-btn:hover {
  background: #f1f2f5;
}

@media (max-width: 1080px) {
  .services-showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-metrics-inner {
    min-height: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 1.4rem;
    padding: 1.3rem 0.3rem 1.5rem;
  }

  .services-why-inner {
    grid-template-columns: 1fr;
    gap: 1.3rem;
  }

  .services-why-content {
    max-width: 100%;
  }

  .services-why-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-why-visual {
    max-width: 760px;
    justify-self: center;
  }

  .services-why-visual img {
    min-height: 0;
    max-height: 520px;
  }

  .services-why-badge {
    position: static;
    transform: none;
    margin-top: 0.8rem;
    width: min(100%, 360px);
    min-height: 0;
    padding: 0.72rem 0.85rem;
    grid-template-columns: 44px auto 1fr;
    gap: 0.5rem;
  }

  .services-why-badge i {
    width: 42px;
    height: 42px;
    font-size: 1.24rem;
  }

  .services-cta-inner {
    min-height: 0;
    padding: 1rem 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .services-cta-copy h2 {
    font-size: clamp(1.7rem, 6vw, 2.5rem);
  }
}

@media (max-width: 760px) {
  .services-hero {
    min-height: 190px;
    background-position: 60% center;
  }

  .services-hero-inner h1 {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .services-hero-breadcrumb {
    font-size: 1.02rem;
    gap: 0.35rem;
  }

  .services-catalog {
    padding-top: 1.7rem;
    padding-bottom: 2.3rem;
  }

  .services-showcase-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .svc-media img {
    height: 210px;
  }

  .svc-body {
    width: calc(100% - 1rem);
    margin-top: -58px;
    padding: 2rem 1rem 1.1rem;
    min-height: 0;
  }

  .svc-icon {
    width: 72px;
    height: 72px;
    left: 1rem;
    font-size: 1.7rem;
  }

  .svc-body h3 {
    font-size: 1.65rem;
  }

  .svc-body p {
    min-height: 0;
    font-size: 0.94rem;
  }

  .svc-link {
    margin-top: 0.8rem;
    padding-top: 0.75rem;
    font-size: 0.95rem;
  }

  .services-metrics-inner {
    grid-template-columns: 1fr;
    gap: 1.05rem;
    padding: 1.2rem 0.25rem 1.35rem;
  }

  .services-metric-item {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 0.68rem;
  }

  .services-metric-item i {
    font-size: 2rem;
  }

  .services-metric-item strong {
    font-size: clamp(1.9rem, 9vw, 2.5rem);
  }

  .services-metric-item span {
    font-size: 0.92rem;
  }

  .services-why {
    padding-top: 2rem;
    padding-bottom: 2.3rem;
  }

  .services-why-kicker {
    font-size: 1.04rem;
  }

  .services-why-content h2 {
    font-size: clamp(1.85rem, 10.8vw, 2.9rem);
  }

  .services-why-lead {
    font-size: 0.95rem;
  }

  .services-why-points {
    grid-template-columns: 1fr;
    gap: 0.72rem;
  }

  .services-why-point {
    min-height: 0;
    padding: 0.95rem 0.85rem 0.9rem;
  }

  .services-why-point i {
    font-size: 1.9rem;
  }

  .services-why-point h3 {
    font-size: 1.5rem;
    margin-top: 0.65rem;
  }

  .services-why-visual img {
    max-height: 420px;
  }

  .services-why-badge {
    width: 100%;
    max-width: 100%;
    min-height: 0;
    padding: 0.72rem 0.7rem;
    grid-template-columns: 44px auto 1fr;
    gap: 0.5rem;
  }

  .services-why-badge i {
    width: 42px;
    height: 42px;
    font-size: 1.24rem;
  }

  .services-why-badge strong {
    font-size: clamp(2.1rem, 9vw, 2.8rem);
  }

  .services-why-badge span {
    font-size: 0.95rem;
  }

  .services-cta-inner {
    gap: 0.82rem;
  }

  .services-cta-copy span {
    font-size: 0.94rem;
  }

  .services-cta-copy h2 {
    font-size: clamp(1.5rem, 8.2vw, 2rem);
  }

  .services-cta-btn {
    min-height: 48px;
    padding: 0.55rem 1.1rem;
    font-size: 0.98rem;
  }
}
