/* ==========================================================
   Qué hacemos
   ========================================================== */
.section-what-we-do {
  overflow: hidden;
  background: var(--bg);
}

.section-what-we-do .q-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../../images/hero-lab.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  filter: blur(3px);
  opacity: 0.16;
}

.section-what-we-do .q-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(247, 248, 249, 0.97) 0%,
    rgba(247, 248, 249, 0.92) 48%,
    rgba(247, 248, 249, 0.76) 100%
  );
}

.what-we-do-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
  width: 100%;
  padding-top: 64px;
  padding-bottom: 64px;
}

.what-we-do-title {
  max-width: 18ch;
  margin-bottom: 1.75rem;
  font-size: clamp(2rem, 3.6vw, 3.6rem);
  line-height: 1.08;
}

.what-we-do-lead {
  max-width: 34rem;
  margin-bottom: 0;
  color: var(--muted);
}

.what-we-do-capabilities {
  display: flex;
  flex-direction: column;
}

.capability {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.25rem;
  padding: 1.8rem 0;
  border-top: 1px solid rgba(17, 19, 23, 0.1);
}

.capability:last-child {
  border-bottom: 1px solid rgba(17, 19, 23, 0.1);
}

.capability-number {
  padding-top: 0.25rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #6f9255;
}

.capability .h3 {
  margin-bottom: 0.55rem;
}

.capability .p {
  max-width: 36rem;
  margin-bottom: 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--muted);
}

@media (max-width: 960px) {
  .what-we-do-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .what-we-do-title {
    max-width: 22ch;
  }

  .capability {
    padding: 1.4rem 0;
  }
}

@media (max-height: 780px) and (min-width: 961px) {
  .what-we-do-layout {
    gap: 3.5rem;
    padding-top: 38px;
    padding-bottom: 38px;
  }

  .what-we-do-title {
    margin-bottom: 1.1rem;
    font-size: clamp(2rem, 3.2vw, 3.25rem);
  }

  .what-we-do-lead {
    font-size: 1.05rem;
  }

  .capability {
    padding: 1.15rem 0;
  }

  .capability .p {
    font-size: 1rem;
  }
}
