/* ==========================================================================
   Services Section — Interactive Spotlight Rows, Deliverable Chips, Action Pills
   ========================================================================== */

.services {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 11vw, 150px) 0 clamp(70px, 9vw, 130px);
}

.services__inner {
  position: relative;
  z-index: 2;
}

/* --- Header Box ---------------------------------------------------------- */

.services__header-box {
  text-align: center;
  max-width: 780px;
  margin: 0 auto clamp(48px, 7vw, 84px);
}

.services__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.services__eyebrow-line {
  width: 28px;
  height: 2px;
  background: var(--pill);
  border-radius: 2px;
}

.services__eyebrow-text {
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5b21f0;
}

.services__title {
  font-size: clamp(48px, 8.5vw, 130px);
  text-align: center;
  letter-spacing: -0.025em;
  text-shadow: 3px 4px 0 rgba(0, 0, 0, 0.15);
  margin: 0;
  line-height: 1.02;
}

.services__title:not(.is-filled) {
  text-shadow: none;
}

.services__subtitle {
  margin: 20px auto 0;
  font-size: clamp(15px, 1.2vw, 18px);
  color: #4a5452;
  line-height: 1.7;
  font-weight: 400;
}

/* --- Services List & Rows ------------------------------------------------ */

.services__list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.services__row {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: start;
  gap: 36px;
  padding: clamp(28px, 4vw, 42px) clamp(24px, 4vw, 44px);
  background: rgba(255, 255, 255, 0.75);
  border: 1.5px solid rgba(10, 10, 10, 0.08);
  border-radius: 26px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  transform-style: preserve-3d;
  will-change: transform;
}

.services__row:hover {
  transform: translateY(-5px) scale(1.008);
  background: #ffffff;
  border-color: rgba(255, 56, 198, 0.38);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.09), 0 0 35px rgba(255, 56, 198, 0.1);
}

/* Dynamic Cursor-Following Spotlight Beam */
.services__spotlight {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  background: radial-gradient(
    450px circle at var(--mouse-x, -500px) var(--mouse-y, -500px),
    rgba(255, 56, 198, 0.1) 0%,
    rgba(91, 33, 240, 0.05) 40%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.services__row:hover .services__spotlight {
  opacity: 1;
}

/* --- Left Column: Number & Tag ------------------------------------------- */

.services__col-num {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.services__num {
  font-size: clamp(48px, 5vw, 76px);
  line-height: 0.95;
  color: var(--ink);
  letter-spacing: -0.03em;
  font-weight: 400;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.services__row:hover .services__num {
  transform: translateX(4px) scale(1.05);
  background: var(--pill);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.services__tag-pill {
  display: inline-block;
  width: fit-content;
  font-family: var(--font-label);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.05);
  border: 1px solid rgba(10, 10, 10, 0.1);
  color: #4a5452;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.services__row:hover .services__tag-pill {
  background: rgba(91, 33, 240, 0.1);
  border-color: rgba(91, 33, 240, 0.25);
  color: #5b21f0;
}

/* --- Right Column: Body & Deliverables ------------------------------------ */

.services__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.services__title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.services__name {
  margin: 0;
  font-family: var(--font-label);
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.2;
  transition: color 0.3s ease;
}

.services__row:hover .services__name {
  color: #000000;
}

/* Action Pill */
.services__action-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-label);
  font-size: 11.5px;
  font-weight: 700;
  color: #5b21f0;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(91, 33, 240, 0.08);
  border: 1px solid rgba(91, 33, 240, 0.18);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.services__row:hover .services__action-pill {
  opacity: 1;
  transform: translateX(4px);
  background: var(--pill);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(255, 47, 160, 0.35);
}

.services__desc {
  margin: 0;
  max-width: 820px;
  font-size: clamp(14.5px, 1.15vw, 17px);
  font-weight: 400;
  line-height: 1.7;
  color: #384240;
  letter-spacing: 0.01em;
}

/* Deliverable Chips */
.services__chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.services__chip {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.04);
  border: 1px solid rgba(10, 10, 10, 0.09);
  color: #4a5452;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.services__row:hover .services__chip {
  background: rgba(10, 10, 10, 0.07);
  border-color: rgba(10, 10, 10, 0.15);
  color: #1a2220;
}

.services__chip:hover {
  transform: translateY(-2px);
  background: #0a0a0a !important;
  color: #ffffff !important;
  border-color: #0a0a0a !important;
}

/* --- Responsive Adaptations ---------------------------------------------- */

@media (max-width: 991px) {
  .services__row {
    grid-template-columns: 110px 1fr;
    gap: 24px;
    padding: 28px 24px;
  }

  .services__num {
    font-size: 46px;
  }
}

@media (max-width: 719px) {
  .services {
    padding: 60px 0 80px;
  }

  .services__header-box {
    margin-bottom: 36px;
  }

  .services__row {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 22px 20px;
    border-radius: 20px;
  }

  .services__col-num {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .services__num {
    font-size: 38px;
  }

  .services__name {
    font-size: 18px;
  }

  .services__desc {
    font-size: 14px;
    line-height: 1.6;
  }

  .services__chips {
    gap: 6px;
  }

  .services__chip {
    font-size: 10.5px;
    padding: 3px 10px;
  }
}

