/* ─── CTA ─── */
.cta {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 4vw;
  box-sizing: border-box;
}

/* ─── Link ─── */
.cta-link {
  font-family: var(--font-main);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0em;
  text-transform: uppercase;
  color: #000000;
  text-decoration: none;
}

.cta-link span {
  position: relative;
}

.cta-link span::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.35s ease;
}

.cta-link:hover { color: #0006CF; }
.cta-link:hover span::after { width: 100%; }

/* ─── Imagen con hover ─── */
.cta-img-wrap {
  position: relative;
  display: block;
  width: calc((100vw - 8vw) * 0.58);
  overflow: hidden;
  cursor: pointer;
}

.cta-img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.6s ease;
}

.cta-img-wrap:hover .cta-img {
  transform: scale(1.06);
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.cta-img-wrap:hover .cta-overlay {
  opacity: 1;
}

.cta-overlay-texto {
  font-family: var(--font-main);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  text-align: center;
}

/* ─── Responsive ─── */
@media (max-width: 767px) {
  .cta-img-wrap {
    width: calc(100vw - 8vw);
  }

  .cta-overlay {
    opacity: 1;
  }

  .cta-overlay-texto {
    font-size: 1rem;
  }
}
