/* ─── Services Section ─── */
.section-services {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 50px;
  background: var(--color-black);
  overflow: hidden;
}

/* ─── Background image (full cover) ─── */
.section-services__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
}

/* ─── Inner ─── */
.section-services__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

/* ─── Intro paragraph ─── */
.section-services__intro {
  font-family: var(--font-display);
  font-size: 45px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--color-white);
  margin: 0;
  width: 100%;
}

/* ─── Bottom: label + cards ─── */
.section-services__bottom {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
}

/* ─── Header: "MY SERVICES" + divider ─── */
.section-services__header {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

.section-services__label {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 500;
  color: var(--color-white);
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.section-services__line {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
}

/* ─── Cards row ─── */
.section-services__cards {
  display: flex;
  gap: 20px;
  height: 530px;
  align-items: stretch;
  width: 100%;
}

/* ─── Individual card ─── */
.section-services__card {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 30px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  opacity: 0.3;
  cursor: pointer;
  transition: opacity 0.45s var(--ease-out);
}

.section-services__card.is-active {
  opacity: 1;
  justify-content: space-between;
}

/* ─── Card title ─── */
.section-services__card-title {
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 500;
  color: var(--color-white);
  text-transform: uppercase;
  line-height: 1.5;
  flex-shrink: 0;
}

/* ─── Card items list — hidden on inactive ─── */
.section-services__card-items {
  display: flex;
  flex-direction: column;
}

.section-services__card:not(.is-active) .section-services__card-items,
.section-services__card:not(.is-active) .section-services__card-desc {
  display: none;
}

.section-services__card-items span {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--color-white);
  text-transform: uppercase;
  line-height: 1.5;
}

/* ─── Card description ─── */
.section-services__card-desc {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--color-white);
  line-height: 1.5;
  margin: 0;
  flex-shrink: 0;
}

/* ─── Responsive ─── */
@media (max-width: 1280px) {
  .section-services__intro { font-size: 36px; }
  .section-services__card-title { font-size: 24px; }
  .section-services__card-desc { font-size: 17px; }
}

@media (max-width: 1024px) {
  .section-services {
    padding: 80px 30px;
    min-height: auto;
  }

  .section-services__cards {
    height: auto;
    flex-direction: column;
  }

  .section-services__card {
    min-height: 100px;
  }

  .section-services__card.is-active {
    min-height: 400px;
  }

  .section-services__intro { font-size: 28px; }
}

@media (max-width: 768px) {
  .section-services { padding: 60px 20px; }
  .section-services__intro { font-size: 22px; }
  .section-services__card-title { font-size: 20px; }
  .section-services__card-items span { font-size: 15px; }
  .section-services__card-desc { font-size: 15px; }
}
