/* ================= Section 3: Developer-Direct 2-Column Clean Photos ================= */
.dev-sec {
  background: #ffffff;
  padding: 88px 0 132px;
  scroll-margin-top: 72px;
  overflow-x: clip;
}

.dev-sec__inner {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.dev-sec__head {
  text-align: left;
}

.dev-sec__title {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  font-size: 29px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.032em;
  color: #191f28;
  word-break: keep-all;
}

.dev-sec__em {
  display: inline;
  font-size: 44px;
  line-height: 1.12;
  letter-spacing: -0.038em;
}

.dev-sec__red-circle {
  position: relative;
  display: inline-block;
  padding: 2px 12px 4px;
  margin: 0 2px;
  z-index: 1;
}

.dev-sec__circle-svg {
  position: absolute;
  inset: -8px -10px -9px -10px;
  width: calc(100% + 20px);
  height: calc(100% + 17px);
  pointer-events: none;
  z-index: -1;
  overflow: visible;
}

/* 2 Separate Rounded Photos Side-by-Side */
.dev-sec__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 34px;
}

.dev-card__media {
  position: relative;
  margin: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: var(--color-grey-100);
}

.dev-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.dev-card__media:hover img {
  transform: scale(1.025);
}

.dev-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 24px 26px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 42%, rgba(15, 23, 42, 0.74) 100%);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.03em;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.22);
  word-break: keep-all;
  pointer-events: none;
}

/* ================= Responsive ================= */
@media (max-width: 1024px) {
  .dev-sec {
    padding: 76px 0 104px;
  }

  .dev-sec__title {
    font-size: 24px;
  }

  .dev-sec__em {
    font-size: 36px;
  }

  .dev-card__overlay {
    padding: 20px 22px;
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .dev-sec {
    padding: 60px 0 84px;
  }

  .dev-sec__title {
    font-size: 19.5px;
    gap: 5px;
  }

  .dev-sec__em {
    font-size: 27px;
  }

  .dev-sec__grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 24px;
  }

  .dev-card__media {
    border-radius: 16px;
  }

  .dev-card__overlay {
    padding: 18px 20px;
    font-size: 18px;
  }
}
