/* =========================
   WHAT WE DO / SERVICES
========================= */

.services-section {
  position: relative;
  overflow: hidden;
  padding: 110px 0 76px;
  background:
    radial-gradient(circle at top right, rgba(229, 57, 53, 0.13), transparent 28%),
    linear-gradient(180deg, #070707 0%, #0d0d0d 100%);
  color: #ffffff;
}

.services-container {
  width: min(100% - 96px, 1440px);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.services-bg-word {
  position: absolute;
  top: -55px;
  left: 48px;
  font-size: clamp(120px, 18vw, 300px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -8px;
  color: rgba(255, 255, 255, 0.025);
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  margin-bottom: 34px;
}

.services-heading-block {
  max-width: 780px;
}

.services-eyebrow {
  display: inline-block;
  margin-bottom: 24px;
  color: #e53935;
  font-size: 15px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 5px;
  text-transform: uppercase;
}

.services-eyebrow::after {
  content: "";
  display: block;
  width: 76px;
  height: 3px;
  background: #e53935;
  margin-top: 18px;
}

.services-heading-block h2 {
  margin: 0 0 26px;
  max-width: 650px;
  font-size: clamp(40px, 4vw, 62px);
  line-height: 0.98;
  letter-spacing: -2px;
  font-weight: 900;
  color: #ffffff;
}

.services-heading-block h2 span {
  display: block;
}

.services-heading-block p {
  margin: 0;
  max-width: 720px;
  color: rgba(255,255,255,0.72);
  font-size: 17px;
  line-height: 1.65;
}

.services-logo img {
  width: 170px;
  height: auto;
  opacity: 0.95;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 52px;
}

.service-card {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border-radius: 7px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(229,57,53,0.55);
  box-shadow: 0 18px 45px rgba(0,0,0,0.35);
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.service-card:hover {
  transform: translateY(-6px);
}

.service-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: right center;
  opacity: 0.34;
  filter: saturate(0.9) contrast(1.1);
  transition: opacity 0.3s ease, transform 0.4s ease;
}

.service-card:hover .service-card-bg {
  opacity: 0.48;
  transform: scale(1.04);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.78) 48%, rgba(0,0,0,0.34) 100%),
    radial-gradient(circle at top left, rgba(229,57,53,0.16), transparent 34%);
  z-index: 1;
}

.service-card::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 22px;
  width: 120px;
  height: 120px;
  opacity: 0.12;
  background-image: radial-gradient(currentColor 1px, transparent 1px);
  background-size: 9px 9px;
  color: #ffffff;
  z-index: 2;
}

.service-card-content {
  position: relative;
  z-index: 3;
  min-height: 230px;
  padding: 22px 30px 24px;
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 24px;
  align-items: center;
  text-align: center;
}

.service-icon {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #e53935;
  background: rgba(229,57,53,0.16);
  box-shadow: 0 0 28px rgba(229,57,53,0.28);
}

.service-icon svg {
  width: 36px;
  height: 36px;
}

.service-number {
  display: inline-block;
  margin-bottom: 10px;
  color: #e53935;
  font-size: 17px;
  font-weight: 900;
}

.service-text h3 {
  margin: 0;
  color: #ffffff;
  font-size: 25px;
  line-height: 1.05;
  font-weight: 900;
}

.service-arrow {
  position: absolute;
  right: 28px;
  bottom: 22px;
  color: #e53935;
  text-decoration: none;
  font-size: 34px;
  line-height: 1;
  transition: transform 0.25s ease;
}

.service-card:hover .service-arrow {
  transform: translateX(5px);
}

.service-red,
.service-green,
.service-blue {
  --accent: #e53935;
}

.service-green {
  border-color: rgba(46,125,50,0.72);
  --accent: #2e7d32;
}

.service-blue {
  border-color: rgba(0,74,173,0.75);
  --accent: #004aad;
}

.service-green .service-icon,
.service-green .service-number,
.service-green .service-arrow,
.service-blue .service-icon,
.service-blue .service-number,
.service-blue .service-arrow {
  color: var(--accent);
}

.service-green .service-icon {
  background: rgba(46,125,50,0.18);
  box-shadow: 0 0 28px rgba(46,125,50,0.32);
}

.service-blue .service-icon {
  background: rgba(0,74,173,0.2);
  box-shadow: 0 0 28px rgba(0,74,173,0.35);
}

.services-strip {
  margin-top: 34px;
  min-height: 94px;
  padding: 18px 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.16);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03)),
    rgba(255,255,255,0.035);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 42px rgba(0,0,0,0.32);
}

.strip-item {
  min-height: 58px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-right: 1px solid rgba(255,255,255,0.22);
  justify-content: center;
}

.strip-item:last-child {
  border-right: none;
}

.strip-item span {
  font-size: 34px;
  line-height: 1;
}

.strip-item img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex: 0 0 auto;
}

.strip-item strong {
  color: #ffffff;
  font-size: 18px;
  line-height: 1.12;
  font-weight: 800;
}

.strip-item.red span { color: #e53935; }
.strip-item.green span { color: #2e7d32; }
.strip-item.blue span { color: #004aad; }

.service-hidden {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-hidden.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .services-container {
    width: min(100% - 48px, 900px);
  }

  .services-header {
    flex-direction: column;
    gap: 34px;
  }

  .services-logo img {
    width: 140px;
  }

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

  .services-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
  }

  .strip-item {
    min-height: 66px;
    padding: 14px 12px;
    border-right: 1px solid rgba(255,255,255,0.16);
    border-bottom: 1px solid rgba(255,255,255,0.16);
    border-radius: 10px;
    background: rgba(255,255,255,0.03);
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 8px;
  }

  .strip-item:nth-child(2n) {
    border-right: none;
  }

  .strip-item:nth-last-child(-n + 2) {
    border-bottom: none;
  }

  .strip-item img {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 760px) {
  .services-section {
    padding: 82px 0 58px;
  }

  .services-container {
    width: min(100% - 24px, 520px);
  }

  .services-bg-word {
    top: -20px;
    left: 18px;
    font-size: 90px;
    letter-spacing: -3px;
  }

  .services-eyebrow {
    font-size: 12px;
    letter-spacing: 3px;
    margin-bottom: 20px;
  }

  .services-heading-block h2 {
    max-width: 100%;
    font-size: 34px;
    line-height: 1.02;
    letter-spacing: -1px;
  }

  .services-heading-block p {
    font-size: 15.5px;
    line-height: 1.6;
  }

  .services-logo {
    display: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .service-card {
    min-height: 240px;
  }

  .service-card-content {
    min-height: 240px;
    grid-template-columns: 62px 1fr;
    gap: 18px;
    padding: 24px 22px;
  }

  .service-icon {
    width: 54px;
    height: 54px;
  }

  .service-icon svg {
    width: 30px;
    height: 30px;
  }

  .service-text h3 {
    font-size: 23px;
  }

  .service-text p {
    font-size: 14.5px;
    max-width: 100%;
  }

  .service-arrow {
    right: 22px;
    bottom: 18px;
  }

  .strip-item strong {
    font-size: 13px;
  }
}
