/* ============================================================
   SECCIÓN — ¿Qué problemas deseas resolver?
   Bloque gris a 2 columnas + botón CTA con gradiente animado.
   ============================================================ */

.GO-problemas {
  position: relative;
  width: 100%;
  padding: 200px 40px;
  background: #ffffff;
  overflow: hidden;
}

.GO-problemas_inner {
  max-width: var(--container-xl);
  margin: 0 auto;
}

/* --------------------------------------------
   Título — fuera del bloque gris, con degradado
   -------------------------------------------- */
.GO-problemas_title {
  font-family: var(--font-sans);   /* fallback si Geist no está cargada */
  font-size: clamp(20px, 4.5vw, 40px);              /* ✔ antes: clamp(10px, 2vw, 50px) — mínimo ilegible */
  font-weight: 700;                                  /* ✔ único valor, eliminado el placeholder <weight> */
  margin: 0 0 25px 0;
  line-height: 1.05;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #838282 0%, #70dacf 25%, #acadad 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  font-optical-sizing: auto;
  font-style: normal;
}

/* --------------------------------------------
   Bloque gris a 2 columnas
   -------------------------------------------- */
.GO-problemas_block {
  background: #e6e6e6;
  border-radius: 4px;
  padding: 80px 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

/* — Columna izquierda: texto + botón — */
.GO-problemas_left {
  flex: 0 0 50%;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.GO-problemas_text {
  font-size: 17px;
  line-height: 1.55;
  color: var(--go-ink);
  margin: 0 0 22px 0;
  max-width: 420px;
}

.GO-problemas_text:last-of-type {
  margin-bottom: 40px;
}

.GO-problemas_text strong {
  font-weight: 600;
  color: var(--go-ink);
}

/* — Columna derecha: ilustración — */
.GO-problemas_right {
  flex: 0 0 50%;
  max-width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.GO-problemas_img {
  width: 100%;
  max-width: 560px;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ============================================
   BOTÓN CTA — "Hablar con un asesor"
   Glass iOS + gradiente animado + flecha al hover
   ============================================ */
.GO-problemas_cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 300px;
  height: 64px;
  border-radius: 60px;
  overflow: hidden;
  text-decoration: none;
  background: #ffffff;
  margin-top: 8px;
  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.10),
    0 4px 10px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.4s var(--ease-smooth),
    box-shadow 0.4s ease;
  isolation: isolate;
}

.GO-problemas_cta:hover {
  transform: translateY(-3px);
  box-shadow:
    0 22px 45px rgba(0, 0, 0, 0.14),
    0 8px 16px rgba(0, 0, 0, 0.08);
}

/* Gradiente animado de fondo */
.GO-problemas_cta_gradient {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 1;
  background:
    radial-gradient(circle at 30% 30%, #BCCF00 0%, transparent 45%),
    radial-gradient(circle at 75% 40%, #00A29E 0%, transparent 50%),
    radial-gradient(circle at 60% 80%, #BCCF00 0%, transparent 50%),
    radial-gradient(circle at 40% 65%, #ffd6a5 0%, transparent 45%);
  background-size: 200% 200%;
  background-position: 0% 50%;
  filter: blur(12px) saturate(1.5);
  opacity: 0.75;
  animation: GO_problemas_cta_gradient 8s ease-in-out infinite;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

@keyframes GO_problemas_cta_gradient {
  0%   { background-position: 0% 50%;   transform: scale(1)    rotate(0deg);  }
  25%  { background-position: 100% 50%; transform: scale(1.1)  rotate(8deg);  }
  50%  { background-position: 100% 100%; transform: scale(1.05) rotate(-5deg); }
  75%  { background-position: 0% 100%;  transform: scale(1.1)  rotate(6deg);  }
  100% { background-position: 0% 50%;   transform: scale(1)    rotate(0deg);  }
}

.GO-problemas_cta:hover .GO_problemas_cta_gradient {
  animation-play-state: paused;
  opacity: 1;
}

/* Brillo interior tipo iOS */
.GO-problemas_cta::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 2;
  pointer-events: none;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.9),
    inset 0 -2px 6px rgba(255, 255, 255, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.GO-problemas_cta_content {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--go-ink);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* Flecha oculta a la izquierda */
.GO-problemas_cta_icon {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%) translateX(-16px);
  opacity: 0;
  width: 20px;
  height: 20px;
  color: var(--go-ink);
  transition:
    opacity 0.45s var(--ease-smooth),
    transform 0.45s var(--ease-smooth);
  pointer-events: none;
}

.GO-problemas_cta_text {
  display: inline-block;
  transform: translateX(0);
  transition: transform 0.45s var(--ease-smooth);
  white-space: nowrap;
}

.GO-problemas_cta:hover .GO_problemas_cta_icon {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.GO-problemas_cta:hover .GO_problemas_cta_text {
  transform: translateX(14px);
}

/* --------------------------------------------
   Responsive
   -------------------------------------------- */
@media (max-width: 992px) {
  .GO-problemas {
    padding: 70px 24px;
  }

  .GO-problemas_block {
    flex-direction: column;
    padding: 60px 40px;
    gap: 40px;
  }

  .GO-problemas_left,
  .GO-problemas_right {
    flex: 1 1 100%;
    max-width: 100%;
    width: 100%;
  }

  .GO-problemas_right {
    order: -1;                    /* la imagen pasa arriba en móvil */
  }

  .GO-problemas_img {
    max-width: 420px;
  }
}

@media (max-width: 600px) {
  .GO-problemas {
    padding: 50px 16px;
  }

  .GO-problemas_block {
    padding: 40px 24px;
    border-radius: 12px;
  }

  .GO-problemas_title {
    margin-bottom: 30px;
  }

  .GO-problemas_text {
    font-size: 15px;
    max-width: 100%;
  }

  .GO-problemas_cta {
    width: 100%;
    max-width: 280px;
    height: 58px;
  }

  .GO-problemas_img {
    max-width: 320px;
  }
}
