/* ============================================
   EL PROBLEMA QUE RESOLVEMOS — BOCETO
   Pendiente: composición de la imagen derecha. Estructura y texto
   ya maquetados; falta terminar de definir el bloque visual.
   ============================================ */

.problema {
  padding-block: 72px;
  background-color: #FFF1EC;
}

.problema__inner {
  /* Texto + imagen tratados como UNA caja, centrada en el bloque, con
     aire a los lados en pantallas anchas (no estirada a los 1600px
     completos del .container). */
  max-width: 1200px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.problema__text {
  max-width: 560px;
}

.problema__eyebrow {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-brand-accent);
  margin-bottom: 12px;
}

.problema__heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.2;
  color: var(--color-text-dark);
  margin-bottom: 16px;
}

.problema__description {
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.55;
  color: var(--color-text-muted);
  margin-bottom: 14px;
}

.problema__description:last-child {
  margin-bottom: 0;
}

.problema__description--highlight {
  color: var(--color-brand-teal);
  font-weight: 600;
}

/* --- Placeholder de la imagen derecha (boceto, pendiente) --- */
.problema__media--placeholder {
  min-height: 380px;
  border: 2px dashed var(--color-border-header);
  border-radius: var(--radius-md);
  background: repeating-linear-gradient(
    135deg,
    rgba(167, 58, 0, 0.04),
    rgba(167, 58, 0, 0.04) 10px,
    transparent 10px,
    transparent 20px
  );
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
}

.problema__placeholder-label {
  font-family: var(--font-text);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted);
  max-width: 320px;
  line-height: 1.5;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 900px) {
  .problema {
    padding-block: 64px;
  }

  .problema__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .problema__text {
    max-width: none;
  }

  .problema__media--placeholder {
    min-height: 260px;
  }
}
